• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbPostCreate() method

 
rak146
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Can any one tell me why don't we have ejbPostCreate() method in the Session Bean?
Thanks in Advance.
Rakesh
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rak146",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please choose a new name which meets the requirements.
Thanks.
 
Rak Ranjan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Frank
I have changed my user id from rak146 to Rak Ranjan. I hope it is better now.
Thanks
Rakesh
 
sandy gupta
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rak,
This is a peculiar question by many who are new to EJB's( not that i am very old to the same ) but u have to take into consideration the need for this method and whether that justifies its presence where it is. ejbPostCreate was introduced to have a method that acts like u'r postInsert trigger to remove the processing furthur from the persistent layer. This post Insert trigger can be used( and is handy) only where there is persistence and we all know that persistence thy name is entity bean.
HTH
Sahil
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many thanks for changing your user name. We do appreciate it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!