You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by "vlad.balan" <vl...@gmail.com> on 2011/03/10 13:48:33 UTC

Is a DataSource accessible with InitialContext.lookup()

Is a DataSource that we declare in OpenEJB (through openejb.xml or
otherwise) accessible 
using :

context.lookup("myDS")

( where context is an InitialContext of OpenEJB, like the embedded one let's
say )

or from Spring like




In application servers, DataSources declared with their tools can be found
in the Global JNDI namespaces.
Is it the case in OpenEJB?

--
View this message in context: http://openejb.979440.n4.nabble.com/Is-a-DataSource-accessible-with-InitialContext-lookup-tp3345754p3345754.html
Sent from the OpenEJB User mailing list archive at Nabble.com.