Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the purpose of JNDI?

Answers were Sorted based on User's Feedback



What is the purpose of JNDI?..

Answer / guest

JNDI provides a platform-independent Java interface to
naming and directory services, such as LDAP, NDS, and Active
Directory.

Is This Answer Correct ?    27 Yes 7 No

What is the purpose of JNDI?..

Answer / mohan

Hi Father Of Java
U Idiot is it your answer. Don’t repeat it once again. Still
I believe humans.

Is This Answer Correct ?    22 Yes 7 No

What is the purpose of JNDI?..

Answer / mallesh

With the help JNDI we can bind any objects. That means
(java, dotnet..). By using RMI registry we can bind only
java objects. JNDI is a platform indepent so we can
intaract with any servers.

Is This Answer Correct ?    19 Yes 9 No

What is the purpose of JNDI?..

Answer / rajkumar siripuram

JNDI is the Java Naming and Directory Interface. It's used
to separate the concerns of the application developer and
the application deployer. When you're writing an application
which relies on a database, you shouldn't need to worry
about the user name or password for connecting to that
database. JNDI allows the developer to give a name to a
database, and rely on the deployer to map that name to an
actual instance of the database.

For example, if you're writing code that runs in a Java EE
container, you can write this to get hold of the data source
with JNDI name "Database":


DataSource dataSource = null;
try
{
Context context = new InitialContext();
dataSource = context.lookup("Database");
}
catch (NamingException e)
{
// Couldn't find the data source: give up
}

Note there's nothing here about the database driver, or the
user name, or the password. That is configured inside the
container.

JNDI is not restricted to databases (JDBC); all sorts of
services can be given names. For more details, you should
check out the Sun tutorial on the subject.
link|flag

RAJKUMAR SIRIPURAM

Is This Answer Correct ?    9 Yes 1 No

What is the purpose of JNDI?..

Answer / makthar basha

JNDI is Java Naming and Derectory Interface,JNDI can be used
as a general purpose service for accessing and retrieving a
mixed set of data. Using LDAP as a backend, JNDI allows us
to store Java Objects directly into the directory and
provides the user with APIs to make modifications to the
tree. The power comes in storing objects inside the tree itself.

Is This Answer Correct ?    3 Yes 1 No

What is the purpose of JNDI?..

Answer / father of java

JNDI means "TUMHARI MAA KA BHOSDA ,,QUESTION WALE KI MAA KI
CHUT CHUT CHUT"



MAA CHUDAO SAB K SAB.
GAND MARA LO JAVA SE.BHEN CHOD KOI KAAM NAHI HAI AUR.BIWI
KO BHI PEL LIYA KARO.NAHI TO BHAAG JAYEGI

Is This Answer Correct ?    24 Yes 52 No

Post New Answer

More EJB Interview Questions

What is entity bean?

0 Answers  


What is difference between stateless and stateful?

0 Answers  


Mention the three levels for applying interceptor methods.

0 Answers  


What is ejb and its uses?

0 Answers  


what is mean by API ? Please answer me. Advance thanks.

2 Answers   Excel,


Is it possible to write two ejb’s that share the same remote and home interfaces, and have different bean classes? If so, what are the advantages/disadvantages?

0 Answers  


What are the basic and subtypes of enterprise java beans (ejb)?

0 Answers  


what is mean by OLE ? Please answer me. Advance thanks.

0 Answers   Excel,


What is mdb?

0 Answers  


What do you mean by ‘hot deployment’ ?

0 Answers  


Why is ejb needed?

0 Answers  


Can Container managed Bean-Managed Persistence ?

0 Answers   Sony,


Categories