Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring AOP Vs Spring IoC/DI

 
kri shan
Ranch Hand
Posts: 1478
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
They're nothing alike; see AOP and compare to DI/IoC.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing similar to me. They are totally different concepts.
Spring AOP is for aspect management, Spring IoC is for dependency management.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic