No ejbPostCreate() in MDB's.

the post create is only for entity's as it fits into the lifecylcle:

E.g. CMP:

ejbCreate() -> setup variables... CMP can then use these to create the
persistant entry
               at this point we do NOT know if the create worked, and do not
have a Remote to pass around
CMP then will do the insert

ejbPostCreate() -> at this point CMP has done the insert, and we can do
things w/ the Remote, set relationships, etc.

Dion

> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Singh, Harvinder (CORP,
> GEITC)
> Sent: Thursday, May 10, 2001 5:39 AM
> To: [EMAIL PROTECTED]
> Subject: ejbPostCreate() in message driven beans
>
>
> Hi
>         I am using message-driven bean (ejb2.0). The problem is that the
> ejbPostCreate() is not being called.Does anybody have any clue
> about whether
> ejb2.0 message driven beans support ejbPostCreate() method or not. If yes
> then when is this method called.
> In my code I have given the signature of ejbCreate() and ejbPostCreate()
> method to be exactly the same.
>
> Harvinder
>
> ==================================================================
> =========
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to