wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Pre-conditions and Post-conditions in separate Diagrams ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Pre-conditions and Post-conditions in separate Diagrams ?" Watch "Pre-conditions and Post-conditions in separate Diagrams ?" New topic
Author

Pre-conditions and Post-conditions in separate Diagrams ?

Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Posts: 190
Hi all,
I'd like to hear your opinion about pre & post conditions.
Which one is a valid choice ?

1. Include them in the main Sequence diagrams (where they're a pre/post condition)

2. Create a separate diagram for them

3. add simply a note to the main Sequence Diagrams

I hope to hear your advice
Thanks
Francesco


WildFly 8 Administration Book - JBoss Tutorials
Newman Huang
Ranch Hand

Joined: Mar 31, 2003
Posts: 85
hi, Francesco,

your question maybe relate with how you draw your sequence diagram. is it a big one or different diagram for each use case? if you choose the former, the pre/post condition is not a problem for your operation procedures are all in one diagram. if you draw them in different small diagrams, the pre/post condition means it is drawed in other diagram. you need to link them togethor to express the relationship.


SCJP,SCJD,SCEA
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1167
Hi Francesco,

I suggest to keep the sequence diagrams simple. After all, they constitute only 12 points in the exam. Therefore, I would go with your third choice.

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Francesco Marchioni
author
Ranch Hand

Joined: Sep 22, 2003
Posts: 190
Thanks for your reply. Yes I agree, it's preferable to keep SD simple....anyway I wonder what would be of my login procedure ? for example if I choose JAAS instead of Form-based-login, should I illustrate my login procedure with a separate sequence diagram ?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Pre-conditions and Post-conditions in separate Diagrams ?
 
Similar Threads
Pre Conditions & Post Conditions
Passed SCEA with 98%
CLEARED PART II & III with 90%
Interview Question
Passed 2/3 with 95