This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes need ejbpostcreate method for each create method in the bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "need ejbpostcreate method for each create method in the bean" Watch "need ejbpostcreate method for each create method in the bean" New topic
Author

need ejbpostcreate method for each create method in the bean

Vasantha Prabha
Ranch Hand

Joined: Oct 02, 2003
Posts: 108
Is it must to have an ejbpostcreate method for each create method ?
Regards,
Sangeetha


Regards,Vasantha<p>Great minds discuss ideas. Average minds discuss events. Small minds discuss people.
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8904

Yes it is a must for Entity beans.


Groovy
Sergiu Truta
Ranch Hand

Joined: Dec 16, 2003
Posts: 121
You have to have a ejbPostCreate() method with the same signature as the ejbCreate() method. They are useful when you need to implement cmr(container manager relationship) because the relations are set inside the ejbPostCreate().
Sergiu.


...watch me...as I'm walking the path...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: need ejbpostcreate method for each create method in the bean
 
Similar Threads
EPractice Labs - Wrong answer????
is ejbPostCreate() method is only for entitiy beans?
Problem in deploying Entity Bean
use of ejbPostCreate
Do we need ejbpostcreate method for each create method