• 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

Pre-conditions and Post-conditions in separate Diagrams ?

 
author
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 194
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic