 | Level: Intermediate Scott Delap (scott@clientjava.com), Desktop/Enterprise Java Consultant
21 Feb 2006 The Eclipse Web Tools Platform (WTP) extends the Eclipse IDE to enable easy development of Java 2 Enterprise Edition (J2EE)-based applications. Learn how to install WTP, configure it for use with an application server, and use the tools it provides to create a J2EE application. In this tutorial
This tutorial uses the tools included in the Web Tools Platform (WTP), the Derby database Eclipse plug-ins, and the JBoss application server to build a sample J2EE application containing JSPs, a servlet, and a session bean. The sample application is a simple bookmark storage program.
Prerequisites
Before working on this tutorial, you should have a basic understanding of J2EE, including JSPs, servlets, and EJBs. You should also be comfortable using Eclipse. Finally, you should understand simple SQL.
System requirements
Your UNIX, Linux, Mac OS X, or Microsoft Windows system must have:
- A functioning JVM
- Enough disk space to hold the software packages listed shortly
- Space to create a workspace and associated projects for this tutorial
- Space to create a new database and J2EE Enterprise Archive (EAR)
- Enough free physical memory to run Eclipse, JBoss, and Derby concurrently
Before you start this tutorial, you must install a number of software packages on your system:
- Download and install a 1.4.2 version of the J2SE Software Development Kit (SDK). J2SE 1.4.2_10 was used to write this tutorial.
- Download a distribution of WTP V1.0, and configure it in an Eclipse IDE installation. If you're adding WTP to an existing Eclipse installation, check that you have the appropriate prerequisites installed before installing WTP. Another option is to download a WTP all-in-one distribution if you're using Linux or Windows. This distribution package contains a complete Eclipse IDE, the prerequisites for WTP, and WTP V1.0.
- Download the Apache Derby V10.1.2 Eclipse plug-ins. Install each plug-in by expanding the zip file into your Eclipse IDE installation directory under the Eclipse folder.
Duration
Under two hours
Formats html, pdf
|  | |  |