Setting Up a Custom Resource on the Sun Java System Web Server
To create a custom resource:
- Ensure the Sun Java System Web Server is running.
- In the Projects window, select your project's root node to make it the active node and choose File > New File (Ctrl-N).
- In the Categories list, select Sun Web Server 7.0 Resources, in the File Types list, select Custom Resource, then click Next.
- In the General Attributes page, do the following:
- (required) Enter a unique JNDI name for the resource.
- When you register the resource with the server, if a resource already exists with the name you enter here, the existing resource will be updated with the attributes and properties of the resource you are registering.
- (required) In the Resource Type field, enter the fully qualified class name of the resource type.
- (required) In the Factory Class field, enter the name of the class that instantiates resources of this type.
- Enable or disable the resource by choosing True or False.
- Enter a description.
- Click Next.
- In the Additional Properties page, enter any properties for the resource.
- Click Finish.
- Register the resource with the Sun Java System Web Server.
Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
Legal Notices