Since in java EE 5.0 we can pass jpa entities across tiers , what is the use of composite entity , can someone please help me in clarifing how is is useful and how / when is should be used in java EE 5.0.
thanks a lot
SCJP5.0 , SCBCD5.0, SCEA
posted 6 years ago
A composite entity still holds good in JEE 5.0. Consider an entity User (mapped to the User table), which has among other properties a property called billingInfo (mapped to the billing table), preferences (mapped to the preferences table) etc. The Entity 'User' is a Composite Entity.