Creating Custom Resources
To create a custom resource:
- In the left pane of the Admin Console, open the Sun Java System Application Server instance for the JNDI configuration to be modified.
- Open the JNDI tab and click Custom Resources. If any custom resources have been created already, they are listed in the right pane. To create a new custom resource, click New. Open the JNDI tab and click New. A page for adding a new custom resource appears.
- In the JNDI Name field, enter the name to use to access the resource. This name will be registered in the JNDI naming service.
- In the Resource Type field, enter a fully qualified type definition, as shown in the example above. The Resource Type definition follows the format,
xxx.xxx
.
- In the Factory Class field, 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.
- In the Description field, enter a description for the resource to be creating. This description is a string value and can include a maximum of 250 characters.
- Mark the Custom Resource Enabled checkbox, to enable the custom resource.
- Click OK to save your custom resource.
asadmin command equivalent: create-custom-resource.
See Also:
Legal Notices