John Hartnet

Greenhorn
+ Follow
since Apr 26, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by John Hartnet

1 - In the SCEA Study Guide by M. Cade and S. Roberts they include in the class diagram some stateless ejb's and some new classes.
My doubt: some of the business class could be implemented by entity ejb's... Must I include the <<EntityBean>> stereotype on the diagram, for example <<EntityBean>>Customer???

>> I think that shouldnt be a problem.
2 - For the already SCEA: I'm a bit confused by the relationship 1-1 between Segment and Flight? Can you give some tips?

>> Consider Segment as a leg of journey which has a leg no, connection indicator and a flight no + other stuff
So your PHL HNL could have 2 segments
Segment 1
leg no 00
connection indictor Y
flight no Flight->flight no
dest LAX
gateway PHL

Segment 2
leg no 01
connection indictor N
flight no Flight->flight no
dest HNL
gateway LAX
So the smallest denomination is a segment which has exactly one flight associated. Both the segments together will form 1 option.

3 - Can I add some entity like CreditCard ???
>>Sure
4 - What about represent two generalizations of Seat named CoachSeat and FirstClassSeat??? And about a generalization of Itinerary named PaidItinerary???
>> Not needed i think.
FBN -
Order v/s Itinerary
Should there be a separate sequence diagram for Create Order?
Do I need to provide sequence diagrams for trivial UCs like login/register user ?
Thanks