users@glassfish.java.net

Re: DLLs in Enterprise Application

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Dec 2007 07:35:12 PST

We bundle the dlls and exes into a jdic-native.jar and release the jars with their own JNLP file in a separate EAR. The contents of that JNLP file looks something like this...

swinglibs.jnlp
[code]
...
<resources os="Windows">
        <jar href="jdic.jar" version="0.5.1"/>
        <nativelib href="jdic-native.jar" version="0.5.1"/>
</resources>
...
[/code]

Then any of our Webstart apps can reference that JNLP file as an extension like so...

some_webstart_app.jnlp
[code]
...
<resources>
  <extension name="swinglibs" href="/merch/swinglibs/swinglibs.jnlp" />
...
[/code]

Unfortunately, I'm not familiar with how Glassfish handles Webstart apps, so someone else will have to respond to that.

Hope this helps.
Erik
[Message sent by forum member 'evickroy' (evickroy)]

http://forums.java.net/jive/thread.jspa?messageID=250768