#### To edit an external resource

1. Expand the Resources, JNDI, and External Resources node.
2. Click on the Resource you want to edit.
3. Edit 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.

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

###### See Also

- To create an external resource

- To edit an external resource

- To delete an external resource