You can create a custom resource in any of the following ways:
 To create custom resources using the administration
interface
To create custom resources using the administration
interfaceAccess the Server Manager and choose the Java tab.
Click Custom Resources.
Click the New button.
Enter the following information:
JNDI Name (required): Enter the JNDI name that application components must use to access the custom resource.
Resource Type (required): Enter the fully qualified type of the custom resource.
Factory Class (required). Enter the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory.
Custom Resource Enabled (optional): Select On to enable the custom resource at runtime.
Click OK.
Click Apply Changes.
For information on how to use the command-line interface to create a new custom resource, see Create Custom Resource in Appendix A, Command Line Utilities.