In this tutorial, you will spend most of your time working with files in an EGL web project. This project will contain the EGL code, web pages, and sample database that make up the logic, interface, and data for the application. Before you begin creating projects, however, you need to decide which server you will use in the tutorial.
If you choose WebSphere® Application Server, you will need an Enterprise Application Resource project (EAR project) in addition to the EGL web project. The EAR project contains information about deploying an application in the J2EE framework, including how to run it on a server and how to connect it to data sources. An EAR project can contain one or more other projects, meaning that the EAR project contains information on deploying those projects. The projects contained by an EAR project are called modules. In this case, your EGL web project will be a module within the EAR project. In a large application, an EAR project could have many different types of modules doing different jobs.
If you choose Apache Tomcat, however, you will not need an EAR project, and in fact, you will not be able to use an EAR project. WebSphere Application Server is a full-featured application server that can run each of the types of modules in the J2EE framework, including web projects (like your EGL web project), EAR projects, and Enterprise JavaBean (EJB) projects. On the other hand, Tomcat is a web server, designed to run only web projects; it does not support other types of J2EE projects such as EAR projects or EJB projects.
The tutorial application will run the same way regardless of which server you use, but you should be aware of the differences between the servers. If you use WebSphere Application Server, you will create an EAR project and put the database connection information in that EAR project. If you use Tomcat, you will put the database connection information directly into the EGL web project.
For the rest of the tutorial, be aware of sections that apply to WebSphere Application Server or to Apache Tomcat. If the instructions refer to projects, files, or options that you do not have, check to see that you are in the correct section for your server.

Because your project will have a web page interface, you need to create an EGL web project. An EGL web project combines the features of a dynamic web project and an EGL project. If you are using WebSphere Application Server, you will also create an EAR project.
The Enterprise Explorer view looks like this if you are using WebSphere Application Server:

The Enterprise Explorer view looks like this if you are using Tomcat:
