wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Class diagrams Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Class diagrams" Watch "Class diagrams" New topic
Author

Class diagrams

Vinutha Gattu
Greenhorn

Joined: Mar 18, 2008
Posts: 14
Hi,

What is the difference between Class diagram and collobration diagram.
Can I show Entity classes in class diagram.


Regards,
Vinutha.
Rodrigo Lopes
Ranch Hand

Joined: Feb 29, 2008
Posts: 119
Class diagram represents static behavior, by showing the relationship between classes (associations, generalizations, specializations, agreggations, compositions and so on)
Colabortion diagrams represents dynamic behavior, it shows how classes colaborate with each other, to which classes one class communicates. It can derived from a sequence diagram, and vice-versa.
Vinutha Gattu
Greenhorn

Joined: Mar 18, 2008
Posts: 14
Hi,

Can I show my DAO classes, service locator classes and session beans in my class diagram.
giuseppe fanuzzi
Ranch Hand

Joined: Sep 18, 2006
Posts: 99
Components like DAO, service locator, business delegate, filter, helper, and so on are design strategies.
They are translated to java classes, obviously, but are components that exists only for a design strategy.
so i think that they're best suited to show in a component diagram.
In a class diagram you've to draw primarly the business classes.


GiUsEpPe (SCJP, SCWCD, SCBCD, IBM OOAD, SCEA/OCMJEA 5)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Class diagrams