Expand the Resources, JNDI, then Custom Resources node.
Click on the Resource you want to edit.
If any custom resources have been created already, they are listed in the Resources table.
Edit the Custom 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.
Factory Class: Enter a factory class name for the custom resource to be created. The Factory Class is the user-specified name for the factory class. 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.
Click Save to save the changes to the custom resource.