This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Class diagrams" Watch "Class diagrams" New topic

Class diagrams

Vinutha Gattu

Joined: Mar 18, 2008
Posts: 14

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

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

Joined: Mar 18, 2008
Posts: 14

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.

I agree. Here's the link:
subject: Class diagrams
It's not a secret anymore!