New External Resource

Use the New External Resource page to create an external JNDI resource.

The New External Resource page contains the following options.

JNDI Name

A unique name that identifies the resource.

Resource Type

The fully qualified type definition for the resource.

Factory Class

The user-specified name for the factory class. This class implements the javax.naming.spi.InitialContextFactory interface.

JNDI Lookup

The JNDI value to look up in the external repository.

For example, when creating an external resource to connect to an external repository, to test a bean class, the JNDI Lookup can look like this: cn=testmybean.

Description

A description of this external resource.

Status

The status of the external resource. The external resource can be enabled or disabled. The default value is Enabled.

Additional Properties

Additional properties for the external resource. GlassFishTM Server does not define any additional properties for external resources.

Related Tasks
Related asadmin Commands