DevX Skillbuilding for IBM DeveloperWorks
DevX Skillbuilding for IBM DeveloperWorks
DevX Skillbuilding for IBM DeveloperWorks
Get regular email alerts when we publish new features!
DevX Update for IBM developerWorks

More Newsletters
Develop and Deploy J2EE Web Services Using WebSphere Application Server Community Edition
Create a sample enterprise application using Eclipse WTP, DB2 Express-C community edition, and two types of Web services. 

Level: Intermediate

Manu T. George (mageorge@in.ibm.com), Staff Software Engineer, IBM

21 Mar 2007

Register now or sign in using your IBM ID and password.

Java™ 2 Platform, Enterprise Edition (J2EE) 1.4 supports two types of Web service endpoints: Plain Old Java Object (POJO) and Enterprise JavaBeans (EJB) endpoints. IBM® WebSphere® Application Server Community Edition (also referred to as Community Edition in this tutorial) is a J2EE 1.4-certified application server that provides support for these two types of Web service endpoints. This tutorial shows you how to use the Eclipse Web Tools Platform (WTP) to create an enterprise application that implements both POJO and EJB Web services endpoints, using IBM DB2® Express-C as the database for the application. You'll use the Community Edition server adapter (formerly known as the Eclipse plug-in) to deploy the application to a Community Edition instance. And finally, you'll develop a client to call the Web services.

Objectives

  • Learn how to develop Web services applications using the Eclipse WTP and the WebSphere Application Server Community Edition server adapter.
  • Try out many of the tools included in the Eclipse WTP to create a J2EE sample application that implements both POJO and EJB Web services endpoints.
  • Find out how XDoclet can be configured and used with the WTP to generate the boilerplate code required in J2EE applications.
  • Learn how to create a data source to connect to DB2 Express-C in Community Edition and how to deploy the application to Community Edition from Eclipse using the server adapter.
  • Find out how to use the wscompile tool, packaged with Sun Microsystem's Java WSDP tool, to generate the mapping and WSDL files required to deploy Web services.
  • Learn how to test your Web services and write clients to invoke them.

Prerequisites

To succeed with this tutorial, you should be familiar with Java development in general and, specifically, server-side Java development. You should understand the general concepts behind relational databases and be familiar with basic J2EE concepts, such as deployment descriptors and WAR archives. You should also be familiar with XML, XML schemas, Eclipse, and the Eclipse WTP. Prior experience with application servers, Web services, and relational databases is also recommended.


System requirements

You need to download the following required (no-charge) applications to follow along with this tutorial and work with the sample code included:

Your hardware configuration should include the following:

  • Support for the JDK/JRE listed above with at least 512MB of main memory (1GB recommended)
  • At least 10MB of additional free disk space to install the software components and examples

The instructions in this tutorial are based on a Microsoft® Windows® operating system. All of the tools and techniques covered in this tutorial also work on Linux® and UNIX® operating systems.

Duration

Under 2 hours

Formats

html, pdf
Page 1 of 1