You can use wizards to create a connector module in your Java™ EE project.
Procedure
- In the Java EE perspective,
right-click your enterprise application project and select . The Connector project wizard opens.
- In the Name field, type a name for
the connector project. To change the default Project location, click Browse to select a new location.
If you specify a non-default project location that is already
being used by another project, the project creation fails.
- The Target runtime field is pre-populated
with the selection from the enterprise project.
- In the Connector Module version field,
accept the default value.
- Optional: Select a pre-defined project configuration
from the Configurations drop-down list.
- Optional: Modify Configuration: If you
want to modify the configuration details, click modify:
- Optional: Select one or more project facets
from the Project Facets list. To specify server
runtime environments, click Runtimes and select
one or more runtimes. After making your selections, you can save your
custom configuration by clicking Save.
- Optional: Select the Add project
to an EAR module check box to add the new module to an
enterprise module (EAR) project. Type a new project name
or select an existing enterprise module project from the drop-down
list in the EAR Project Name combination box.
Or, click New to launch the New EAR module
Project wizard.
- Click Next.
- On the Connector Project page, in the Source
Folder: field, specify a folder for your source files
or accept the default value (connectorModule).
- In the Output Folder: field, specify
a folder for your output files or accept the default value (build\classes).
- Click Next. Select Generate
ra.xml deployment descriptor if you want to create a deployment
descriptor.
- Click Finish.