Well, to have an overview on AOP, its an 'aspect oriented' extension to the java programming language.
It basically makes your busimess logic more focused and clean.
Firstly need to identify the aspects (like logging, locking, etc). And this aspects can be applied to the normal business logic.
To implement the AOP in Java , we have AspectJ which is developed by Xerox.
All valid Java programs are lso valid AspectJ programs, but AspectJ also allows programmers to define special constructs called aspects.
Aspects can contain several entities unavailable to standard classes.
Those are:
- inter-type decleratons
- pointcuts
- advice
SpringBoot: Features: SpringApplication
4 years ago
