An external JNDI resource accesses an external JNDI repository, such as an LDAP server.
The External Resources page opens.
The New External Resource page opens.
This name will be registered in the JNDI naming service. The JNDI name organizes and locates components within a distributed computing environment similarly to the way that card catalogs organize and represent locations of books in a library. Consequently, the JNDI name becomes an important method of accessing the resource.
The Factory Class is the user-specified name for the factory class, such as com.sun.jndi.ldap. This class implements the javax.naming.spi.InitialContextFactory interface.
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.
This description is a string value and can include a maximum of 250 characters.
By default, the resource is enabled, meaning that it is available as soon as it is created.
The GlassFish Server does not define any additional properties for external resources.
To add a property, click the Add Property button. In the blank row that appears, type the property name in the Name field, and type the property value in the Value field.