22. Java Naming and Directory Interface (JNDI)
JNDI
Provides a standardized way of accessing resources in a distributed environment
Protocol and naming service agnostic
|
Implemented by the javax.naming package and three other packages
below it
javax.naming.InitialContext is the entry point to the EJB Server
- bind – associates a name with an object
- lookup – finds an object given the name
|
|
Copyright 2004 Kanti Prasad All rights reserved
|