Chapter 1

Using Java Web Start

IN THIS CHAPTER

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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.