AOP是个好东西,当年我们在项目中应用它在日志方面后,大大地减少了我们不少的代码,从而降低了以后维护的成本。但是在测试最新版的JBoss7.1的时候,却发现它原来不再支持AOP了,JBoss方面的人对此作出了一个简短的解释:
JBossAOP is not part of AS 7. The main reason for having it in previous AS releaseswas for our EJB container, however in AS 7 a different mechanism is used. TheAOP project has not been under active development for > 2 years, and gettingit to work with the modular classloading setup in AS 7 will not be an easytask. So, there are no plans to include it in AS 7.
详细的资料,可以参考如下的链接:
https://community.jboss.org/message/617358