Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide

- Previous: Admin Console Tasks for Connector Resources
- Next: Chapter 8 J2EE Containers

# Admin Console Tasks for Administered Object Resources

- To create an administered object resource

- To edit an administered object resource

- To delete an administered object resource

## To create an administered object resource

Packaged within a resource adapter (connector module), an administered object provides specialized functionality for an application. For example, an administered object might provide access to a parser that is specific to the resource adapter and its associated EIS. The object can be administered; that is, it can be configured by an administrator. To configure the object, add name-value property pairs in the Create or Edit Admin Object Resource pages. When creating an administered object resource, associate the administered object to a JNDI name.

The Application Server implements JMS by using resource adapter. For each JMS destination created, the Application Server automatically creates an administered object resource.

1. In the tree component, expand the Resources node and then the Connectors node.

2. Expand the Admin Object Resources node.

3. On the Admin Object Resources page, click New.

4. On the Admin Object Resources page, specify the following settings:

   1. In the JNDI Name field, type a unique name that identifies the resource.

   2. In the Resource Type field, enter the Java type for the resource.

   3. From the Resource Adapter combo box, select the resource adapter that contains the administered object.

   4. Select or deselect the checkbox to enable or disable the resource.

   5. Click Next.

5. On the second Create Admin Object Resource page, the following tasks can be performed.

   1. To configure the administered object with name-value property pairs, click Add Property.

   2. In the Targets section of the page, select the domain, cluster, or server instances where the administered object will reside, from the Available field and click Add.

      To undeploy the administered object to one of the domains, clusters, or server instances listed in the Selected field, select it from the field and click Remove.

6. Click Finish.

##### Equivalent asadmin command

`create-admin-object`

## To edit an administered object resource

1. In the tree component, expand the Resource node and then the Connectors node.

2. Expand the Administered Object Resources node.

3. Select the node for the administered object resource to be edited.

4. On the Edit Administered Object Resources page, modify values specified in Creating an Administered Object Resource.

5. On the Targets tabbed pane, edit the targets on which the administered object is deployed by clicking Manage Targets.

   See To create an administered object resource for more information on targets.

6. Click Save to apply the edits.

## To delete an administered object resource

1. In the tree component, expand the Resources node and then the Connectors node.

2. Select the Administered Object Resources node.

3. On the Administered Object Resources page, select the checkbox for the resource to be deleted.

4. Click Delete.

##### Equivalent asadmin command

`delete-admin-object`

- Previous: Admin Console Tasks for Connector Resources
- Next: Chapter 8 J2EE Containers

- © 2010, Oracle Corporation and/or its affiliates