JMS Resource General Attributes

See Also

You see this page of the New File wizard when you are defining a JMS resource. On this page you choose to create either an Admin Object resource (destination) or a Connector resource (connection factory), and specify the JNDI name of the resource.

Use this page as follows:

  1. Enter the configuration information for the resource.
  2. Choose the resource type.

    A JMS resource may be either an Admin Object resource or it may be a Connector resource, in which case it is accessed via the Connector API.

    If the JMS resource you are creating is an Admin Object resource:

    If the JMS resource you are creating is a Connector resource:

  3. Click Next to further customize the resource properties.
    Click Finish to create the resource without additional properties. You can add properties later by editing sun-resources.xml.

    The JMS resource properties are added to sun-resources.xml. You can open sun-resources.xml in the Source Editor by expanding the Server Resources node of your project in the Projects window and double-clicking the file.

Once you have created the object in your project, the resource needs to be registered with the server before you can use it. The resource is automatically registered when you deploy your project.

See Also
Setting up a JMS Resource on the GlassFish Application Server

Legal Notices