Hi to all,
after some days off-line I'm back ...

There should be a dedicated Servlet that does the substitution inside
jnlp files, as in Sun doc/demos (
http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/downloadservletguide.html
), and you can find it inside JDK sample/jnlp/servlet, .
Since Java 6 Update 10 should be no more required ... but from what
I've read here it seems to be still required :-) or if not the
Servlet, with jsp or other tricks ...

Some year ago (when i used Web Start for deploy real-world
applications) i used some jsp pages to generate and fill jnlp file,
and i agree is not the best ...

For local (relative) paths i've read something on wrong jar caching,
and i don't know if has been solved now. If someone tries, can tell,
please ?


Ah, to simplify things I've never used the version-download feature,
nor the jardiff, they could be very useful but i had enough problems
with the rest ... but was in the past (some years ago).


> Originally, I had it as "j2se", but the element section of that document 
> lists "java" first and "j2se" as optional, so I changed it. I hadn't noticed 
> that, throughout the rest of the doc, they use "j2se".
Ok, but <java> will require Java 6 (maybe Update 10), so for Pivot 1.3
no problem.


> I think Sun needs to clean this page up a bit.
I think that Sun should rewrite some parts of this from scratch ...
and from another point of view i think they have created their new
packaging system (IPS, for Solaris, and for all main other platforms)
to solve some of these issues.
In next months I'll make some experiments with it, and Pivot but using
a dedicated SecurityManager to ensure (ad-hoc test evil) Pivot apps
cannot make problems or damages to the system ... if someone is
interested, tell me.


An useful trick could be to use the <extension> mechanism of Web Start:
split jnlp files in one (or more) with the definition of Pivot-only
jars (for example one with only pivot jars, one with also dependency
jars, etc) in dedicated jnlp files (standard, using the component-desc
syntax), and the user-specific jnlp file linking to them, so i would
never touch them.
I could also point to jars published in the main Pivot Site, to ensure
the (online) usage of standard jars ... on this i wrote a mail some
week ago but none answered ... tell me if mow someone is interested.
In this case another useful trick could be to have on the site also
the pack.gz version of the jars ... but attention with signed jars,
they have to be packed in a different way (there is a doc describing
it).

Tell me for a sample or other info or tests ...


Bye,
Sandro

Reply via email to