File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes Question regarding FBN Use Case Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "Question regarding FBN Use Case" Watch "Question regarding FBN Use Case" New topic
Author

Question regarding FBN Use Case

Arun Bommannavar
Ranch Hand

Joined: Jan 11, 2003
Posts: 53
Hello all,
I started to stare at the assignment about a week ago. Just for fun I decided to try to follow UML methodology and see how it goes. Incentive for the "fun" is that I like to go for SCEA later(if I feel confident enough). Since I cannot show figures in this post, I'll do my best to explain it in words.
I know it is not necessary or required to follow this technique for the "Developers" certification, but I appreciate all your comments.
*****************
use case 1: Book Flight
use case 2: View Flight Details
use case 3: Search Flight
use case 4: Choose operating Mode

(Book Flight) <<includes>> (View Flight Details)
(View Flight Details) <<includes>> (Search Flight)
Draw a line from Actor to use case 1
Draw a line from Actor to use case 2
Draw a line from Actor to use case 3
Draw a line from Actor to use case 4
The is slightly different from the use case described in Max Habibi's book, for a similar problem.
Question 1: Any comments on the <<includes>> part in my use cases? (Absent in Max Habibi's book)
*******************
For the Book Flight use case, I wrote the following flow of events:
(1) Main flow of events:
The use case starts when the customer enters the flight origin and flight destination. The available flight information is then displayed. The customer selects a particular flight and enters number of seats. The use case ends when the customer clicks on the "submit" button.

(2) Exceptional flow of events.
Customer can change the flight origin or flight destination before submitting. Use case restarts.
(3) Exceptional flow of events.
Customer can change the number of seats before submitting.Use case restarts.
(4) Exceptional flow of events.
Customer can cancel the transaction at any time by pressing the "Cancel" button. There will be no flight booking done. The use case ends.
(5) Exceptional flow of events.
Customer can cancel the transaction at any time by pressing the "Cancel" button. There will be no flight booking done. The use case ends.
(6) Exceptional flow of events.
The number of seats available on the flight is less than the number of seats requested by the customer. The system displays alert message. The system does not commit the entry. The use case restarts.
I have written similar use cases for the "Choose Operating mode" also but not posting it here. (Just for brevity)

Any comments?
Thanks again...
Arun
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

Since I cannot show figures in this post

Anything is possible when you are a cowboy (use the image button):
<-- ServerFactory
<-- LockManager
<-- GUI
Eugene.
[ January 21, 2003: Message edited by: Eugene Kononov ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

Eugene, I really like your GUI, it looks very pretty.
3) Exceptional flow of events.
Customer can change the number of seats before submitting.Use case restarts.
(6) Exceptional flow of events.
The number of seats available on the flight is less than the number of seats requested by the customer. The system displays alert message. The system does not commit the entry. The use case restarts.

Use case shouldn't restart, it goes back a step or two only. They still could keep the search criteria the same
and then the search is not re-performed.

(4) Exceptional flow of events.
Customer can cancel the transaction at any time by pressing the "Cancel" button. There will be no flight booking done. The use case ends.
(5) Exceptional flow of events.
Customer can cancel the transaction at any time by pressing the "Cancel" button. There will be no flight booking done. The use case ends.

Duplicate exceptions.
Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Arun Bommannavar
Ranch Hand

Joined: Jan 11, 2003
Posts: 53
Mark,
Thanks for the feedback.
I didn't pay attention to cut-and-paste and that showed (as duplicate 4 and 5).
5 should have addressed the case of customer closing the application GUI.
I agree with your comments on 3 and 6.
***************
Eugene,
I am pretty new around here and learning everyday. Thanks for the tip on showing graphics

I'll look around for freebie tool for UML drawing and use that next time. Thanks again.
Regards
Arun
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

I'll look around for freebie tool for UML drawing and use that next time. Thanks again.

UML Pad is very simple and free.
Eugene.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question regarding FBN Use Case