- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference between Spring AOP and AspectJ AOP
Sr. No. | Key | Spring AOP | AspectJ AOP |
---|---|---|---|
1 | Basic | It is a simple implementation of AOP technology. It can be applied only the beans. | It is a complete implementation of the AOP technology in Java. It can be applied in any java class. |
2 | Design Pattern | It uses the proxy pattern so aspects are applied on proxies object | It doesn't use proxy pattern aspects are directly applied on the code. |
3 | PontCuts | It supports only method level points cuts | No Restriction |
4 | Weaving of Aspects | The weaving of Aspects will be performed by the container at container start-up | Weaving of aspect can perform with a post compilation of your code through bytecode modification |
5 | Nested Method | Aspects can’t be applied when calling another method within the same class | Aspects can be applied when calling another method within the same class |
Advertisements