1 | EJB supports programmatic transaction and declarative transaction handling. |
2 | If the programmatic transaction is preferred (bean-managed transaction), then the bean itself interacts with the transaction servers. |
3 | If the container-managed transaction is used, then the container handles the transaction related operations. |