users@glassfish.java.net

Re: Accessing datasource from standalone client in glassfish.

From: <glassfish_at_javadesktop.org>
Date: Wed, 23 Jul 2008 07:48:26 PDT

Non RMI-IIOP objects such as data sources are not stored in the CosNaming repository.
If appserv-rt.jar is in your classpath and you instantiate the no-arg InitialContext() constructor,
the correct glassfish naming provider will be bootstrapped. This will allow access to both
Remote EJB references and the other resources in the global JNDI namespace. See our
EJB FAQ for more details :

https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html
[Message sent by forum member 'ksak' (ksak)]

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