How to make JWS use custom, private JRE distributed through SMS
855300Apr 14 2011 — edited Apr 14 2011Hi
In our company, we would like to introduce JWS to deploy Java clients. Currently, we us software management system (SMS) to push the java clients to the workplaces. With JWS, we hope to streamline this process.
The challenge is the following:
For security reasons, our workplaces may only have one public JRE. Public = known by the system and used by e.g. the web-browser to run applets. The JRE that we need to run JWS applications is custom (we needed to add / replace some libraries to support SSO, ORB etc), and needs to be installed privatly, e.g. no entry in the windows registry etc. From what I understand, this could be achieved by specifiying an product version in the JNLP file plus a href attribute that specifies where the product can be found (<j2se version="..." href="..."/>). We would prefer though to distribute the JRE via the SMS rather than via a webserver in order to keep the network load small.
My questions are the following:
- Is it possible to instruct JWS, or configure the JNLP file in a way to force the usage of a JRE that is laying in a particular path on the local file system? (Have the SMS distributed through the SMS?)
- If not - so if we cannot use a SMS for distributing the JRE - how can the JRE be retrieved? From what I understand, a servlet needs to be listening at the "href" location?
- Is there a way around the servlet? We hoped to be able to use a plain HTTP server to keep cost low, so if there is a way around needing a servlet to serve the JRE that would be great.
- If not - what logic should the servlet implement? Is there a reference implementation? Is there a new mime-type needed?
Many thanks in advance,
Johannes
Edited by: 852297 on 14-Apr-2011 02:46