From: <glassfish_at_javadesktop.org>
Date: Wed, 06 Jan 2010 09:34:25 PST
If you're running a standalone client but want to use JNDI resources defined in Glassfish, then have you considered using the Glassfish Application Client Container?
This would hide the complexity of how to communicate with the server, and in V3 you can embed it in your own JVM rather than use the ACC's JVM.