This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman 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 Building Microservices this week in the Design 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: 8927

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: need ejbpostcreate method for each create method in the bean
 
jQuery in Action, 3rd edition