wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Container Managed Relations" Watch "Container Managed Relations" New topic
Author

Container Managed Relations

Maximilian Trenks
Ranch Hand

Joined: Jul 22, 2002
Posts: 104
Hello,
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 ?)
Max


Student of Business Informatics<br />Kepler University Linz, Austria
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Container Managed Relations