Laird Nelson wrote:
>
> Are there any real world examples of stateful session beans being used?
> Most of the design patterns I've seen concerning EJBs say to use
> stateless session beans wherever possible. Well, given that the state
Performance, scalability, more fault tolerant apps.
> in a stateful session bean must be regarded as totally transient anyhow,
> it seems like it's *always* possible to use stateless session beans
> instead. Are stateful session beans the black sheep of the EJB family?
>
> Also, can someone explain the rationale to me for why a session bean is
> designated as stateless or stateful only in the deployment descriptor?
Confusing name. The deployment descriptor is created by the bean
developer, the bean developer gets to specify which type of bean it is.
The deployment descriptor is *not* created or modified at deployment
time.
arkin
> Surely there are enough semantic differences between the two that the
> decision to be stateful or stateless does not belong at deployment time!
>
> Cheers,
> Laird
>
> ===========================================================================
> 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".