Hi Greg,
>>in the jnlp file, under resources i could use:
>><extension name="pivot" href="http://some.server.com/pivot.jnlp"; />
>
> This is a good suggestion. What is the minimum JDK version for this element? 
> It looks like it might be Java 6. If so, we wouldn't be able to use it yet, 
> since our baseline is still Java 5.
Should be available since Java 5, but i cant' test it because i have
no more Java 5 installed.
If you have, you can copy the pivot sample jnlp, change the codebase
to a local path (like mine to C:/temp , but for this there is a
syntax, otherwise Web Start doesn't accept them ...) and try to add
the extension element, pointing to the other jnlp file.


Oh, I've just found a document on this, from here:
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/faq.html

Extract:
In a JNLP file, you can factor out dependencies on a set of JAR files
to another JNLP file using the <extension... > element. Thus, you can
achieve the same kind of re-usability and ease of maintenance as you
do with the Class-Path entry. This feature is described in the
specification.

Then, in that page, there is a sample usage, search for this line:
<extension name="Java Help" href="help.jnlp"/>



>>And the same could be done also adding the new applet param
>>"jnlp_href" to refer to a jnlp file, for applet demos ...
>
> I believe this also requires Java 6 - can you confirm?
Yes, but with previous version doesn't (or shouldn't :-) ) give
problems because it's an applet parameter that is not read ...


Tell me if you need some help.

Bye,
Sandro

Reply via email to