File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need ejbpostcreate method for each create method in the bean

 
Vasantha Prabha
Ranch Hand
Posts: 108
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it must to have an ejbpostcreate method for each create method ?
Regards,
Sangeetha
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes it is a must for Entity beans.
 
Sergiu Truta
Ranch Hand
Posts: 121
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic