Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

the difference with association and dependency in UML relationship?

 
Akong Gong
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
who could help me?
explain the difference with association and dependency in UML relationship?
 
william kane
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Akong Gong:
Hi!
who could help me?
explain the difference with association and dependency in UML relationship?

dependency is a weaker relationship than association.Association is a structural relationship and dependency is a relationship that can last say only for a method invocation.
Ex the relationship between your DisplayPerson.jsp(a jsp used to display person details) and you Person class is a dependency where as the relationship b/w your person class and you ContactInfo class is an association.(assuming you person has a contact info)
Hope that helps
 
Akong Gong
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you!
william kane
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic