Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Component diagram question

 
Elisabet Guldbrandsen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, a question re the component diagram:

Do I include the factories in it? Such as service locators etc. - they tends to clutter the diagram, especially with all associations drawn.
 
Chandramouli Ram
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Elisabet Guldbrandsen:
Hi, a question re the component diagram:

Do I include the factories in it? Such as service locators etc. - they tends to clutter the diagram, especially with all associations drawn.

As component diagrams really represent a very high level of abstraction, they should not exhibit clutter - and your concern is very valid. On the same count, there should not be too many associations - may be you need to focus on the level of abstraction for the list of associations you want to show. As Cade & Simon's book has been the bible, I would suggest you go by that.

Alternatively, you may add supplementary diagrams to move the low-level associations out of your main diagram.
[ September 13, 2007: Message edited by: Chandramouli Ram ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!