• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Class diagrams

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can I show my DAO classes, service locator classes and session beans in my class diagram.
 
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic