users@glassfish.java.net

Re: Glassfish V3 Standalone JMS Client - Question

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.

Documentation here:
http://docs.sun.com/app/docs/doc/820-7695/6niugest5?a=view

The documentation includes a description of exactly what Jars you need to use on the client.

A nice feature is that you can refer to your connection factories and queues using annotations, just like you do from your EJBs.

http://docs.sun.com/app/docs/doc/820-7695/beakx?a=view

Nigel
[Message sent by forum member 'nigeldeakin' (nigel.deakin_at_sun.com)]

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