Which two statements are true about Spring AOP? (Choose two.)
Which two statements are true about Spring AOP? (Choose two.)
In Spring AOP, a join point represents a point during the execution of a program, such as the execution of a method or the access to a property. Examples of cross-cutting concerns include security, caching, and transaction management, which are common areas where aspects are used to encapsulate behavior that cuts across multiple types and objects.
@After have nothing to do with throwing exceptions, this advise works when advised method returns success(not throwing any exception). There is a special advise which can handle this behavior of returning throwing exception is called @AfterThrowing
BD are correct answers for this. because A and other options are totally wrong.