users@glassfish.java.net

Re: Glassfish V3 + Standalone client lookup session bean JNDI

From: <glassfish_at_javadesktop.org>
Date: Thu, 20 May 2010 10:29:14 PDT

Everyone,

Note that for GlassFish 3 remote connectivity for Java SE clients, you should:

1. Use the package-appclient script on the server. This creates a JAR which contains all the files the remote client system will need.

2. Take that JAR to the remote system and expand it into the directory of your choice. Call it ${clientInstallRoot}.

3. Add ${clientInstallRoot}/appclient/glassfish/modules/gf-client.jar to your runtime class path.

You do not need to - and should not try - to figure out the full list of JARs and add them to your application's Class-Path manifest setting. The list might change over time but gf-client.jar will always have the correct Class-Path setting for all the required JARs.

If you follow these steps and still have trouble, please let us know.

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

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