Which two are required to use transactions in Spring?

Which two are required to use transactions in Spring? (Choose two.)
A. Add @EnableTransactionManagement to a Java configuration class.
B. Annotate a class, an interface, or individual methods requiring a transaction with the @Transactional annotation.
C. A class must be annotated with @Service and @Transaction.
D. A class requiring a transaction must implement the TransactionInterceptor interface.
E. Write a Spring AOP advice to implement transactional behavior.

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.