Use the New External Resource page to create an external JNDI resource.
The New External Resource page contains the following options.
A unique name that identifies the resource.
The fully qualified type definition for the resource.
The user-specified name for the factory class. This class implements the javax.naming.spi.InitialContextFactory
interface.
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.
A description of this external resource.
The status of the external resource. The external resource can be enabled or disabled. The default value is Enabled.
Additional properties for the external resource. GlassFish Server does not define any additional properties for external resources.
(This option is displayed if any clusters or standalone instances have been created in the domain.)
Clusters and standalone instances for resource. Move desired targets to the Selected Targets column using the Add and Add All buttons. Move any unneeded targets to the Available Targets column using the Remove and Remove All buttons.