This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes help for understanding composite entity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "help for understanding composite entity " Watch "help for understanding composite entity " New topic

help for understanding composite entity

raj sirohi
Ranch Hand

Joined: Mar 02, 2010
Posts: 35
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


Praison Selvaraj
Ranch Hand

Joined: Jun 05, 2010
Posts: 49
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.


subject: help for understanding composite entity
Similar Threads
Composite key in collection of basic type
EJB 3: JPA versus Beginning EJB 3 App Dev
Java EE 5.0
Segment Entity
O/R Mapping and EJBs