Home > Articles > Programming > Java

  • Print
  • + Share This
From the author of

Running the Example

Suppose your Web browser is provided with the following URL (or something else depending on your Web server settings):

http://localhost/apps/example.jnlp

This is an usual URL, so you can provide it in your HMTL application page, generate it with JSP, and so on. It points to a JNLP file, as you learned in the first article.

The first thing you notice is a splash window that informs you that the JNLP Client is being activated and is downloading our application. Note that if you don't have it already installed on your client machine, the browser will ask for permission to do so, as with an usual plug-in.

Figure 1 shows the Java Web Start window while the application downloads and installs.

Figure 1 The Java Web Start progress window.

After the application is downloaded and installed, it is launched by the JNLP Client. Finally, your application is running, as shown in Figure 2.

Figure 2 An unexpected application.

Don't forget that you can manage and launch your application from the JNLP Client application manager facility. When using Java Web Start, the application looks like Figure 3.

Figure 3 The app in the Java Web Start manager.

  • + Share This
  • 🔖 Save To Your Account