posted 21 years ago
I'm intersted in this discussion. Hope I understand it. I am currently needing to put together a one-to-one relationship and need to understand the process if both beans need to have references to each other as they are created. I am imagining it would go something like this (create method of one ejb takes enough params to create both, the create method of the second takes a reference to the first and you uses a combination of create and post create to set up the persistent relationship):
bean 1 (name):
Will this work? Is this the way to do it? Is there a better way?
Any thoughts?
Regards,
Matthew
Matthew<br /> <br />Surrey, England<br /> <br />SCJP, SCBCD<br />Preparing: SCWCD, SCEA<br />My env: JBoss-4.0.0RC2 running on j2sdk1.4.2_06 running on Linux 2.6.11-1.14_FC3 running on Intel Pentium 4E Prescott 3.0GHz FSB800 1MB Cache on a ASUS P4S800 SiS648FX Socket 478 800FSB 3DDR 400 ATA133 motherboard