users@glassfish.java.net

Re: Glassfish V3 + Standalone client lookup session bean JNDI

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 May 2010 05:35:03 PDT

You can use the package-appclient script that comes with GlassFish to create a JAR containing all the JARs needed on a remote client, whether for launching a Java EE app client or a Java SE client (as you are doing).

It's still a longer list than we'd like, but it does capture all you'll need.

It is important to note that once you expand the JAR you should not move the JARs around on the remote client system -- unless you move them all together and keep them in the same relative relationship with each other. The gf-client.jar contains a long Class-Path which uses relative references to the other JARs.

- Tim
[Message sent by forum member 'tjquinn']

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