Requirements to Use JavaWS in Web Pages

Q

What are Requirements to Use JavaWS in Web Pages? I want my end users to launch my Java application from my Website.

✍: FYIcenter

A

If you want your end users to launch your Java application from your Website, you need to prepare the following:

1. Tell your end users to download and install JRE (Java Runtime Environment) on their machine.

2. Tell your end users to use a Web browser that is configured to run JNLP files.

3. Publish you application JAR file on your server machine. The application JAR contains all Java classes that are needed to run the application.

4. Create "Launch" button on your Website linking to the application JNLP file on your server machine.

Your end users can then click the "Launch" button to launch the application.

See the next tutorial for a complete example of launching Java application with JavaWS and JNLP.

 

DynamicTreeDemo.html - JavaWS Demo Web Page

Using JavaWS (Java Web Start) in Web Pages

Using JavaWS (Java Web Start) in Web Pages

⇑⇑ FAQ for JavaWS (Java Web Start)

2017-12-31, 1467🔥, 0💬