Oop is dead, AOP is for the future
The future of building complex service-based applications will be aspect-oriented programming AOP (Aspect-oriented programming), while object-oriented programming OOP will be an aid.
? control Inversion (IOC) mode. This generic pattern is described as an instance method that supports plug-in schemas where objects can be "queried" and they need other objects.
? Dependency Injection (DI) mode. This is a special case of IOC mode, which is based on the interface programming technique of changing class behavior, without changing the interior of the class.
The developer encodes the interface for the class and uses a container to inject the dependent object instance into the class based on the interface or object type.
The technique injects object instances including interface injection, constructor injection, attribute (setter method) injection, and method invocation injection.
1. Java IOC and DI mode applications:
Spring IoC Container:
http://www.vogella.com/tutorials/SpringDependencyInjection/article.html
http://docs.spring.io/spring/docs/current/spring-framework-reference/html/beans.html
http://www.dzone.com/tutorials/java/spring/spring-ioc-1.html
Tapestry:https://tapestry.apache.org/ioc.html
PICO Container:
http://picocontainer.codehaus.org/
http://docs.codehaus.org/display/PICO/Two+minute+tutorial
Google Guice:https://github.com/google/guice
SILK DI:http://www.silkdi.com/
Dagger:http://square.github.io/dagger/
CDI:http://docs.oracle.com/javaee/6/tutorial/doc/giwhl.html
Create a simple IoC Container Using Annotations: https://today.java.net/article/2005/06/17/ Create-simple-ioc-container-using-annotations
2.. NET IOC and DI mode applications:
Unity application Block:https://msdn.microsoft.com/en-us/library/ff650806.aspx
Ninject:https://github.com/ninject
OOP is dead and AOP is born for the future (. Net+java)