JNDI Architecture

JNDI provides the main naming and directory service used by all Java EE resources, applications, and clients. Not only can developers use JNDI to locate the various objects and services registered in various Java EE services, they can register their own objects with the JNDI tree. JNDI is a standard Java EE mechanism that clients can use to publish, locate, and retrieve objects to access naming and directory servers. In order to locate various objects, you first bind them to a distributed directory service using JNDI. Clients will then locate and retrieve those objects from the JNDI tree. For example, when you deploy an EJB, it's bound to a JNDI name and made available in the global JNDI tree. The same is true of any services ...

Get Oracle WebLogic Server 11g Administration Handbook 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.