whats is mean by jndi
Answers were Sorted based on User's Feedback
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 |
Answer / mahendar
JNDI is an naming registry.Using JNDI you can get SQL
Connection,mail connection.
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
What is the main functionality of RRL(Remote Reference Layer)?
How many times may an objects finalize() method be invoked by the garbage collector?
Will the general public have access to the infobus apis?
Suppose there are 3 combo box. SELECT COUNTRY SELECT STATE SELECT CITY if i select any country from country conutrylistbox values in the state will get automatically inserted with database values>> THEN on selection of state city will be inserted in city combo box If you can help then please Help me...
Explain phantom read?
What is a thread?
What event results from the clicking of a button?
Explain the methods of Naming class, rebind( ) and lookup()?
Explain about local interfaces.
What is bean? Where can it be used?
In real time project when will we use Abstract class. and what are the difference between abstract and interface.
6 Answers DELL, FCS, Polaris, Tanla Solutions, TCS,
What is difference RMI registry and OSAgent?