Spring in Action
Data injection
Aspect-oriented programming
Plain Old Java Object
Dependency injection keeps loosely combined software components that work together
Aspect-oriented programming allows you to isolate functionality across applications to form reusable components
Aspect-oriented programming is often defined as a technique that enables software systems to achieve separation of concerns. The system consists of many different components, each of which is responsible for each component
A specific feature. In addition to implementing their own core functions, these components often take on additional responsibilities, such as logging, transaction management, and security, which often
into components that have their own core business logic, these system services are often turned into crosscutting concerns because they span multiple components of the system.
With dependency injection, the object's dependencies are set by the system's third-party components that coordinate the objects when they are created.
To reduce the complexity of Java development, Spring has adopted the following 4 key strategies:
Lightweight and minimal intrusive programming based on plain old Java object
Loose coupling via Dependency injection and interface-oriented
Declarative programming based on facets and conventions
Reduce style code with facets and templates
Inspire plain old Java Object potential
Unlike some frameworks, forcing applications to inherit their classes or implement their interfaces, causing the application to be tied to the framework
Data injection aspect-oriented Programming Spring Plain old Java Object simple vintage Java