• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

basic question about class diagrams

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm studying the Cade's book for an example of the class diagram. In Cade's book, the class diagram seems to be based upon the business model alone. Just wondering if this level of detail is appropriate. Don't we need to show DAO classes, Service Locator, Session Facades ..etc in the class diagram? And also do we need to show the detailed attributes and accessor methods?

Thanks.
 
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are 2 ways of thinking about class diagrams

1. Class diagrams should show only business classes and no implementation specific classes
2. Class diagrams should show all classesin the system i.e implementation speciifc classes as well.

I personally think that option 1 is good as there are other UML diagrams like package diagrams and component diagram where we can show implementation details.
 
abd hassan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks. So I guess any approach would be fine. Can anybody who passed part2 like to share their experience?
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Class diagrams are supposed to be implementation independent ie whether you use a j2ee system or vb, they will not change. For the architecture exam, however, you can add some stateless beans(like customermanager, transactionprocessor etc) to strengthen a j2ee solution.
All specific j2ee components will be in component diagram ONLY.
 
Won't you be my neighbor? - Fred Rogers. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic