my dog learned polymorphism*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Transfer Objects in Component Diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Transfer Objects in Component Diagram" Watch "Transfer Objects in Component Diagram" New topic
Author

Transfer Objects in Component Diagram

Manny Pacman Pacquiao
Ranch Hand

Joined: Oct 04, 2006
Posts: 36
In the instructions document of the assignment it said that this diagram should show JSPs, EJBs, Servlets...etc, i've a copy of Cade's diagram but no transfer objects. Should I include the TOs? I've them in my sequence diagram. I think I should to show another j2ee pattern being utilize.
Lars Behnke
Ranch Hand

Joined: May 09, 2006
Posts: 76
Hi Manny, the purpose of the component diagram is to give an overview of components and their interaction. Generally, it's not the place to document single classes. I would rather put the transfer object into the class diagram. If you absolutely want to mention the TO in the component diagram, I would do it in a comment, e.g. "Transfer objects transport data across tiers".
Please note that this is my opinion, and I am not yet certified.
Manny Pacman Pacquiao
Ranch Hand

Joined: Oct 04, 2006
Posts: 36
Originally posted by Lars Behnke:
Hi Manny, the purpose of the component diagram is to give an overview of components and their interaction. Generally, it's not the place to document single classes. I would rather put the transfer object into the class diagram. If you absolutely want to mention the TO in the component diagram, I would do it in a comment, e.g. "Transfer objects transport data across tiers".
Please note that this is my opinion, and I am not yet certified.


Putting this comment "Transfer objects transport data across tiers" would surely be nice. Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Transfer Objects in Component Diagram