File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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.

I agree. Here's the link:
subject: dependency vs association
jQuery in Action, 3rd edition