File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Duplicate Sequence diagram flows (vs referencing) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Duplicate Sequence diagram flows (vs referencing)" Watch "Duplicate Sequence diagram flows (vs referencing)" New topic
Author

Duplicate Sequence diagram flows (vs referencing)

Alex Belisle Turcot
Ranch Hand

Joined: Apr 26, 2005
Posts: 516
Hi ranchers,

I've been a silent reader on this board for this certification.. I've been working on Part2 for a few weeks now and I'm almost done.
At this point, the only thing I'm struggling with is the idea of duplicating identical flows in 3 sequence diagrams.
I keep going over this and can't get my mind straight.
My goal here is to have some of your input, opinions, comments...

--------------------------------------------------------
Imagine you have the 2 following use cases :
  • View oranges and pick the nicest
  • View apples, pick the nicest and make juice


  • [SOLUTION 1]
    I could create 2 supports Sequence diagram:
  • (A) View "fruit"
  • (B) Pick nicest "fruit"


  • Then the 2 Sequence Diagrams would be as follow
  • View oranges and pick the nicest (entirely referring to A and B)
  • View apples, pick the nicest and make juice (referring to A, B and adding the juice flow)


  • [SOLUTION 2]
  • Create both Sequence Diagrams from scratch and duplicate the flows in both.

  • --------------------------------------------------------
    By duplicating, it gives me the opportunity to use "getApples()" and "getOranges()" instead of "getFruits(String: fruitName)".
    When reusing sequence diagram, I'm not sure I like the fact that I would have to use generic words (such as fruit)..

    Do you think SUN would mind that I duplicate flows ?
    Or do you think they would mind that they have to look for referenced diagrams ?


    Thanks for your input,
    Alex
    Jeanne Boyarsky
    internet detective
    Marshal

    Joined: May 26, 2003
    Posts: 29237
        
    139

    Alex,
    In real life, I would absolutely go with approach #1. I find myself doing a few things in part 2 that I would never do in real life though to meet what I think Sun wants. I'm under the impression they want the duplication.


    [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
    Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
    Arpit Kumar Jain
    Ranch Hand

    Joined: Jun 05, 2010
    Posts: 41
    Hi Feel, Referencing another sequence diagram is a better idea.

    Thanks
    Arpit Jain


    SCJP, SCWCD, SCEA
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Duplicate Sequence diagram flows (vs referencing)
     
    Similar Threads
    parsing
    Focus for an html array input
    Generic class declarations
    List or arrays
    expressing alternate flows