aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Regarding pre-conditions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Regarding pre-conditions" Watch "Regarding pre-conditions" New topic
Author

Regarding pre-conditions

suekar meredilko
Ranch Hand

Joined: Mar 27, 2006
Posts: 153
I have a question regardign the 2 pre-Conditions (login and profile).

Are we suppose to show them in every sequence diagram or just once ?

How are the rest approaching it. I have done a sequence diagram for each login and profile creation. But I am confused whether I should show them in each of the other use-cases like price, change, pay etc.

any thoughts ?
Cleuton Sampaio
Ranch Hand

Joined: Nov 11, 2005
Posts: 181
Hmmm, good question.

There are some cases in which you must return to a specific page, like when you want to change an itinerary.

So, you must handle the end of sequence diagram according to the case. You should also note that the end user is not the starter of login in every case. Sometimes the system starts the login use case. IMO, you should include the login and profile creation in every use case that uses them.

But, I am in the same situation as you are: designing phase 2. Maybe other people can say something more appropriate.

Cleuton (Brazil)


Cleuton Sampaio<br />Systems Architect<br />(SCEA,SCWCD,SCBCD,MCSE,MCSD)
suekar meredilko
Ranch Hand

Joined: Mar 27, 2006
Posts: 153
Yes, I agree with you, actually I'll have to change my design a bit to insert a login and customer profile check everytime when the request comes to my front controller.

As such in the usecase that we have been provided ...... all the 4 use-cases require a pre-condition of login and profile.

thanks.
 
Don't get me started about those stupid light bulbs.
 
subject: Regarding pre-conditions