The BluePrints book say Entity Beans must use CMT (Container Managed Transactions) where as Sessions Beans can use Container Managed or Bean Managed. Is that a rule or just a norm ? Will the EJB Container throw an error during deployment ?
Section 11.6.1 page 177 of EJB Spec 1.1 says : Note that only Session Beans can be used with bean managed transaction demarcation. A bean provider is not allowed to provide an Entity Bean with bean-managed transaction demarcation.
My question is what was reason behind such a design ? When persistance of Entity bean can be bean-managed why not transaction management be bean-managed ?
Is this the real life? Is this just fantasy? Is this a tiny ad?
a bit of art, as a gift, the permaculture playing cards