Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Web Tools Guide
Previous Page Home Next Page

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).

Like the other types of projects, connector projects can contain one or more project facets, which represent units of functionality in the project. A new connector project should have the J2C Module facet. Depending on what you want to use the project for, you may want to enable other facets for the project.

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

To create a new connector project, complete the following steps:

  1. In the Java™ EE perspective, click File > New > Project .
  2. In the New Project Wizard, select J2EE > Connector Project and click Next.
  3. In the Project Name field, type a name for the connector project.
  4. Optional: To change the default project location, clear the Use default check box under Project contents and select a new location with the Browse button. If you specify a non-default project location that is already being used by another project, the project creation will fail.
    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, you must use the New Enterprise Application Project wizard.
  5. Optional: If you want to add the new project to an enterprise application project, select the Add project to an EAR check box and select a project in the EAR Project Name list. If you choose to add the project to an existing EAR project, the Target runtime field becomes disabled because the target runtime for the new project will be the same as that of the EAR project.
  6. In the Target runtime field, select the target runtime for the project.
  7. Optional: To use a predefined configuration for your project, select a configuration in the Configuration list. You can click the Modify button to do the following:
    • Customize project facets. Select the check boxes next to the facets you want the project to have and select a version number for each facet. Select a facet name to see more information about that facet in the Details tab. You can also choose a preset combination of facets from the Configurations list.
    • Limit your project to be compatible with one or more runtimes. Click the Show Runtimes tab and select the runtimes that you want the project to be compatible with.
    Click Next.
  8. In the Source Folder field, enter the name of the folder to use for source code.
  9. Click Finish.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire