aspose file tools
The moose likes Other Application Frameworks and the fly likes Practical Difference Between IOC & AOP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Practical Difference Between IOC & AOP" Watch "Practical Difference Between IOC & AOP" New topic

Practical Difference Between IOC & AOP

San Nan

Joined: Jul 01, 2005
Posts: 22
Dear All,

Can Any one Tell me the Practical Difference Between AOP & IOC.

Junilu Lacar

Joined: Feb 26, 2001
Posts: 5892

I'll take a stab at this. Asking for differences between IoC and AOP is kind of like asking the difference between apples and oranges.

Aspect-Oriented Programming (AOP) is concerned mainly with abstracting functionality that applies across the board to many components of your application. For example, logging and security. These have little or nothing to do with the actual business functionality but are essential system-wide functions nonetheless.

Inversion of Control (IoC), a.k.a. Dependency Injection (DI) is concerned with maintaining loose coupling and managing the dependencies between the components of an application.

Junilu - [How to Ask Questions] [How to Answer Questions]
Have you tried LearnNowOnline?
subject: Practical Difference Between IOC & AOP