Chapter 1

Using Java Web Start


check Using Java Web Start to launch Java applications from a web page

check Creating a JNLP file to enable Java Web Start for an application

check Crafting a Java Web Start HTML file

check Changing security settings to allow Java Web Start

Java Web Start is a way to deploy Java applications via a web page. The web page can reside on the Internet or on a local company intranet. Either way, Java Web Start allows a user to run a Java program by browsing to a web page and clicking a link.

Java Web Start can only be used to deploy programs that have a graphical user interface (GUI). The best way to develop a GUI program is to use JavaFX, as described in Book 6. You can also deploy GUI programs developed using Swing, an older method of creating GUI programs that isn’t covered in this book.

In this chapter, you learn how to deploy a simple JavaFX application via Java Web Start.

Looking at a Simple JavaFX Program

The JavaFX application used to illustrate Java Web Start is called ClickMe. When run, it simply displays the dialog box shown in Figure 1-1. As you can ...

Get Java All-in-One For Dummies, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.