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]

Hello World: Rational Software Architect V7

Design and implement a simple phone book application (updated)

Tinny Ng (tng@ca.ibm.com), Advisory Software Developer, IBM Toronto
Tinny Ng
Tinny Ng is a scenario architect at the IBM SWG Scenario Analysis Lab, whose mission is to improve the cross-brand integration capability of IBM SWG products. She has more than 10 years of experience in software development, from design to implementation, including application building, packaging, testing, and support.
(An IBM developerWorks Contributing Author)

Summary:  This first tutorial in the Hello World series has been updated for Rational Software Architect V7. Hands-on exercises walk you through every step of designing and implementing a service-oriented application using Rational® Software Architect V7, including using UML diagrams to design and model an application, publishing the model information to a Web page, and transforming the design to Java™ code. It concludes with an introduction to Rational Software Architect V7's new true round-trip engineering (RTE), which makes it possible to forward- and reverse-engineer Java code, giving you a head-start on implementing your designs.

View more content in this series

Date:  20 Feb 2007
Level:  Intermediate PDF:  A4 and Letter (2079 KB | 38 pages)Get Adobe® Reader®

Activity:  28899 views
Comments:  

Publishing the design

Publishing the model information for your application design allows you to share it with stakeholders who do not have a modeling tool. In this section you will learn how to publish your design to a Web page.

Would you like to see these steps demonstrated for you?

Show meShow me

  1. Select Phone Book UML Model in Rational Software Architect's Model Explorer view.
  2. Select Modeling > Publish > Web, as shown in Figure 14.

    Figure 14. Publishing a design to a Web page
    Publishing a design to a Web page

  3. Specify the target location of the generated HTML files, for example C:\HelloWorldSeries\RSA_Web, and select OK. The model is then published into HTML files that are stored in the specified location.
  4. Open the file C:\HelloWorldSeries\RSA_Web\index.html, as shown in Figure 15, using any Web browser.

    Figure 15. A published Web page
    A published Web page

  5. Select the link Phone Book UML Model.
  6. Navigate the published model by clicking the links for Elements and Diagrams, as shown in Figure 16.

    Figure 16. Navigating the published Phone Book UML Model
    Navigating th published Phone Book UML Model

9 of 15 | Previous | 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
ArticleID=196561
TutorialTitle=Hello World: Rational Software Architect V7
publish-date=02202007
author1-email=tng@ca.ibm.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).

Try IBM PureSystems. No charge.