User Tools

Site Tools


java:jws

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
java:jws [2010/10/11 17:19]
Alexander Rind created
java:jws [2010/10/27 19:42] (current)
Alexander Rind jnlp href Attribute
Line 3: Line 3:
 //​**Disclaimer:​** these are only some note -- primarily for myself// //​**Disclaimer:​** these are only some note -- primarily for myself//
  
-[[http://​download.oracle.com/​javase/​tutorial/​deployment/​webstart/​ | Java Tutorial on Deployment]]+  * [[http://​download.oracle.com/​javase/​tutorial/​deployment/​webstart/​ | Java Tutorial on Deployment]] 
 +  * [[http://​lopica.sourceforge.net/​faq.html | Unofficial Java Web Start/JNLP FAQ]] 
 +  * [[http://​download.oracle.com/​javase/​6/​docs/​technotes/​guides/​javaws/​developersguide/​faq.html | Java Web Start version 1.5.0 FAQ]]
  
 === .jnlp Example === === .jnlp Example ===
Line 10: Line 12:
 <?xml version="​1.0"​ encoding="​UTF-8"?>​ <?xml version="​1.0"​ encoding="​UTF-8"?>​
 <​!DOCTYPE jnlp PUBLIC "​-//​Sun Microsystems,​ Inc.//DTD JNLP 1.5//​EN"​ "​http://​www.netbeans.org/​jnlp/​DTD/​jnlp.dtd">​ <​!DOCTYPE jnlp PUBLIC "​-//​Sun Microsystems,​ Inc.//DTD JNLP 1.5//​EN"​ "​http://​www.netbeans.org/​jnlp/​DTD/​jnlp.dtd">​
-<jnlp codebase="​http://​ieg.ifs.tuwien.ac.at/​projects/​VisualizingPatientCohorts/"​ href="​anscp.jnlp">​+<jnlp codebase="​http://​ieg.ifs.tuwien.ac.at/​projects/​VisualizingPatientCohorts/downloads/" ​ 
 +  ​href="http://​ieg.ifs.tuwien.ac.at/​projects/​VisualizingPatientCohorts/​downloads/​anscp.jnlp">​
   <​information>​   <​information>​
     <​title>​Animated Scatter Plot</​title>​     <​title>​Animated Scatter Plot</​title>​
     <​vendor>​Vienna University of Technology, Danube University Krems</​vendor>​     <​vendor>​Vienna University of Technology, Danube University Krems</​vendor>​
-    <​homepage href="​http://​ike.donau-uni.ac.at/~rind/jws/anscp.jnlp"/>+    <​homepage href="​http://​ieg.ifs.tuwien.ac.at/projects/VisualizingPatientCohorts/"/>​
     <​description>​Visualizing Patient Cohorts by Animated Scatter Plots</​description>​     <​description>​Visualizing Patient Cohorts by Animated Scatter Plots</​description>​
     <icon href="​default"/>​     <icon href="​default"/>​
Line 29: Line 32:
   <​application-desc main-class="​main.Main">​   <​application-desc main-class="​main.Main">​
     <​argument>​-data</​argument>​     <​argument>​-data</​argument>​
-    <​argument>​http://​ike.donau-uni.ac.at/~rind/jws/​diabetes-real-ano-en.txt</​argument>​+    <​argument>​http://​ieg.ifs.tuwien.ac.at/projects/​VisualizingPatientCohorts/downloads/​diabetes-real-ano-en.txt</​argument>​
   </​application-desc>​   </​application-desc>​
 </​jnlp>​ </​jnlp>​
Line 62: Line 65:
   * mykey is default alias   * mykey is default alias
   * you need to sign all .jar files   * you need to sign all .jar files
 +
 +=== jnlp href Attribute ===
 +
 +//​Problem://​ You might want to move your files to another server or path. 
 +However, Java WS keeps track of //known// apps. 
 +These are identified by the jnlp href Attribute.
 +
 +//​Solution://​ (1) do not use href; (2) code complete url in href; (3) build .jnlp file dynamically;​ (4) //???//
 +
 +//​Reference://​ [[http://​download.oracle.com/​javase/​6/​docs/​technotes/​guides/​javaws/​developersguide/​faq.html#​225]],​ [[http://​lopica.sourceforge.net/​faq.html#​relcodebase]]
  
  
java/jws.1286810356.txt · Last modified: 2010/10/11 17:19 by Alexander Rind

alex @ ieg: home about me publications research