geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: globalJNDINAME & global-jndi-name
Date Wed, 02 Nov 2005 20:29:06 GMT
On Nov 2, 2005, at 12:08 PM, David Jencks wrote:

> On Nov 2, 2005, at 11:54 AM, Dain Sundstrom wrote:
>>
>> Um we need a replacement for this.  There are a lot of appliation  
>> out there that assume there is a global JNDI avaiable and that  
>> they can look up JDBC connections from global JNDI.
>
> Is there an app server independent jndi location they can look up  
> their non-portable resource at?  What is it?  The location we were  
> using (geronimo:any/place/you/want) was certainly not available on  
> any other app server.  If they have to change the location for each  
> app server anyway, why not have them look it up in the portable  
> java:comp/env location and use a name geronimo can resolve without  
> a plan entry?

It should be jndi.lookup("foo/bar/Connection").

-dain

Mime
View raw message