• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SCEA II & III

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ranchers,

I have some questions on how-to:

1. I'm using Rational Rose Realtime trial, is that the one recommended. When drawing class diagrams, is there a quick way to make the lines (association, dependency, etc.,) straight(i tried using the shift key approach and that didnt work). In the same tool, how to remove numbers in sequence diagrams and show life of objects?

2. My sequence diagram is getting long, is there a good way of showing it in two different diagrams? Also, should we have separate diagrams for alternate paths?

3. Cade's example shows using the Service locator only once in a sequence diagram but I would think we have to call it for every new call to a EJB, which is the right approach please?

Appreciate your help.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey There,
1) No there is no shortcut for creating lines in rational rose. Realtime is also no exception. In sequence diagram too you cannot remove the numbers ? Why u wanna remove them in the first place---

2) You can show the alternate routes in the same sequence diagram one after the other explaining with comments.

3)ServiceLocators are implemented as Singletons. It is understood to be present before every call to the EJB and hence can be shown in the first diagram and reference of it being used for all EJB'S in the assumption section.

Thanks
Sankha Subhra Das
 
Loga Nathan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sankha for the answers, specially the one on Service Locator being a Singleton.
reply
    Bookmark Topic Watch Topic
  • New Topic