Table of Contents

Eclipse - Project

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:

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>

Enterprise application

When creating an enterprise application, the normal process is to