This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
i recently received the second part SCEA exam, now i got several doubts. I read about the forum's rules on assignment, so i'm going to ask only something on the domain model and a definition of an entity and its relationship. i'll try to be vague, anyway:
There are 3 business entities, a user, a bill and a payment.
What does exactly means "payment", does it represent the informations about the payment of a bill? in this case the cardinality between the payment and a bill, should be 1 to 1. It should not possible to have several payments for several bills... * *
I know that in the assumption paragraph, i could modify the business domain model and eventually cardinalities "assuming that my idea is correct". But i'd like to understand before making an assumption.
Welcome to CodeRanch! Yes, I would take that to mean the payment of a bill.
Technically, I could pay my bill in chunks. I did that back when I first got a credit card and the max was really low. I 'd pay midmonth to get more time. I don't think this is a reasonable thing to have to worry about for the exam though. One tip is that you can assume anything you want (so long as it doesn't reduce the complexity of the assignment.) I submitted a bulleted list of assumptions with my part 2 exam. That way if something could be interpreted two ways, it was obvious I thought about it.
thanks for the reply. Ok assuming that i choose to pay the bill in chunks, i don't understand the second cardinality problem, 1 to 1, between a user and a payment, it should be 1 to many...for each user it'd be possible to have several payments. Or does it represent the status of my entities into my system during the payment? i got some problem to understand, may be that i can leave the BDM as is and represent it on the class diagram without any further study in deep about it.
Antoher question, it is neessary to model the entities of the BDM that i'd like to have into the DB? or it is out of scope?