Tag Archives: web

Creating an ISAcreator WebStart application

One of the advantages of creating a webstart application is that it’s pretty much point and click. From a browser page, users can gain access to your Java tool relatively quickly.

To deploy a JNLP version of ISAcreator within your organisation, you should follow the following steps…

1. Get the ISAcreator Jar file you wish to expose via the web.
2. You need to digitally sign the Jar file using a jarsigner. there are two steps to this process:
a. Create your key store with an alias (name) using keytool
keytool -genkey -keystore isatools-keys -alias ISAcreator
b. Sign the ISAcreator jar file using the key you have just generated
jarsigner -keystore isatools-keys ISAcreator-1.3.1.jar ISAcreator

3. Create a JNLP file describing the tool and where the Jar file is located, replacing the baseurl text with the URL of where the ISAcreator.jnlp file etc. are located :

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <jnlp spec="1.0+" codebase="baseURL" href="ISAcreator.jnlp">
  3. 	<information>
  4. 		<title>ISAcreator 1.3</title>
  5. 		<vendor>ISAtools team, University of Oxford, UK</vendor>
  6. 		<homepage href="http://isatools.org" />
  7. 		<description>ISAcreator</description>
  8. 		<version>1.3</version>
  9. 		<icon href="baseURL/isacreator_logo.jpg"/>
  10. 		<offline-allowed/>
  11. 	</information>
  12. 	<security>
  13. 		<all-permissions/>
  14. 	</security>
  15. 	<resources>
  16. 		<j2se version="1.5+" />
  17. 		<jar href="baseURL/ISAcreator-1.3.1.jar" />
  18. 	</resources>
  19. </jnlp>
  20. 
    

Now deploy the files to your web server of choice and link to the JNLP file to allow users to download ISAcreator to their machine. An example instance is running at: http://www.antarctic-design.co.uk/isacreator/ISAcreator.jnlp