Hello...
I'm just new to EJB so please bear with my basic EJB question.
How to you model one to many relationship in EJB? I've checked the one in
Richard-Monson
Haefel book (356-357, CabinPK stored in Vector cabins) and J2EE blueprint
(ShoppingCartEJB, it stores itemNo). Both used the primary key to reference dependent
objects. Isn't it true that entity bean must contain a list of direct references to
those dependent objects rather than using primary keys to reference dependent objects?
I
also noticed that it converts the key to object on the fly whenever the
getManyObjects()
is called. Is this a normal practice?
Please guide me. Thanks...
Jerson
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail � Free email you can access from anywhere!
http://mail.yahoo.com/
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".