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.
Friday, February 12, 2010
What is AOP and IoC?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thank you for your feedback