Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
APPX Desktop Client Launched via Java Web Start | ||||||||
Line: 6 to 6 | ||||||||
Overview | ||||||||
Changed: | ||||||||
< < | When you publish the APPX Desktop Client using Java Web Start technology you ensure the most current version of the application will be deployed, as well as the correct version of the Java Runtime Environment (JRE). Since the APPX Desktop Client will only be configured on the web server, you will not need to install the client on each desktop in your enterprise, just have the user base run the application for a published URL. This document applies to APPX Desktop Client version 5.0.4 and above. These instructions do not require any APPX server configuration other than an APPX Login Manager configured to accept logins. APPX server on any platform may be connected to via the client when launched with Java Web Start. The size of the APPX Java Web Start bundle is about 1.3 MB. When the APPX Desktop Client is run for the first time, Java Web Start will download the entire package; the next time it will check only for modified jar files (an upgrade) and download them. If this is not the case, the application will start immediately. | |||||||
> > | When you publish the APPX Desktop Client using Java Web Start technology you ensure the most current version of the application will be deployed, as well as the correct version of the Java Runtime Environment (JRE). Since the APPX Desktop Client will only be configured on the web server, you will not need to install the client on each desktop in your enterprise, just have the user base run the application for a published URL. This document applies to APPX Desktop Client version 5.2.2. These instructions do not require any APPX server configuration other than an APPX Login Manager configured to accept logins. APPX server on any platform may be connected to via the client when launched with Java Web Start. The size of the APPX Java Web Start bundle is about 18 MB. When the APPX Desktop Client is run for the first time, Java Web Start will download the entire package; the next time it will check only for modified jar files (an upgrade) and download them. If this is not the case, the application will start immediately. | |||||||
Required software componentsAPPX Desktop Client Java Web Start Bundle | ||||||||
Changed: | ||||||||
< < | You can get the APPX Desktop Client Java Web Start Bundle from here for Unix or Linux or here for Windows. | |||||||
> > | You can get the APPX Desktop Client Java Web Start Bundle from here for Unix or Linux or here for Windows. | |||||||
APPX Server | ||||||||
Line: 43 to 43 | ||||||||
Changed: | ||||||||
< < | [joe@webserver /]$ *cd /var/www/html* [joe@webserver /]$ *sudo wget http://www.appx.com/ftp/appx/products/appx/client/5.0.4/java_web.tgz* [joe@webserver html]$ | |||||||
> > | [joe@webserver /]$ *cd /var/www/html* [joe@webserver /]$ <strong>sudo wget http://www.appx.com/ftp/appx/products/appx/client/5.2.2/java_web.tgz </strong>[joe@webserver html]$ | |||||||
| ||||||||
Changed: | ||||||||
< < | [joe@webserver html]$ *sudo tar xzvf java_web.tgz* | |||||||
> > | [joe@webserver html]$ *sudo tar -xzvf java_web.tgz* | |||||||
Changed: | ||||||||
< < | appx/ appx/appx32.gif appx/README.txt appx/INSTALL.txt appx/appx.html appx/splash.gif appx/APPXLaunchButton.png appx/appx-small.png appx/appx-nativelib.jar appx/appx.jar appx/appx.jnlp | |||||||
> > |
| |||||||
Changed: | ||||||||
< < | [joe@webserver html]$ *ls -la* | |||||||
> > | [joe@webserver html]$ *ls -la* | |||||||
Changed: | ||||||||
< < | total 1216 | |||||||
> > | total 1216 | |||||||
drwxr-xr-x 3 root root 4096 Mar 4 14:27 . drwxr-xr-x 10 root root 4096 Jun 26 2007 .. | ||||||||
Changed: | ||||||||
< < | drwxrwxrwx 2 root root 4096 Mar 3 14:40 appx -rw-r--r-- 1 root root 1233805 Mar 4 14:27 java_web.tgz | |||||||
> > | drwxr-xr-x 3 root root 4096 Feb 21 13:07 appx -rw-r--r-- 1 root root 17038663 Feb 21 13:20 java_web.tgz | |||||||
Changed: | ||||||||
< < | [joe@webserver html]$ *cd appx* [joe@webserver appx]$ *ls* | |||||||
> > | [joe@webserver html]$ *cd appx* [joe@webserver appx]$ *ls* | |||||||
Changed: | ||||||||
< < | appx32.gif appx.html appx.jar appx.jnlp APPXLaunchButton.png appx-small.png appx-nativelib.jar INSTALL.txt README.txt splash.gif | |||||||
> > | total 1372 drwxr-xr-x 3 root root 4096 Feb 21 13:07 . drwxr-xr-x 3 root root 4096 Feb 21 13:20 .. -r-xr-xr-x 1 root root 139 Jan 9 10:07 appx32.gif -r-xr-xr-x 1 root root 3688 Jan 14 15:23 appx32.png -r-xr-xr-x 1 root root 4342 Feb 21 12:41 appx.css -r-xr-xr-x 1 root root 1314083 Jan 10 17:22 appx.jar -r-xr-xr-x 1 root root 5732 Feb 21 13:04 appx.jnlp -r-xr-xr-x 1 root root 16233 Jan 9 10:07 appx-small.png -r-xr-xr-x 1 root root 2073 Jan 14 15:29 arrow.gif -r-xr-xr-x 1 root root 708 Jan 9 10:07 downloadbutton.gif -r-xr-xr-x 1 root root 3514 Feb 21 12:54 index.html -r-xr-xr-x 1 root root 15 Jan 9 10:07 INSTALL.txt dr-xr-xr-x 2 root root 4096 Feb 21 12:58 lib -r-xr-xr-x 1 root root 369 Feb 21 13:07 README.txt -r-xr-xr-x 1 root root 15402 Jan 9 10:07 splash.png | |||||||
APPX Desktop Client Web Start Bundle Componentsappx32.gifThe appx32.gif file is the file used as an application runtime icon. It is referenced by the appx.jnlp file that we review later in this document. | ||||||||
Added: | ||||||||
> > | appx32.pngThe appx32.png file is the file used in a popup in the index.html file that we review later in this document.appx.cssThe appx.css contains css formatting and is referenced in the index.html file that we review later in this document. | |||||||
README.txtREADME.txt contains the following very brief instructions to the reader. | ||||||||
Changed: | ||||||||
< < | Place these files in a directory named /appx/ off your web server's webroot. You need to change three items, all references to www.example.com to read your site URL: In appx.html appx.html: ---> var url = "http://www.example.com/appx/appx.jnlp"; appx.html: ---> deployJava.launchButtonPNG = "http://www.example.com/appx/APPXLaunchButton.png"; | |||||||
> > | Place these files on your web server. | |||||||
Added: | ||||||||
> > | You need to change one item, replace appxjwsclient.example.com with the hostname and URL to the location of your files. | |||||||
In appx.jnlp: | ||||||||
Changed: | ||||||||
< < | appx.jnlp: ---> | |||||||
> > | codebase="http://appxjwsclient.example.com/" | |||||||
Changed: | ||||||||
< < | INSTALL.txt | |||||||
> > | Please see our Wiki at http://wiki.appx.com/wiki/bin/view/Main/LaunchingAPPXDesktopClientFromWebPageViaJavaWebstart for further documentation. | |||||||
Deleted: | ||||||||
< < | INSTALL.txt points the reader to README.txt | |||||||
appx.htmlThe appx.html file exists only to provide the user with a link to click the appx.jnlp file. It is not technically needed because if someone entered the path to the jnlp file the application would launch just the same as if the jnlp file had been clicked from a link in the html file. Let's take a look at the appx.html file. This file is just a starter file that you can use to load the .jnlp file. There is a bit of javascript code that attempts to detect if a JRE is installed on the user's desktop for the Java Web Start launch. If the JRE needs to be installed or updated the script will either attempt to update the JRE or present the user with the appropriate link to download the software manually. | ||||||||
Line: 188 to 233 | ||||||||
[joe@webserver appx]$ *cat appx.jnlp* <?xml version="1.0" encoding="utf-8"?> | ||||||||
Deleted: | ||||||||
< < | <-- JNLP File for APPX Desktop Client 5.0.4 --> | |||||||
<-- JNLP File for APPX Desktop Client --> | ||||||||
Changed: | ||||||||
< < | <-- example JNLP file that will launch the APPX Desktop Client 5.0.4 --> <-- where the jnlp file lives on the web --> | |||||||
> > | <jnlp spec="6.0+" codebase="http://appxjwsclient.example.com/" href="appx.jnlp"> | |||||||
| ||||||||
Changed: | ||||||||
< < | | |||||||
> > | | |||||||
| ||||||||
Changed: | ||||||||
< < | <-- hover help for this app. --> <-- This is the APPX Desktop Client application icon and splash screen. --> <-- relative to codebase --> | |||||||
> > | | |||||||
| ||||||||
Changed: | ||||||||
< < | <-- allow app to run without Internet access --><offline-allowed /> | |||||||
> > | <-- <offline-allowed/> --> | |||||||
Deleted: | ||||||||
< < |
<-- The APPX Desktop Client requires the all-permissions value for the security element --> | |||||||
| ||||||||
Changed: | ||||||||
< < |
<-- Acceptable JVMs in preferred order, best first --> <-- Sun JVM --> | |||||||
> > | | |||||||
| ||||||||
Deleted: | ||||||||
< < | <-- This swing.noxp value prevents a "look and feel" issue on Vista --> | |||||||
| ||||||||
Changed: | ||||||||
< < | <-- application code, load before launch. JNLP 1.6 main="true" indicates jar with main class --> | |||||||
> > | | |||||||
Deleted: | ||||||||
< < |
<-- application class with main method --> <-- This is the section where you would add startup parameters for the APPX --> <-- Desktop Client. Items such as TCP port number, initial window size etc --> | |||||||
<application-desc main-class="start.Appx"> | ||||||||
Changed: | ||||||||
< < | <-- command line arguments --> | |||||||
> > | <-- <-- <-- <-- <-- <-- <-- <-- <-- | |||||||
</application-desc> | ||||||||
Added: | ||||||||
> > | | |||||||
[joe@webserver appx]$ | ||||||||
Line: 249 to 386 | ||||||||
appx.jnlp modificationsYou should change the following URL value in your appx.jnlp file to match your site. | ||||||||
Changed: | ||||||||
< < | codebase=" http://www.example.com/appx " href="appx.jnlp" | |||||||
> > | | |||||||
Towards the end of the appx.jnlp file, notice the application-desc elements with argument attributes of -windowTitle, -remoteHost ... You can add any APPX Desktop Client startup parameter that you normally find when you select Options, Advanced upon initially starting the APPX Desktop Client. |