This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring AOP  Vs   Spring IoC/DI" Watch "Spring AOP  Vs   Spring IoC/DI" New topic

Spring AOP Vs Spring IoC/DI

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
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

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
I agree. Here's the link:
subject: Spring AOP Vs Spring IoC/DI
Similar Threads
uses of aop in spring
Spring AOP / Spring AOP + AspectJ ?
What is AOP in spring framwork? and its deifferences with DI?
DI and AOP