en.help.ref-jndiexternalresourcenew.html Maven / Gradle / Ivy
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. GlassFish Server does not define any additional properties for external resources.
- Targets
-
(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.
Related Tasks
-
-
-
Related asadmin Commands
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices