Enterprise application projects are deployed into EAR files. You can import an enterprise application project by importing it from a deployed EAR file.
If the EAR file contains project meta-data (the EAR was exported with the Include project build paths and meta-data files option selected) you can import it with the Import for partial EAR development option. This option imports the selected modules and utility JAR files as binary projects. This option is especially useful if you are importing into a workspace where some projects are in binary form and others are attached to a repository.
You can also choose to import utility JAR files as utility Java™ projects. You can also use the wizard to change the new project names for the EAR file and modules that will be imported.
You
can quickly drag and drop an enterprise application EAR file from the Windows® Explorer
or desktop to the Project Explorer view. The Import wizard will open with
appropriate fields already populated.
This process for importing an EAR file is not meant to be a project sharing mechanism. If you want to share projects, see Sharing projects using Project Interchange.
To import an EAR file using the wizard: