Session

The session element declares an connection factory references; and an optional declaration of the bean's resource environment references. The elements that are optional are "optional" in the sense that they are omitted when if lists represented by them are empty.

Inherits from type EnterpriseBean and adds the following.


 

Attributes Summary

transactionType The transaction-type element specifies an enterprise bean's transaction management type.
sessionType  

 

Attribute Details


transactionType

The transaction-type element specifies an enterprise bean's transaction management type.

Data type:  TransactionType
Default value:   unspecified
Allowed Values:  Bean   Container  



sessionType

 

Data type:  SessionType
Default value:   unspecified
Allowed Values:  Stateful   Stateless