users@glassfish.java.net

How I can obtain the JNDI name from a DataSource in my app?

From: <glassfish_at_javadesktop.org>
Date: Fri, 16 Apr 2010 05:53:27 PDT

There is any way that I can obtain the JNDI name of the DataSource used by an application?
I was trying to pass this name to another app in the same glassfish domain via JMS. And then, this another app will change the database associated with the DataSource.
Any ideas?
[Message sent by forum member 'eudesf']

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