I'm a bit confused about this, the specs says (17.4.1) :
The transaction attribute must be specified for the following methods:
- Session: methods in the component interface and super interfaces
- Entity: methods in component/home interface and super interfaces + remove methods in
EJB(local)Object/EJB(local)Home interfaces
- Message driven: onMessage
Now, how do I see this 'MUST' context ? Do these methods NEED to have a transaction context ? ...
For example; I can create an CMT session bean and do not specify the 'container-transaction' element at all in the deployment descriptor. The same for an entity bean...