File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Regarding pre-conditions" Watch "Regarding pre-conditions" New topic

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.

I agree. Here's the link:
subject: Regarding pre-conditions
It's not a secret anymore!