aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJBPostCreate 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 "EJBPostCreate " Watch "EJBPostCreate " New topic
Author

EJBPostCreate

Hari babu
Ranch Hand

Joined: Jun 25, 2001
Posts: 208
Hi,
where do we use EJBPostCreate() method.Can any one give some real world examples where i can use EJBPostCreate() method.
Hari
daman sidhu
Ranch Hand

Joined: Aug 19, 2000
Posts: 184
EJBPost Create is called immidiately after the create method is called, one example i can give you is that suppose in a CMP the user passes some variables which will add a row to the database, but based on some logic you want to modify the data or say call some other bean, then you can do that in post create as you wont be allowed to do it in create.I personally havent had the need to use postCreate in my projects till date.
Hope this helps.
Cheers..
Daman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJBPostCreate