Setting Up a Custom Resource on the Sun Java System Web Server

To create a custom resource:

  1. Ensure the Sun Java System Web Server is running.
  2. In the Projects window, select your project's root node to make it the active node and choose File > New File (Ctrl-N).
  3. In the Categories list, select Sun Web Server 7.0 Resources, in the File Types list, select Custom Resource, then click Next.
  4. In the General Attributes page, do the following:
    1. (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.
    2. (required) In the Resource Type field, enter the fully qualified class name of the resource type.
    3. (required) In the Factory Class field, enter the name of the class that instantiates resources of this type.
    4. Enable or disable the resource by choosing True or False.
    5. Enter a description.
    6. Click Next.
  5. In the Additional Properties page, enter any properties for the resource.
  6. Click Finish.
  7. Register the resource with the Sun Java System Web Server.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.
Legal Notices