beautypg.com

To create an administered object resource – Sun Microsystems GLASSFISH ENTERPRISE 820433510 User Manual

Page 91

background image

To create, edit, and delete Connector Connection Pools, click Resources —> Administered
Object Resources in the Admin Console. Consult the Admin Console Online Help for detailed
instructions on managing connector connection pools.

“To Create an Administered Object Resource” on page 91

“To Edit an Administered Object Resource” on page 92

“To Delete an Administered Object Resource” on page 92

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 Enterprise Server implements JMS by using resource adapter. For each JMS destination
created, the Enterprise Server automatically creates an administered object resource.

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

Expand the Admin Object Resources node.

On the Admin Object Resources page, click New.

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

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

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

c. From the Resource Adapter combo box, select the resource adapter that contains the

administered object.

d. Select or deselect the Status checkbox to enable or disable the resource.

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

f.

If you are using cluster profile, 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.

1

2

3

4

Managing Administered Object Resources

Chapter 7 • Connector Resources

91