Hi Dhiren,
If I was implementing the 'Pet Store Customer Account', I would set up entity beans for User, Customer, Account, Profile, ContactInfo, Address and CreditCard. These can also be referred to as BO's as they contain state and behaviour. I would use CMP and CMR and local interfaces for all of them, which I would indicate within the deployment descriptor. I would set up a session bean as a facade (possibly with remote interfaces) to access these entity beans to provide data to a client
Thanks Ramon for your replies.
Referring to the above.. If each is an entity bean .. Which component is defined as the composite entity. What defines an entry point for an entity bean to be designed as composite entity bean.
I can just say from looking at other implementations that customer or may be the account (I am still mixed up) would be the composite entity having the dependent entity beans. Is there some aggregate /composite relation which truly identifes which one of the bean plays the role of composite entity and the other beans play the role of POJO's or simple entity beans.
Thanks
Dhiren