I wanna explain about spring AOP to some one who new to spring programming. Could some one help me to find the real world example for Aspect Oriented Programming ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Mainly a useless technology:
The main application is to add one log statement automatically at the beginn of each method.
The theroetical application is to automatically add code for whatever reason.
Drawbacks
Apsects modify the byte code and add things not visble in the source code. That makes big problemns to other tools like test coverage calculation, which then give a wrong test coverage.
Further it introduces: What you see is not what you get.
Better stay away from that. That added costs to our projects with no benefit, we finally removed it after two years, and are happier now.