• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

help for understanding composite entity

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic