Before you start
Eclipse developers have worked hard to make Web developers' lives easier. The Europa release of Eclipse provides several tailored editions of Eclipse, including editions for Web developers.
In this "Web development with Eclipse Europa" series, you'll see how no matter what your language of choice is, Eclipse is the platform for Web development. Its flexible plug-in system makes it easy to create versions of Eclipse customized for Web development with Java technology, PHP, and Ruby. You'll see how different plug-ins give Eclipse unique capabilities for each language. You'll also see some of the common features that all Web developers can take advantage of. Throughout this series, we will be creating a sample baseball Web application, which will allow us to enter in game data for baseball players and calculate statistics for those players.
In this tutorial, Part 1 of a three-part series, we'll use the Eclipse Java EE version for Java Web development. We'll use Eclipse to connect to a database, create tables, and create test data in our database. We'll configure Eclipse to use a Web server, then use Eclipse's wizards to create a Web application, Web pages, and data access code. Finally, we'll use Eclipse to control our Web server, publish our application, and even debug it as it runs on the server.
A background in Java programming is essential for getting the most out of this tutorial. Familiarity with the Eclipse IDE is helpful, but not necessary.
You'll need the following:
- Eclipse Europa
- This tutorial uses Eclipse V3.3 (Europa).
- Java Development Kit (JDK)
- This tutorial shows you how to develop Web applications using Java technology, so you'll need the Java Development Kit (JDK) 5.0 or higher. Download V5.0 or V6.0.
- Eclipse IDE for Java EE Developers
- You'll also need the Eclipse IDE for Java EE Developers.
- Java Runtime Environment (JRE)
- To run Eclipse, you must have a JRE.
- Apache Tomcat
- The application uses a Apache Tomcat as its container.
- MySQL V5.0
- The application uses MySQL V5.0 as its database.
- Java Persistence API
- You will also need the Java Persistence API and, in particular, the OpenJPA implementation.





