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
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: 4444
    
    5

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]
 
Don't get me started about those stupid light bulbs.
 
subject: Practical Difference Between IOC & AOP
 
Similar Threads
spring aop
difference between Dependency Injection (DI) & Inversion of Control (IOC)
difference between IOC and Dependency Injection
AOP
Spring AOP / Spring AOP + AspectJ ?