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 highest-level event class of the event-delegation model?
Write a program on RMI and JDBC using StoredProcedure?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
whats is stored procedure,joins
Which containers use a border layout as their default layout?
What is permgen or permanent generation?
What is the main functionality of RRL(Remote Reference Layer)?
which type of objects reference will be given to client?
What are the purpose of introspection?
What is preemptive and Non-preemptive Time Scheduling?
What is the difference between the session.update() method and the session.lock() method?
What state a thread enters, When it blocks on I/O?