Oracle announced that Java Oracle announced that the Java Applet and WebStart Web Start functionality, including the Applet API, The Java plug-in, the Java Applet Viewer, JNLP and Java Web Start including the javaws toolare 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 Launcher to deploy and run nexaweb Nexaweb web applicationapplications.
This step-by-step guide shows how to perform the migration of Nexaweb application to Nexaweb launcher
Prerequisites:
...
.
...
...
Step-by-step guide
To deploy a Nexaweb application using Nexaweb Launcher, the recommended approach is using Nexaweb Standalone Client, here are the steps:
Info |
---|
|
Prerequisites:
- Nexaweb Platform with version 4.5.66 or higher
- Nexaweb Launcher Installer
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 run.nexaweb file for launching nexaweb launching Nexaweb web application.
The way to nexaweb create Nexaweb web application is by using a a run.nexaweb ( nexaweb Nexaweb Launching Protocol) file deployed on the server, when user type the url . When the user types the URL of a nexaweb Nexaweb file in the browser, the Windows application will detect that the response is nexaweb a Nexaweb file and it will launch start Nexaweb launcher to load the Web Start application according to the setting in the nexaweb Nexaweb file. So a nexaweb Nexaweb file needs to be created for the Nexaweb application.
- Download the latest version nexaweb platform( greater than of Nexaweb Platform (4.5.65.0009 or later) and installed it on the Serverinstall it on the server
- Download and install Nexaweb Launcher on the client machine.
- Create a new Nexaweb application project with the 4.5.65.0999 or the later version platformcopy NexawebImages
- Copy NexawebImages.jar, NexawebStandaloneClient.jar, and all other jars to WebContent directory as below:
Note Note: You can find NexawebStandaloneClient.jar and NexawebImages.jar in the bin directory where Nexaweb Platform is installed
d. Edit web.xml to add runNexaweb jsp runNexaweb JSP and /runNexaweb url URL mapping as below:
d1. At line #62:
...
d2. At line #109: #109
<servlet <servlet-mapping>
<servlet-name>RunNexaweb</servlet-name>
<url-pattern>/runNexaweb</url-pattern>
</servlet-mapping>
e. Run the project as web server and go to the URL: http://localhost:8080/nxRunNexaweb/runNexaweb , and save run.nexaweb nexaweb
2. Digest the jars and create digest.txt and digest2.txt and upload them to the nexaweb application
Nexaweb launcher uses Getdown’s digester to generate jar’s digest and use the digest to check if it needs to download a new version jar file or not. So the users need to digest all jars the web application needed and put them in the same directory with GetDown.txt which is just the same file run.nexaweb in a different name. After generating the digest files, they need to be added into WebContent directory too as the jars.
a. Down load Download digesters jar: getdown-1.7.1-SNAPSHOT.jar from nexaweb download sitejar - can be found in Nexaweb Launcher installation directory
b. Create a digester "digesters" directory and copy run.nexaweb at the step #d2 into it and change its name to "getdown.txt" (Note: please check if the file extension is .txt after change changing the name )
c. Copy NexawebImages.jar, and NexawebStandaloneClient.jar in the digesters direcotydirectory
d. Copy all jars other than above jars in the ClientClassLoader directory, and the digester the digesters directory looks as below:
...
Note: whenever the jar files are changed, they need to be re-digested
3. Install the nexaweb launcher Nexaweb Launcher on the client machine and Launch the nexaweb Nexaweb web application
a. Download NexawebLauncherInstallDownload NexawebLauncherInstall.exe from nexaweb Nexaweb download sitepage
b. Install the nexaweb launcher to Nexaweb Launcher in the client machine
c. open the URL http://localhost:8080/nxRunNexaweb/runNexaweb , and save it as run.nexaweb
d. Double click run.nexweb to launch nexaweb the Nexaweb web application
Related articles
...