How can we use JNDI?

Hi,

I want to know details about setting names for objects using JNDI naming servcices and also the details of making lookup for those names by using main methos class.I got error while I try this using main method class?Is not possible to make a lookup inside main method class?I require the settings and complete look up program.

Thanks and regards,

Ramesh RK

[386 byte] By [rkrameshsalema] at [2007-11-26 20:51:26]
# 1
Have you checked out the JNDI tutorial? There's a JNDI chapter for thespecialized trails which was released just few months ago: http://java.sun.com/docs/books/tutorial/jndi/index.html
gmoma at 2007-7-10 2:16:29 > top of Java-index,Core,Core APIs...
# 2
This will also help. http://www.javaworld.com/javaworld/jw-01-2000/jw-01-howto.html
Mathewhaia at 2007-7-10 2:16:29 > top of Java-index,Core,Core APIs...