Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Improved application development: Part 2, Developing solutions with Rational Application Developer

Nathaniel T. Schutta, Software developer, Studio B
Nathaniel T. Schutta, a Studio B author, is a software developer with extensive experience in the financial services industry, primarily developing Java-based Web applications. A self-proclaimed JUnit evangelist, he has contributed to two corporate Java frameworks, led several study groups, served as a mentor, and developed training materials. A Sun Certified Web Component Developer for the Java 2 Platform Enterprise Edition 1.4, Nathaniel's primary focus is on developing usable, intuitive user interfaces.

Summary:  Move from modeling your use cases to building the components of your application. Learn how Rational Application Developer enables you to create class diagrams while generating much of the template code for your components. With this outline in hand, add application-specific implementation code that extends the original model, which you will test in the final part of this tutorial by deploying your code to WebSphere, working through any bugs before moving to more formal testing.

View more content in this series

Date:  28 Jun 2005
Level:  Intermediate PDF:  A4 and Letter (761 KB | 30 pages)Get Adobe® Reader®

Activity:  2017 views
Comments:  

Before you start

About this tutorial

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.


Prerequisites

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.

1 of 8 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational, Java technology
ArticleID=93188
TutorialTitle=Improved application development: Part 2, Developing solutions with Rational Application Developer
publish-date=06282005
author1-email=nt@ntschutta.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Special offers