File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class diagrams

 
Vinutha Gattu
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 119
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can I show my DAO classes, service locator classes and session beans in my class diagram.
 
giuseppe fanuzzi
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic