[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now



Posted on 2006-05-15
Medium Priority
Last Modified: 2013-11-24
What is the use of jndi in jdbc,EJB
  • 2
LVL 86

Accepted Solution

CEHJ earned 120 total points
ID: 16680740
It enables resources to be found in the container in a uniform way
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 80 total points
ID: 16680858
It basically helps locating objects based on their name, within the context.
LVL 30

Expert Comment

by:Mayank S
ID: 16680872

Assisted Solution

gireeshkumar earned 100 total points
ID: 16681527
Specificaly to JDBC - Application can use and access DataSources through JNDI. This makes coding easy and application can be configured to use any DB eaasily.
EJB - Similiar to above - EJB components can be deployed separately, on same or different applications servers, machines, application instance et.
JNDI makes applications location insensitive.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month19 days, 21 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question