aspose file tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes dependency vs association Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "dependency vs association" Watch "dependency vs association" New topic

dependency vs association

william kane
Ranch Hand

Joined: Nov 21, 2000
Posts: 260
I am still not clear abt the difference between dependency and association.I have read that dependency is used to model a realtionship where changes to one party effect the other.If thats the case can "student uses the library" be modeled as a student---->library ??? in a college information application.Or will can it be modelled as an association?
That leads me to another question "is this distinction between dependency and association of any value?" in my analysis.

Help me!Help you!!!
Donald R. Cossitt
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
Check this out. Also this response by Paul Wheaton and others over at Beginners.

jQuery in Action, 2nd edition
subject: dependency vs association