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 |
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?
What are different types of layout managers in java.awt package?
What is Stream Tokenizer?
whats is mean by class.forName() whats the return type of class
what is the difference between System.out.println and out.println in java
What are the purpose of introspection?
What is meant by multi-threading?
If your ui seems to freeze periodically, what might be a likely reason?
What exceptions are thrown by RMI?
What is a sessionfactory? Is it a thread-safe object?
Why a component architecture for the java platform?
Is the ternary operator written x : y ? Z or x ? Y : z ?