Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

why void in ejbPostCreate() ?

843830Jul 28 2008 — edited Jul 29 2008
Hi all,

I have a question regarding ejbCreate() and ejbPostCreate() in entity Bean.
I know there is a need of ejbPostCreate(), because it's too early for ejbCreate to get reference of EJB Object.
so, here eibPostCreate comes in to the picture.

Now my question is why do we have return type of ejbPostCreate always void?
If, it is void then how will we get the reference of EJB object?

Thnaks in advance,

Regards,
Rahul
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2008
Added on Jul 28 2008
2 comments
394 views