whats is mean by jndi

Answers were Sorted based on User's Feedback



whats is mean by jndi..

Answer / abhinandan

JNDI is used to create instances of object and passing a
reference of the object to the server.Through JNDI one can
access the particular object through an unique name
associated with the particular Object. Eg

Hashtable ht = new Hashtable();
ht.put("Context.InitialContext","---");
ht.put("URL.ProviderURL","t3://localhost:1099/");
Context cntx = new InitialContext(ht);
DataSource ds =(DataSource)cntx.lookup("TestDataSource");
Connection con = ds.getConnection();

Is This Answer Correct ?    9 Yes 0 No

whats is mean by jndi..

Answer / mahendar

JNDI is an naming registry.Using JNDI you can get SQL
Connection,mail connection.

Is This Answer Correct ?    3 Yes 0 No

whats is mean by jndi..

Answer / gokul d

jndi stands for java naming directory interface....it has
two methods ie naming.lookup(url) and naming.bind
(host,server) used in networking as well in EJB.

Is This Answer Correct ?    2 Yes 0 No

whats is mean by jndi..

Answer / siva prasad

Java Naming Domain Interface

Is This Answer Correct ?    2 Yes 14 No

Post New Answer

More Advanced Java Interview Questions

how the action can be map from jsp page to bean class in mvc1

1 Answers   Photon,


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

0 Answers  


What is Remote Interface?

1 Answers  


What is a tasks priority and how is it used in scheduling?

0 Answers  


What is Connection Pooling?

1 Answers   Enteg Technologies, Infosys, Polaris,






What is meant by Superconductivity?

4 Answers  


What is the relation between the infobus and rmi?

0 Answers  


What is an applet?

5 Answers  


What is a task?s priority?

1 Answers  


whats is mean by tiles in struts

2 Answers   SolutionNET,


Is infobus easy to use?

0 Answers  


What is the difference between long.class and long.type?

0 Answers  


Categories