A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
RabbitMQ in Depth
this week in the
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.
subject: Why do we need JNDI
can we give any name to jndi name?
Singleton in a cluster
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015