Before you start
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 Java 2 Platform, Enterprise Edition (J2EE) application containing JavaServer Pages (JSPs), a servlet, and a session bean. The sample application is a simple bookmark storage program.
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 Structured Query Language (SQL). This tutorial doesn't cover all the features provided by the WTP. For more information, refer to the Resources section.
Your UNIX®, Linux®, Mac OS X, or Microsoft® Windows® system must have:
- A functioning Java Virtual Machine (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 Java 2 Standard Edition (J2SE) Software Development Kit (SDK). J2SE 1.4.2_10 was used to write this tutorial.
- Download and extract the following to directories for later use:
- JBoss Application Server 3.2.3. Either the tgz or zip version is fine. Be sure to download the full distribution and not the jbossweb-tomcat* version.
- XDoclet-lib1.2.3. Either the tgz or zip version is fine.
- 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 (derby_core_plugin_10.1.2.zip and derby_ui_plugin_1.1.0.zip). Install each plug-in by expanding the zip file into your Eclipse IDE installation directory under the Eclipse folder.


