 | Level: Intermediate Michael Galpin (mike.sr@gmail.com), Developer, eBay
20 Nov 2007 It's a good time to be a Web developer. You've never had more choices in terms
of technologies. There are so many great open source Web servers, databases,
programming languages, and development frameworks. No matter what combination of
technologies you prefer to work with, there is an integrated development
environment (IDE) that can increase your productivity: Eclipse. In this tutorial, Part
1 of a three-part "Web
development with Eclipse Europa" series on how to use Eclipse for Web development
with Java™ technology, PHP, and
Ruby, we'll see how the latest release of Eclipse — Europa — can be used to rapidly
develop Java Web applications. We'll use Java Platform, Enterprise Edition 5 (Java
EE) for Eclipse to build a Web application for tracking and calculating baseball statistics.
In this tutorial
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.
Prerequisites
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.
System requirements
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.
Formats html, pdf
|  | |  |