This content has been marked as final. Show 3 replies
Note that the CR is already closed and the support for embedded JNLP is already in JRE 7.
Yes, the whole JNLP content (base-64 encoded) could be embedded in HTML applet tag as applet param "jnlp_embedded".
But as far as I see the deployJava function from [www.java.com/js/deployJava.js|http://www.java.com/js/deployJava.js] could not use jnlp_embedded. Meaning, you could use jnlp_embedded only if you use it as an applet, but we use it as JNLP that launches Java Machine externally.
Also, from what I see the CR is not closed, but more as a "request for enhancement" that has been approved. Otherwise, you have an idea how to launch external JNLP from jnlp_embedded content?
I think that the best idea would be to open a JNLP with the content of the REAL jnlp as jnlp_embedded in a parameter. This jar would decrypt the jnlp_embedded and launch the real JNLP.
My purpose is simply not to give people a way to modify JNLP, which make use crazy since people keep on changing the parameters in notepad....
OK, I've found a way, I'm using the dtJava (http://java.com/js/dtjava.js) and they have this option in .launch.