Troubleshooting
Transaction Attributes Not Specified
I get errors at deployment related to the assignment of transaction attributes.
When you’re using container-managed transaction demarcation, you must include trans-attribute entries in the deployment descriptor for a bean that, as a group, applies to all its business methods. You’re also restricted in the attributes that can be assigned based on the type of EJB you’re deploying. Remember as well that the trans-attribute element is only valid when you’ve defined the transaction-type for the bean to be Container.
TransactionRequiredException
I get a TransactionRequiredException (or TransactionRequiredLocalException) when I call a bean method.
This exception is used when a method is deployed ...
Get Special Edition Using Enterprise JavaBeans™ 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.