7.3 EJB bootstrapping

In order to access EJBs deployed to WAS V6, the client, regardless of whether it is local or remote, must first obtain a reference to objects related to an application, such as a reference to an Enterprise JavaBean (EJB) home object. This process is called EJB bootstrapping. The bootstrapping service is provided through J2EE Naming that is implemented via WebSphere CORBA CosNaming.

EJB home objects are bound into a hierarchical structure, referred to as a name space. An InitialContext is used to access objects in the name space. To obtain an InititalContext, a bootstrap server and port need to be supplied. If these are not supplied, then default values are used specific to the client type and its environment.

InitialContext requests participate in workload management when the provider URL is a clustered resource (cluster member) and they do not when they are not a clustered resource.

More information about naming and name spaces can be found in the redbook WAS V6 System Management and Configuration Handbook, SG24-6451. Chapter 13 explains the concept in detail.


Next