Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transfer Objects in Component Diagram

 
Manny Pacman Pacquiao
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic