Day 3. Naming and Directory Services
The previous days have discussed the background to enterprise computing concepts and introduced J2EE technologies such as EJBs and Servlets. This chapter will show how the Java Naming and Directory Interface (JNDI) supports the use of many of the J2EE components.
In its simplest form, JNDI is used to find resources (such as EJBs) you have registered via the J2EE server. Advanced use of JNDI supports sophisticated storage and retrieval of Java objects and other information.
This day's work will include
Using Naming and Directory Services
JNDI and X.500 names
Obtaining a JNDI Initial Context
Binding and looking up names
Name attributes
Objects and References
JNDI events and security
Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.