Creating a connector project

A connector is a J2EE standard extension mechanism for containers to provide connectivity to enterprise information systems (EISs). A connector is specific to an EIS and consists of a resource adapter and application development tools. A resource adapter is a system-level software driver that is used by an EJB container or an application client to connect to an EIS. Connectors comply with the J2EE Connector architecture (JCA).

Restriction: J2EE 1.2 specification level does not include connector capability.

To create a new connector project:

  1. In the J2EE perspective, select File > New > Connector Project.

  2. In the Name field, type a name for the connector project. To change the default Project location, click the Browse button to select a new location. If you specify a non-default project location that is already being used by another project, the project creation will fail.

  3. Click Show Advanced.

  4. In the JCA version drop-down list, select the specification version to which you want your connector project to adhere.

  5. In the Target server drop-down list, select the application server that you want to target for your development. This selection affects the run time settings by modifying the class path entries for the project.

  6. Specify whether you want to add the new module to an enterprise application (EAR) project.

  7. In the EAR project combination box, type a new project name or select an existing enterprise application project from the drop-down list. Or, click the New button to launch the New Enterprise Application Project wizard.

    Note: If you type a new EAR project name, the EAR project will be created in the default location with the lowest compatible J2EE version based on the version of the project being created. If you want to specify a different version or a different location for the enterprise application, use the New Enterprise Application Project wizard.

  8. Click Finish.

 

Related tasks

Importing a connector project RAR file
Exporting connector projects to RAR files