The moose likes EJB and other Java EE Technologies and the fly likes Container Managed Relations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Container Managed Relations" Watch "Container Managed Relations" New topic

Container Managed Relations

Maximilian Trenks
Ranch Hand

Joined: Jul 22, 2002
Posts: 104
I didn't find a good explanation on CMR.
Lets say I have a Table A which references table B. So I could make a table C with primkey of A and primkey of B as attributes.
But is this necessary ? Do i have to create a table and thus an entity bean ?
Or it it possible to just define the relationship as C and use this relation as if a real database table exists ?
Please help me to bring light in this matter.(does this phrase actually exist ?)

Student of Business Informatics<br />Kepler University Linz, Austria
I agree. Here's the link:
subject: Container Managed Relations
It's not a secret anymore!