Life Cycle of a JNDI Application (Server and Client)
As you can see from Figure 9.1, there are four primary stages in the life cycle of a JNDI application. Some stages in the life cycle occur on the server side and some on the client side.
Register with the naming service. The first stage in any JNDI application is for the server component to register with the naming service. To do this, the server constructs the InitialContext object initialized with WebLogic Server's implementation of the InitialContext. The server component registers itself with the naming service using the following methods:
bind()— The bind() method accepts two parameters for registering a server component: The first parameter is a logical name that can be used by clients ...
Get Sams Teach Yourself BEA WebLogic Server 7.0™ 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.