Re: EJB(statefull session bean)
Friday, May 18, 2001 09:02 AM
I think that if you can add different create methods, yes, the bean will be created in the same way, unless there are clear restrictions in the spec. It's something I've never tried and/or looked at.
The other point is no: the statefull session bean can be considered as an extension of the 'client application', that perform tasks on behalf of the client and maintains state related to that client. This conversional state it's not persistent though, and are dedicate to one client only.
If you would like to mantain state between different clients, you need to relay on the help of an entoty bean.