A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Why do we need JNDI
Joined: Apr 20, 2005
Apr 11, 2008 09:03:00
Generally JNDI does binding a object with name, and we looks for that object through a particular name.
But why we cant go directly to that object andassociate where it is required, insteded of making a JNDI look up.
Pankaj Lochna Patro
Thanks & Regards,
Joined: Apr 14, 2004
Apr 11, 2008 09:41:00
Because it might not exist in the JVM you attempt to access it from.
applications can be distributed, resources bound in JNDI are available to everything that has access to the namespace.
I agree. Here's the link:
subject: Why do we need JNDI
Singleton in a cluster
can we give any name to jndi name?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014