Composite Entity lost some of its advantages when EJB 2.0 was introduced. Sun now recommends to implement it with local CMP entity beans. OK, this makes perfect sense.
My question is: what is the purpose of this pattern now ? A) to manage (create/delete) dependent object from composite object B) to hide dependent object from other components thus making composite object act as "facade"
I thought that answer is B, but i found that in Pet Store composite object has getters for dependent objects local interfaces, so it can't be B.