File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Collaboration/Sequence Diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Collaboration/Sequence Diagrams" Watch "Collaboration/Sequence Diagrams" New topic

Collaboration/Sequence Diagrams

Required Field
Ranch Hand

Joined: Jan 03, 2006
Posts: 39

Do I need to draw Sequence/Collaboration diagrams for each alternative flow
in all the Use Cases?

For e.g. Prepare Itinerary.

Also, does the Sequence/Collaboration diagram represent the technical/internal runtime view of the system OR do we pictorially show the use-case description as provided in the use-case specifications.

If its the technical view, my Sequence diagram will be similar to (pseudo-names):

FlightSearchResults.JSP -> ApplicationController -> PrepareItineraryAction - > ItinerarySessionFacade -> ItineraryEntity -> etc...

If its the business view, my Sequence diagram will depict the following textual-description:

Customer enters departure city, departure time, departure date, destination city, return time, return date, and selects round-trip or one-way.

System responds with a list of departure flights and return flights.

Customer selects the departure flight and return flight.

System responds with the selected flight priced and alternative flights if less than selected and within one hour of departure and return times.

Customer selects flights.

System responds with seat availability for selected flights

Customer selects seats

System prices the itinerary and returns the itinerary confirmation window with selected flights

Customer confirms the itinerary

System sends the priced itinerary to Pay for Itinerary Use Case

Which one is it? My guess is its the first one (technical/runtime view). If any of experienced/certified folks can give some direction, I will be obliged!

Thanks a lot!
[ February 27, 2006: Message edited by: Akshay Shrivastava ]

Sun Certified Enterprise Architect
I agree. Here's the link:
subject: Collaboration/Sequence Diagrams
jQuery in Action, 3rd edition