> From: Pankaj Mishra [mailto:[EMAIL PROTECTED]]

>             I think that it is not mandatory to have params in  ejbCreate
of
> a Stateful Session Bean because passing params or not  in the ejbCreate()
is
> entirely dependent on the requirements ie whether the EJB Object requires
some
> params to be initialized or not

Correct.

More precisely, the specification (PFD2 but this requirement has been there
for a while) says in [7.8] that a Stateless Session Bean home must have one
create() method with no parameters, and that's all.

There is no reverse requirement in the Stateful Session Bean section, which
means that a SFSB can have any combination of create() methods that you
want, including only one with no parameters.  You will set the state of such
a bean with subsequent calls to setters.

--
Cedric

===========================================================================
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