Before you start
What is SOA? SOA is defined as "an IT architectural style that supports the transformation of a business into a set of linked services, or repeatable business tasks, that can be accessed when needed over a network."
Why use Eclipse STP? Its aim is "to build frameworks and exemplary extensible tools that enable the design, configuration, assembly, deployment, monitoring, and management of software designed around a SOA."
This tutorial is for Service-Oriented Architecture (SOA) and Web services developers who want to learn to use the Eclipse SOA Tools Project (STP) plug-in and see for themselves how it can simplify their SOA development.
This tutorial shows the advantages and simplicity of using the Eclipse STP plug-in to build a Web service. You will learn how to do the following with the STP plug-in:
- Create a project
- Develop a Java interface
- Annotate the interface with Web services properties
- Generate WSDL
- Generate Java code from WSDL
- Add implementation code to your Web service
- Compile a WAR file of your Web service
- Deploy and test the Web service
This tutorial relies on several Eclipse and Apache technologies for development with the STP plug-in:
- Eclipse
- Eclipse is the platform upon which the Eclipse SOA Tools plug-in runs. Download Eclipse V3.2 from Eclipse Foundation.
- Eclipse STP prerequisite plug-ins
- Before you install the STP plug-in, you need to install several
prerequisite plug-ins. The version numbers and links to download
them are listed at Eclipse.org for the STP
version you specify. At the time this was written, the latest
stable build was 1 Feb 2007. The plug-ins you need to install and download and install
are shown under "Requirements." You should already have Eclipse V3.2
installed. Prerequisite plug-ins:
- Eclipse EMF-SDO-XSD SDK
- Eclipse GEF SDK
- Eclipse JEM SDK
- Eclipse WTP SDK
- Eclipse GMF Runtime
- Eclipse STP Core SDK
- Now that you've got the prerequisite plug-ins, you can download the STP Core SDK plug-in, which you'll see under "SOA Tools Platform" on the STP download page.
- Eclipse STP ServiceCreation
- In addition to the STP Core SDK, you need to download the STP ServiceCreation plug-in, which you'll see under the link from which you downloaded the STP Core SDK.
- Eclipse STP SOAS
- In addition to the STP Core SDK, you need to download the STP SOAS plug-in, which you'll see under the link from which you downloaded the STP Core SDK and STP ServiceCreation.
- Eclipse DTP SDK
- You need to use the Eclipse DTP to aid deployment on Web servers other than the stand-alone Web server bundled inside Eclipse.
- Eclipse Apache CXF plug-in
- The STP plug-in uses Apache CXF its JAX-WS implementation, among other things.
- Apache CXF Runtime
- Once you've got everything installed, you need to tell Eclipse where to find the Apache CXF Runtime.
- Apache Tomcat
- You'll do a final test by deploying the Web service on Apache Tomcat. Download the latest Apache Tomcat V5.5.
You'll learn more about installation details before you begin coding later in the tutorial.

