Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help for understanding composite entity

 
raj sirohi
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
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

Raj
 
Praison Selvaraj
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Raj,

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.

Thanks,
Praison
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic