wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring AOP  Vs   Spring IoC/DI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring AOP  Vs   Spring IoC/DI" Watch "Spring AOP  Vs   Spring IoC/DI" New topic
Author

Spring AOP Vs Spring IoC/DI

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1381
Spring AOP and Spring DI functionalities looks similar. Both are adding boiler-plate code during runtime to the Spring Beans. What is the difference ?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

They're nothing alike; see AOP and compare to DI/IoC.
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
Nothing similar to me. They are totally different concepts.
Spring AOP is for aspect management, Spring IoC is for dependency management.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring AOP Vs Spring IoC/DI