What are container-managed transactions?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What are container-managed transactions?
Rating:
Container-managed transactions are those in which the container is responsible for managing the transaction boundaries. Such transactions are also known as declarative transactions. To use a container-managed transaction, the transaction type must be specified in the deployment descriptor. Container-managed transactions simplify development because the enterprise bean code does not explicitly mark the transaction's boundaries. When deploying a bean, the developer specifies the bean's methods that are associated with transactions by setting the transaction attributes in the deployment descriptor file.
Rating:
Was this information helpful?
Other articles
- What is the getBusinessObject(Class businessInterface) method?
- Primary key of an entity class
- What is the <multiplicity> element of the deployment descriptor?
- What is the void remove(Object primaryKey) method?
- What is the <method-permission> element of the deployment descriptor?
