Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pre-conditions and Post-conditions in separate Diagrams ?

 
Francesco Marchioni
author
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Newman Huang
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Francesco Marchioni
author
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic