Eclipse - Project

> Integrated development environment (ide) > Eclipse

1 - About

Enterprise applications consist of a collection of projects which appear as siblings in the workspace. For every enterprise application you must create the following an enterprise application (EAR) project that serves as the assembly point for all of the projects in the application.

The Java code and other files of the application are then contained in additional projects:

  • dynamic web project(s),
  • web service project(s),
  • EJB project(s),
  • and/or utility project(s).
Advertising

3 - Nature

Projects have a specific nature associated with them via the .project file.

Example of Project file:

<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>hello_world</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>org.eclipse.jdt.core.javabuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>org.eclipse.jdt.core.javanature</nature>
	</natures>
</projectDescription>

4 - Enterprise application

When creating an enterprise application, the normal process is to

  • Create a new workspace for the application (optional)
  • Create an EAR project to link all of the application's projects
  • Create projects for the modules within the application
  • Create the project contents.
ide/eclipse/project.txt · Last modified: 2012/09/14 14:19 by gerardnico