the create() infact calls ejbCreate().......can be tried out by just putting
some print statements....
-----Original Message-----
From: Avi Kivity [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 8:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Life cycle of beans(Session and entity)
> I have a doubt regarding bean life cycle(Session and Entity).
> Assume that many clients are calling the create() method of a
> stateless
> session beans.
> Will the ejbCreate() be called whenever the create() method is called?
> What will be the scenario in the case of stateful and entity beans?
For stateless, create() will not call ejbCreate()
For stateful SBs and EBs, ejbCreate() will be called.
- Avi
--
s/\be(\w+)/e-\1/g;
===========================================================================
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".