File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes what is association,aggregation and composition? what is the difference between them? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "what is association,aggregation and composition? what is the difference between them?" Watch "what is association,aggregation and composition? what is the difference between them?" New topic
Author

what is association,aggregation and composition? what is the difference between them?

Dez Max
Ranch Hand

Joined: Oct 01, 2002
Posts: 41
Hi Folks,
I would like to know
what is association,aggregation and composition? what is the difference between them?
regs
Max
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Hi Max,
this topic is discussed regularly here - a search on "association aggregation composition" should give you some usefull links.
It is also rather well explained in http://www.objectmentor.com/UMLFJP
[ February 26, 2003: Message edited by: Ilja Preuss ]

The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
Don't get me started about those stupid light bulbs.
 
subject: what is association,aggregation and composition? what is the difference between them?