Friday, February 12, 2010

What is AOP and IoC?

In a nutshell, IoC allows an external force to determine what implementation will be used by code rather than the code determining the implementation. The "external force" might be a configuration file, a unit test, other different code, etc.

AOP allows cross-cutting concerns to be implemented outside of the code affected by those concerns.

The "purpose" of Spring includes IoC and AOP, but goes quite a ways beyond that in its scope.

in reference to: What is AOP and IOC in spring? (Spring forum at JavaRanch) (view on Google Sidewiki)

No comments:

Post a Comment

Thank you for your feedback