Content deleted Content added
ShelfSkewed (talk | contribs) →Spring Boot: Disambiguation needed on standalone application |
Gyanauce2006 (talk | contribs) m Added Link for Spring AOP Tags: Reverted Visual edit |
||
Line 125:
===Aspect-oriented programming framework===
The Spring Framework has its own [[Aspect-oriented programming]] (AOP) framework that modularizes cross-cutting concerns in [[Aspect (computer science)|aspects]].{{sfn | Deinum | Rubio | Long | Mak | 2014 | loc=§2-12 Aspect Orientated Programming |pp=99-104}} The motivation for creating a separate AOP framework is to provide basic AOP features without too much complexity in either design, implementation, or configuration. The [https://javagyansite.com/2018/08/19/aop/ Spring AOP] framework takes full advantage of the Spring container.
The Spring AOP framework is [[Proxy pattern|proxy pattern-based]].{{sfn | Deinum | Rubio | Long | Mak | 2014 | loc=§11-6 Managing Transactions Declaratively with the @Transactional Annotation | pp=492-494}}{{sfn | Deinum | Cosmina | 2021 | loc=§2 Spring Framework Fundamentals - The Spring Framework | pp=22-25}} It is configured at [[run time (program lifecycle phase)|run time]].{{Citation needed|date=June 2023}} This removes the need for a compilation step or load-time weaving.{{Citation needed|date=June 2023}} On the other hand, interception only allows for public method-execution on existing objects at a [[join point]].{{Citation needed|date=June 2023}}
|