Showing both Value Object and its corresponding Domain object in Class diagram
Joined: Jul 21, 2003
Have the examinees shown both Value object and its corresponding domain object in the class diagram?
Pham Huy Anh
Joined: Aug 23, 2006
Hi, I think Business Domain Object is the term that Business Analysist uses to modelize. In Java design, it should be transformed into Value Object/Transfer Object or (entity EJB). I prefer VO/TO 'cause it is more clear, and easy to understand (Object that stores data, that glues layers, components.
How do you think?
In fact, the term VO/TO is defined by Sun. I worked for IBM, they said BusinessObject, DataObject
When designing your class diagram, I should try to focus on object oriented analysis and design techniques (OOAD). At the analysis level, do not include any architectural patterns in the diagram. They should only define business entities and contraints.
At the design level, you can put some extra classes like TO/VO's. To be honest with you, for the exam pourposes, it do not require those patterns. Try to keep your class diagram technology neutral, regardless the business components like fa�ades or business objects.