Sun GlassFish Mobility Platform 1.1 Administration Guide

ProcedureTo Configure a Local Enterprise Connector

To add or edit the settings and properties for a local Enterprise Connector, follow these steps.

  1. In the Local Enterprise Connector Properties panel, specify a value for the business-object-provider property (for an ECBO API connector) or the uri property (for a JAX-RS connector).

    This value is the class name of the Enterprise Connector's implementation of the com.sun.mep.connector.api.BusinessObjectProvider class. For MusicDB, for example, the value is com.sun.mep.connector.jdbc.album.MusicAlbumProvider.

  2. Click Save in the Local Enterprise Connector Properties panel.

  3. In the Name field of the Local Enterprise Connector Settings panel, edit the name of the Enterprise Connector.

    The Name field contains the name of the Enterprise Connector that was specified when it was created.

  4. In the Class/JNDI Name field for a local Enterprise Connector, type or edit the class name or JNDI name of the Enterprise Connector.

    If the connector is packaged as a Resource Adapter, you normally specify the JNDI name. If it is packaged in a JAR file, you specify the class, which is typically com.sun.mep.connector.jcr.DbRepository.

  5. In the Workspace Name field, type or edit the name of the workspace for the Enterprise Connector.

    For a JAX-RS connector, the workspace name does not matter. (In the sample connector, it is default.) For a connector that uses the ECBO API, the workspace name should be the same as the name specified for the workspace element in the resource file for the Enterprise Connector.

    The other fields in this panel (Remote DB Name, Content Type, Register With URL, and Default URL) are not used for Sun GlassFish Mobility Platform.

  6. Click Save in the Local Enterprise Connector Settings panel.