The javax.transaction.Transactional annotation provides the application the ability to control transaction boundaries declaratively. This annotation can be applied to any class that the Jakarta EE specification defines as a managed bean.
Transactional behavior can be configured via an attribute on the annotation. The available options closely mirror those of the EJB specification.