Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Class diagrams

 
bee mul
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Confused with contents in a class diagrams ?
These are the things i have in mind.
Assuming all are in application server. Web server is just for detection redirection has only html and gif
Like IBM Websphere 3.5 or 5.x

Servlets
RequestHandler (Action classes)
Business delegate
Session facade
Session/entity ejb
DAO
Workers
Arch components ( servicelocator etc)

some Value objects and utility classes ( dateutil , formatters, jaxb handlers etc)


What should go in Class diagram ?


My component has package for each of the above ones.
And shows relation using arrows

Can some one post a url where i can check how the class should look like
I have seen petstore application
I found 2 different sets of class diagrams.

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/sample-app/sample-app1.3.1a3.html
Figure 20 , Figure 21 and figure 22
Fig 20 differs from 21 and 22


http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/app-arch/app-arch5.html#1100693
Fig 11.9 seems to me more of a component diagrams showing everything here


Also Should class diagram should be strictly one ?
Seems this diagrams are going to deviate from my real life experience.
Please respond ASAP..
 
sankha das
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bee,
yes following Cade, class diagram will tend to deviate from whats done in real life. None of those entities you've mentioned goes into a class diagram as all these are j2ee specific and needs to be entered in component diagram only. Class diagram should be only an extension(NOT MODIFICATION) of the BDM as far as the architecture exam goes. At the most, you can depict some workflow related components like TransactionWorkflowProcessor or FrequentFlyerProcessor etc and you can include a comment saying they'd be depited as SLSB in the design.
Hope that helps.

Thanks
Sankha Subhra Das
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic