Oracle announced that the Java Applet and Web Start functionality, including the Applet API, Java plug-in, Java Applet Viewer, JNLP and Java Web Start including the javaws tools are all deprecated in JDK 9 and will be removed in a future release. As an alternative, our customers are recommended to use the Nexaweb Launcher to deploy and run Nexaweb web applications.
This step-by-step guide shows how to perform the migration of Nexaweb application to Nexaweb launcher.
Info |
---|
|
Prerequisites:
...
You can find the installers at the Nexaweb download page.
Step-by-step guide
To deploy a Nexaweb application using Nexaweb Launcher, the recommended approach is to use the Nexaweb Standalone Client. Here are the steps:
- Create a runNexaweb file for launching Nexaweb web application
The way to create Nexaweb web application is by using a runNexaweb (Nexaweb Launching Protocol) file deployed on the server. When the user types the URL of a Nexaweb file in the browser, the application will detect that the response is a Nexaweb file and it will start Nexaweb launcher to load the Web Start application according to the setting in the Nexaweb file. So a Nexaweb file needs to be created for the Nexaweb application.
- Download the latest version of Nexaweb Platform (4.5.65.0009 or later) and install it on the server
- Download and install Nexaweb Launcher on the client machine.
- Create a new Nexaweb application project
- Copy NexawebImages.jar, NexawebStandaloneClient.jar, and all other jars to WebContent directory as below:
...
- Create a custom JVM jar file with name java_windows.jar. It is just a zip file of the jre with the extension jar jar. Rename the jre folder to java_vm before you create jar
2. Change runNexaweb.jsp as the screenshot below shows
3. Follow the same instructions Step-by-step guide→ Digest the jars and create digest.txt and digest2.txt and upload them to the nexaweb application. The digester's directory's structure looks like below
...