#### To create a custom resource

1. Expand the Resources, then the JNDI node.
2. Select Custom Resources.

   If any custom resources have been created already, they are listed in the Resources table.

3. Click New.
4. Define 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.

5. In the Additional Properties section, add the property name and value.
6. Click OK to save your custom resource.

######

###### More Information

Equivalent asadmin command

`create-custom-resource`

###### See Also

- To create a custom resource

- To edit a custom resource

- To delete a custom resource