Day 4. Using JNDI for Naming Services and Components

In today's lesson, you will learn about JNDI (Java Naming and Directory Interface), one of the commonly used services in any J2EE component-based application. JNDI is a standard interface to naming and directory services for enterprise applications. JNDI also can be used to access heterogeneous naming and directory services from the same application by using the same API. The following sections will explore the concepts of both naming and directory services. Then you will start to learn about the JNDI API and its interfaces and classes to access those services. We will also shed light on how JNDI can be used to look up resources and components as the foundation for other J2EE APIs.

Developers ...

Get Sams Teach Yourself EJB 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.