File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 8919

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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: need ejbpostcreate method for each create method in the bean