When using JNDI lookups like [b](new InitialContext()).lookup("java:/comp/env/jdbc/datasource")[/b], does the name refer to a global object or is to something within the bean's descriptor (since that is where I have seen the value specified)?
In other words, if I deploy 2 instances of the same bean in different EARs and with their own deployment descriptor settings, does each instance get the value from its own descriptor?
And for bonus points (:-), can you specify it once only for all instances [just curious, that's not what I want to do]?
And is the new EJBContext.lookup() method different in this regard?
thanks!
[Message sent by forum member 'matterbury' (matterbury)]
http://forums.java.net/jive/thread.jspa?messageID=326935