Expand the Resources, JNDI, then External Resources node.
If any external resources have been created already, they are listed in the Resources table.
Click New.
Define the External Resource settings as follows:
JNDI Name: Specify a unique name. 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 JDBC resource. By convention, the name begins with the jdbc/ string. For example: jdbc/payrolldb. Don't forget the forward slash.
Resource Type: Enter a fully qualified type definition. The definition follows the format, xxx.xxx.
JNDI Lookup: Enter 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.
Factory Class: Enter a JNDI factory class external repository, for example, com.sun.jndi.ldap. This class implements the javax.naming.spi.ObjectFactory interface.
Description: Type a short description of the resource. This description is a string value and can include a maximum of 250 characters.
Status: If you want the resource to be unavailable, deselect the Enabled checkbox. By default, the resource is available (enabled) as soon as it is created.
In the Additional Properties section, add the property name and value.
Click OK to save your external resource.