What is Aspect Oriented programming? [closed]
楼主#更多 发布于：2016-05-12 14:42
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 ?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.