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.
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