Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the major frameworks/libraries for Java AOP? [closed]

I'm aware of AspectJ, Spring, and JBoss. Are there other mature and widely adopted frameworks?

like image 866
Jacob Avatar asked Oct 21 '25 06:10

Jacob


2 Answers

I think all of them, AspectJ, SprintAOP and JBossAOP, are widely used. But they are different at some aspects. What you need to do is to choose the most proper one for your project.

For example, here is Spring AOP vs AspectJ Spring AOP vs AspectJ

like image 159
Kleenestar Avatar answered Oct 23 '25 21:10

Kleenestar


Google's popular dependency injection library Guice can perform AOP on non-final injected instances.

like image 34
Mark Peters Avatar answered Oct 23 '25 19:10

Mark Peters