How the aop used in spring?



How the aop used in spring?..

Answer / Ajay Kumar Agrahari

Spring uses Aspect-Oriented Programming (AOP) to provide cross-cutting concerns. AOP allows you to separate application logic into modular aspects that can be applied to classes through annotations or XML configuration.nFor example, you can use Spring's @Aspect and @Before annotations to define before advice that will execute before certain methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Spring Framework Interview Questions

What is difference between @component and @controller?

1 Answers  


What is @enableautoconfiguration in spring?

1 Answers  


What problem does dependency injection solve?

1 Answers  


Why do we need spring aop?

1 Answers  


Why is declarative transaction management preferred in spring?

1 Answers  


What is spring ioc in simple words?

1 Answers  


What is entity type mean?

1 Answers  


What is loosely coupling in spring?

1 Answers  


How do you call the multiple lifecycle mechanisms configured for the same bean?

1 Answers  


What is a spring application context?

1 Answers  


What are the different orm’s supported by spring?

1 Answers  


Who created the dao? : Spring Boot

1 Answers  


Categories