• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Component Diagram Questions

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. Is it necessary to show value objects in component diagram (two many of them and they clutter the diagram)
2. Cade's book shows all links among components as dependencies (dotted lines). Is this the only possible relationship? And do we have to name the relationships as it is done in class diagram? (Cade doesn't name them in the book eg.)
 
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sanz,
1. VO's are not meant to be used in component diagrams. They are useful in sequence diagrams.
2. I have never seen anything but dependencies amongst components. Remember that most components have a facade as a link to the outside world. This facade will only ever be a dependency, as it delegates work to other classes in the package.

Ray
SCJP, SCWCD, SCBCD, SCEA (part 1), IBM-484, IBM-486
 
Sanz Vai
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Ramon. And how about naming the dependencies in Component Diagram?
 
Ramon Gill
Ranch Hand
Posts: 344
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sanz,
I've just checked Cade, Fowler and 'UML User Guide' to confirm . You do not name the dependencies in a component diagram.

Ray
SCJP, SCWCD, SCBCD, SCEA (part 1), IBM-484, IBM-486
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic