November 26, 2014
Hot Topics:

Deploying Rich Internet Applications in Mixed Environments: An Introduction to the Java Deployment Toolkit

  • April 12, 2010
  • By Developer.com Staff
  • Send Email »
  • More Articles »

Java Rich Internet Applications (RIAs) are browser-based applications that use Java applets or Java Web Start applications to provide a rich user interface. Not all RIAs have the same requirements; for example, an applet may require the latest version of the Java plugin or the Java Runtime Environment (JRE), while a Java Web Start application may require a minimum version of Java Web Start software. The Java Deployment Toolkit (DT) can help ensure your Java RIA can successfully deploy and run in multiple types of environments.

The DT consists of a JavaScript library, an ActiveX control, and a plugin. The ActiveX control (for Microsoft Internet Explorer) and the plugin (for Firefox and other Mozilla-based browsers) are automatically installed with the JRE; they provide native, enhanced implementations of functions in the JavaScript library. If the ActiveX control or plugin is not installed, the corresponding JavaScript function is used instead.

The Deployment Toolkit script, which is available at http://www.java.com/js/deployJava.js, exposes a single object named deployJava, which provides a number of convenient functions, including, among others:

  • getBrowser()
  • getJREs()
  • getPlugin()
  • runApplet(attributes, parameters, minimumVersion)
  • installJRE(requestVersion)
  • installLatestJRE()
  • launch(jnlp)
  • launchWebStartApplication(jnlp)





Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 


Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Sitemap | Contact Us

Rocket Fuel