Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
APPX Desktop Client Launched via Java Web Start | ||||||||
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 /]$ *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]$
| ||||||||
Changed: | ||||||||
< < | [joe@webserver html]$ sudo tar xzvf java_web.tgz | |||||||
> > | [joe@webserver html]$ *sudo tar xzvf java_web.tgz* | |||||||
appx/ | ||||||||
Line: 66 to 66 | ||||||||
appx/appx.jnlp | ||||||||
Changed: | ||||||||
< < | [joe@webserver html]$ ls -la | |||||||
> > | [joe@webserver html]$ *ls -la* | |||||||
total 1216 | ||||||||
Line: 76 to 76 | ||||||||
-rw-r--r-- 1 root root 1233805 Mar 4 14:27 java_web.tgz | ||||||||
Changed: | ||||||||
< < | [joe@webserver html]$ cd appx [joe@webserver appx]$ ls | |||||||
> > | [joe@webserver html]$ *cd appx* [joe@webserver appx]$ *ls* | |||||||
appx32.gif appx.html appx.jar appx.jnlp APPXLaunchButton.png appx-small.png appx-nativelib.jar INSTALL.txt README.txt splash.gif | ||||||||
Line: 114 to 114 | ||||||||
The 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.
appx.html contents | ||||||||
Changed: | ||||||||
< < | [joe@webserver appx]$ cat appx.html | |||||||
> > | [joe@webserver appx]$ *cat appx.html* | |||||||
| ||||||||
Line: 171 to 171 | ||||||||
This is the initial image displayed while the APPX Desktop Client is loading, it is referenced by name in the appx.jnlp file. | ||||||||
Changed: | ||||||||
< < | APPXLaunchButton.png | |||||||
> > | APPXLaunchButton.png | |||||||
Changed: | ||||||||
< < | APPXLaunchButton.png is an image file that is displayed for the user to click to begin the JRE detection and ultimately start the APPX Desktop Client. | |||||||
> > | APPXLaunchButton.png is an image file that is displayed for the user to click to begin the JRE detection and ultimately start the APPX Desktop Client. | |||||||
appx-nativelib.jarThe appx-nativelib.jar file contains platform specific files for the proper execution of the appx.jar file. | ||||||||
Line: 185 to 185 | ||||||||
This is an XML file that defines the environment that the APPX Desktop Client will run it. The file is made up of elements, element values, element stanzas and comments. The file is documented with comments. Now take a look at the appx.jnlp file.
appx.jnlp contents | ||||||||
Changed: | ||||||||
< < | [joe@webserver appx]$ cat appx.jnlp | |||||||
> > | [joe@webserver appx]$ *cat appx.jnlp* | |||||||
<?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for APPX Desktop Client 5.0.4 --> | ||||||||
Line: 255 to 255 | ||||||||
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.
Table of possible element / attribute available to you in a JNLP file. | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Description | ||||||||
Line: 277 to 272 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
jnlp | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
This is the main xml element for a jnlp file. Everything is contained within the jnlp element. | ||||||||
Line: 301 to 290 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
The codebase attribute specifies the base location for all relative URLs specified in href attributes in the JNLP file. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
1.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
The href specifies the URL of the JNLP file itself. | ||||||||
Line: 356 to 329 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 383 to 354 | ||||||||
The information element contains other elements that describe the application and it's source. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 410 to 375 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 430 to 391 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 488 to 439 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 524 to 467 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 558 to 495 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 590 to 521 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Indicates the suggested use of the icon, can be: default, selected, disabled, rollover, splash, or shortcut. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Can be used to indicate the resolution of the image. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 663 to 576 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 690 to 597 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 703 to 608 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 713 to 616 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 753 to 650 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 764 to 659 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
1.5.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Can be used to hint to the JNLP client that it wishes to be registered with the operating system as the primary handler of certain extensions and a certain mime-type. | ||||||||
Line: 792 to 679 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 807 to 692 | ||||||||
1.5.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 820 to 703 | ||||||||
Contains the mime-type that the application requests it be registered to handle. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 864 to 737 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 876 to 747 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 895 to 762 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 910 to 775 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 921 to 784 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 947 to 804 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 960 to 815 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 976 to 829 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 989 to 840 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 999 to 848 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
yes | ||||||||
Line: 1038 to 877 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
arch | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1073 to 904 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1116 to 937 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1127 to 946 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
1.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Indicates an additional set of standard and non-standard virtual machine arguments that the application would prefer the JNLP | ||||||||
Line: 1178 to 989 | ||||||||
Indicates the maximum size of the Java heap. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
yes | ||||||||
Line: 1217 to 1018 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
version | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1253 to 1046 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1285 to 1072 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Can be used to group resources together so they will be downloaded at the same time. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
nativelib | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1331 to 1104 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1357 to 1128 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Can be used to indicate this jar may be downloaded lazily. | ||||||||
Line: 1383 to 1148 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1398 to 1161 | ||||||||
1.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1410 to 1171 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1450 to 1205 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1461 to 1214 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
The name of the additional extension jnlp file | ||||||||
Line: 1487 to 1234 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1501 to 1246 | ||||||||
1.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1513 to 1256 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1555 to 1290 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
package | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1573 to 1304 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1591 to 1320 | ||||||||
yes | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1605 to 1332 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Defines a system property that will be available through the System.getProperty and System.getProperties methods. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Name of the system property. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1690 to 1395 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1735 to 1432 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1753 to 1446 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1768 to 1459 | ||||||||
Each argument contains (in order) an additional argument to be passed to main. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1814 to 1493 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1825 to 1502 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
1.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Name of the Applet. | ||||||||
Line: 1854 to 1523 | ||||||||
yes | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1868 to 1535 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
A set of parameters that can be passed into the applet. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
The name of this parameter | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Line: 1960 to 1605 | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Denotes this is the jnlp file for an installed extension. | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
1.0 | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
| ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
The name of the class containing the public static void main(String[]) method of the installer. | ||||||||
Line: 2010 to 1641 | ||||||||
yes | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
Configure your web server's jnlp Mime type settings. | ||||||||
Line: 2023 to 1652 | ||||||||
If you wish to modify the Apache global TypesConfig file and the file exists in /etc/mime.types, then you might try syntax like the following which will grep for the jnlp entry, and if not found will append an entry for jnlp support. | ||||||||
Changed: | ||||||||
< < | [joe@webserver /]$ grep -qs 'application/x-java-jnlp-file' /etc/mime.types || echo 'application/x-java-jnlp-file jnlp' >> /etc/mime.types | |||||||
> > | [joe@webserver /]$ *grep -qs 'application/x-java-jnlp-file' /etc/mime.types || echo 'application/x-java-jnlp-file jnlp' >> /etc/mime.types* | |||||||
[joe@webserver /]$ Or, if you wish to modify an .htaccess file in your http://www.example.com/appx/ directory, and your web server is configured to allow .htaccess modifications then try the following syntax which will grep for the jnlp entry, and if not found will append an entry for jnlp support. | ||||||||
Changed: | ||||||||
< < | [joe@webserver /]$ grep -qs 'application/x-java-jnlp-file' /var/www/html/appx/.htaccess || echo 'AddType application/x-java-jnlp-file jnlp' >> /var/www/html/appx/.htaccess | |||||||
> > | [joe@webserver /]$ *grep -qs 'application/x-java-jnlp-file' /var/www/html/appx/.htaccess || echo 'AddType application/x-java-jnlp-file jnlp' >> /var/www/html/appx/.htaccess* | |||||||
[joe@webserver /]$ | ||||||||
Line: 2084 to 1712 | ||||||||
-- RogerHuffman - 26 Mar 2009 | ||||||||
Changed: | ||||||||
< < | You should be able to use WinRAR to unzip a tgz file on Windows. WinRAR is a free download, available at http://download.cnet.com/WinRAR/3000-2250_4-10007677.html, and other places as well. But your point is a good one, and we'll probably add a zip file version shortly. | |||||||
> > | You should be able to use WinRAR to unzip a tgz file on Windows. WinRAR is a free download, available at http://download.cnet.com/WinRAR/3000-2250_4-10007677.html, and other places as well. But your point is a good one, and we'll probably add a zip file version shortly. | |||||||
-- AlKalter - 26 Mar 2009 |