Before you start
This tutorial is the second in a five-part tutorial series. We strongly recommend that you take all the tutorials in this series sequentially, because each tutorial builds upon something that was done in the previous tutorial.
In this tutorial, you build a class diagram, generating Enterprise JavaBean (EJB) code as you work. While this tutorial doesn't have the space to create a full-fledged application, you will end up with two of the main business components of a sample application in place, mostly functional, and tested. In this tutorial, you'll be working with the Auction application, an example that is used throughout the IBM® product family. This is a Web-based application that leverages Java™ 2 Platform, Enterprise Edition (J2EE) technology to create an auction system similar to eBay, Yahoo, Amazon, and other auction sites and systems. As you would expect, users can put items up for bid, and other users can bid those items.
As you proceed through the tutorial, you will work with the newest version of a tool that greatly aids the development process: IBM Rational® Application Developer (formerly IBM WebSphere® Studio Application Developer), part of the IBM Software Development Platform. This new product helps unify a development organized on the Eclipse™ project from design through deployment and represents a small part of the complete solution for software development that is available in the IBM Software Development Platform.
This tutorial includes the following:
- Getting started: Start where you left off at the end of Part 1 of this series by setting up a project workspace. This section gets you ready for the rest of the tutorial.
- Building the UML class diagram: Next, visually create your classes, taking advantage of the newer, more powerful Unified Modeling Language (UML) modeling features of the Rational Suite®.
- Adding business methods: Modify the generated EJB code slightly while adding additional business methods. You do some manual coding and start to see the power of annotations.
- Deploying and testing your beans: With your EJBs mostly developed, deploy and run them in WebSphere, where you test them using the IBM Universal Test Client.
With the code fully built, it's time to start testing. In Part 3 of this tutorial series, you'll track these defects with IBM Rational ClearQuest® and trace the defects and other changes requests back into IBM Rational RequisitePro®.
Before you begin the tutorial, you should be familiar with the Java language and core J2EE concepts. Experience with UML and EJBs, though helpful, is not required.
To complete the steps in this tutorial, you need Rational Application Developer Version 6.0. Download a trial version. Downloads are available for Microsoft® Windows® 2000, Windows Server® 2003, and Windows XP along with x86-based Linux machines.




