From my readings of Alur et. al., the Composite Entity
pattern has proved quite useful, in that a coarse-grained entity
EJB model exists for use via session facades, etc. Composite Entity appears to be quite useful in the pre-EJB 2.0 days, when a local calls did not exist.
IMHO, with the use of local calls, relational-object mapping can be fine-grained, i.e. one CMP entity-bean per table row, and then a session facade realizing a use-case with local calls to the CMP entity-bean. More importantly CMR (container-managed relationships) keeps multiple entity beans consistent throughout.
Thus, the old composite entity bean appears to be dead. I would appreciate any comments.
Thanks.
[ September 29, 2003: Message edited by: ahmad namini ]
[ September 29, 2003: Message edited by: ahmad namini ]