Registering a Resource with the Sun Java System Application Server

See Also

Once you have created a resource object, it needs to be registered with the server. Once registered, the object is available to all the applications and resources.

Resources are automatically registered with the server when the project is deployed. Using the pop-up menu in the IDE you can also register resources individually without deploying or redeploying the project.

When you create a resource object for a project with the New File wizard, the resource is added to the project and appears in two places:

To register an individual resource:

  1. Locate the object in the Projects window or Files window.
  2. Right-click the object and choose Register.
  3. In the Java Message Service Resource Registration dialog box, check to make sure the JNDI resource name and the server instance are correct.
  4. Click Register.
  5. Click Close when you get the registration successful message.

After the object is registered with the server it is visible in the Runtime window under the Servers node under the node corresponding to the type of resource. You can modify some of the properties of the resource object by opening the properties window for the object.

To delete a resource from the server:

  1. Locate the object you wish to delete in the Runtime window.
  2. Right-click on the object and select Delete.

When you delete a resource from the server it is no longer visible in the Runtime window.

Notes:

See Also
Working with the Sun Java System Application Server

Legal Notices