Sponsored Link •
|
Advertisement
|
Advertisement
|
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.
Message:
I think your remarks are very good and surely valid. In my opinion > Hi, > What about aggregation ? Is it not the other side of composition ? I view aggregartion as holding a reference to an object which exist outside the current object, otherwise same as composition. > Couple of good thigs happen here: > 1. Performance hit might be reduced as the object is already created > 2. More importantly, it can do distributed processing ! The aggregated object need not me in the same namespace of the aggregator !(Pardon the nouns). Try to do this with inheritence ! > I think, when we talk about composition, we should consider aggregation also especially in this age of distributed computing. > cheers
Replies: |
Sponsored Links
|