2.6 Assigning an optional name to Enterprise Beans or J2EE resources (User-specified name space functionality)

The functionality with which the user assigns an optional name and registers the Enterprise Beans or J2EE resources in JNDI name space is called the user-specified name space functionality. This functionality enables you to lookup the Enterprise Beans or J2EE resources using any specified name.

Note that you must customize the settings for operating the server management commands to assign an optional name. For details on how to specify the settings, see 2.6.7 Execution environment settings.

Note
In the Java EE specifications, we recommend that you perform lookup with the name using java:comp/env.

The following table describes the organization of this section.

Table 2-22 Organization of this section (User-specified name space functionality)

CategoryTitleReference location
ExplanationObjects that can be assigned an optional name2.6.1
Rules for assigning the optional names2.6.2
Timing for registering or deleting the optional name2.6.3
Searching from the client2.6.4
ImplementationSetting the optional names for the Enterprise Beans2.6.5
Setting the optional names for the J2EE resources2.6.6
SettingsExecution environment settings2.6.7
NotesPrecautions for using the user-specified name space functionality2.6.8

Note: the function-specific explanation is not available for "Operations".


Organization of this section
2.6.1 Objects that can be assigned an optional name
2.6.2 Rules for assigning the optional names
2.6.3 Timing for registering or deleting the optional name
2.6.4 Searching from the client
2.6.5 Setting the optional names for the Enterprise Beans
2.6.6 Setting the optional names for the J2EE resources
2.6.7 Execution environment settings
2.6.8 Precautions for using the user-specified name space functionality