Re: Java web start and jars...
tiewknvc9 wrote:
Thomas seems to have answered the core of your technical
question, but I will just point out that..
...if I were to supply 3 jar files (one with the graphics, one
with library jars/zips, ..
...if you have (for example) ftp.jar, format.jar and properties.zip,
*each* of these will need to be added separately to the application's
classpath.
If you bundle *those* three files up in an 'alllibs.jar', the
classloader will fail to find resources in any of the three
libraries. Java classloaders are not set up to deal with
'archives within archives'.
Alternately, you might
a) extract the contents of each archive and put the entire
result into a single archive (a very non-optimal approach), or..
b) reference each of the library files in a single JNLP file
that is marked as an extension/component, then have other
JNLP files refer to the extension JNLP.
Option b) is the best because it allows you to refer to
the resources ..
- 'on mass', where needed, via the extension JNLP
- separately, in the case where less than the entire
set is required.
- in other JNLP's (both extension and application/applet).
HTH
Andrew T.