File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: Dec 21, 2004
Jan 27, 2005 11:14:00
what is the purpose of ejbPostCreate?
Difference between ejbCreate Vs ejbPostCreate?
Joined: Nov 03, 2004
Jan 27, 2005 21:42:00
In ejbPostCreate() only the bean can pass a reference to itself ie its
and not in ejbCreate(). check what happens when u try creating an entity...u will understand the need for ejbPostCreate().
Joined: Aug 07, 2003
Jan 27, 2005 23:10:00
A very common use for ejbPostCreate() is setting relationships for CMR entity beans. You must do it in ejbPostCreate() snice it doesn't have a primary key yet in ejbCreate().
I agree. Here's the link:
is ejbPostCreate() method is only for entitiy beans?
What is the exact use of ejbPostCreate()
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015