wood burning stoves
The moose likes EJB and other Java EE Technologies and the fly likes JNDI Binding Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI Binding" Watch "JNDI Binding" New topic

JNDI Binding

Anant Kabra

Joined: Dec 10, 2003
Posts: 5
I have a question regarding storing objects in the JNDI name space...
After I have stored an object in JNDI, when I do a lookup, do I get a reference to this object or do I get a copy of the object.
More specifically, if I do a lookup, and make a change to the state of the object, is this change available to another lookup of the same object or do I have to rebind the object to JNDI to persist the change?
Conversely, lets say two classes have done a JNDI lookup on the same object. If one class makes a change to it's reference of the object, is this change available through the reference that the other class already have?
-- Anant
I agree. Here's the link: http://aspose.com/file-tools
subject: JNDI Binding
It's not a secret anymore!