What's aopalliance all about? And why is guice using it?

ivo picture ivo · Jun 16, 2009 · Viewed 14.9k times · Source

I'm using guice for dependency injection with aop from aopalliance. I can't quite figure out what's aopalliance all about and who implemented the version (dated from 2004) that's on their sourceforge page. Why is guice using this version instead of a more known package such as AspectJ?

Also, do you know of any tutorials on the aopalliance version?

Thanks

Answer

Jesse Wilson picture Jesse Wilson · Jun 16, 2009

AOP Alliance is a set of interfaces that multiple frameworks implement (see AOP Alliance Motivations), including both Guice and Spring.

AOP Alliance was chosen for Guice because it has a high capability and a simple API.

The Guice wiki has an AOP guide.