Creating a subcontext

A subcontext is a subdivision of a JNDI namespace and can contain connection factories and destinations as well as other subcontexts. You can create subcontexts within initial contexts or within other subcontexts.

About this task

A subcontext extends the initial context's naming convention. The extended naming convention is used to organize the administered objects in the JNDI namespace.

To create a new subcontext within an initial context or within another subcontext, complete the following steps.

Procedure

  1. In the Navigator view, right-click the initial context or subcontext in which you want to create the new subcontext, then click New > Subcontext... The New Subcontext dialog opens.
  2. Type a name for the new subcontext, then click OK.

Results

The new subcontext is displayed in the Navigator view, under the initial context or subcontext in which you created it.