• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Class diagrams

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic