File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Practical Difference Between IOC & AOP" Watch "Practical Difference Between IOC & AOP" New topic
Author

Practical Difference Between IOC & AOP

San Nan
Greenhorn

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


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


Thanks
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4456
    
    6

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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Practical Difference Between IOC & AOP