aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes What should be included in class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "What should be included in class diagram" Watch "What should be included in class diagram" New topic
Author

What should be included in class diagram

Bijan Mohanty
Ranch Hand

Joined: Apr 16, 2002
Posts: 36
Hi folks,
I am having a hard time deciding what to show in the class diagram for the following situation.
For example Address, I have a domain class as well as an entity bean. The entity bean takes the domain object in it's ejbCreate. I would like to know which class I show in my class diagram. Should I show the domain class Address or the entity bean by putting a stereotype as <<entitybean>>. Or, should I use the entity bean in the component diagram and sequence diagram only and use the domain object in the class diagram
All expert advices will be appreciated.
Thanks a bunch in advance.
Bijan
Madhavi Pillai
Greenhorn

Joined: Jul 18, 2003
Posts: 1
Hi,
You can prepare a VOPC - (View of participating Classes) and show all the classes which belong to a particular use case, including the domain and entity bean class. VOPC, should also depict the appropriate relationship these classes share.
Jehan Jaleel
Ranch Hand

Joined: Jan 16, 2001
Posts: 38
But what really is the difference between a domain class and an entity bean when it comes to how they will be represented in a class diagram?
I see no point into putting both of them because their manifestations on the diagram seem to be very similar?
Jehan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What should be included in class diagram
 
Similar Threads
Should I show all the BO in the component diagram?
Entity Bean in Class Diagram
Class Diagram questions
Stereotypes in class diagram ?
Showing Entity EJB in Class Diagram ?