Traditional Culture Encyclopedia - Traditional stories - What are the frameworks of JAVA?

What are the frameworks of JAVA?

Model (Model ) encapsulates the data of the application and generally they will be composed of POJO.

View (View) is responsible for rendering the model data and generally it generates HTML output that the client browser can interpret.

The Controller is responsible for handling user requests and building the appropriate model and passing it to the View for rendering.

Spring's web model - view - controller (MVC) framework is designed around a DispatcherServlet that handles all HTTP requests and responses.

Expanded:

.

1, IOC containers:

IOC containers are containers that have dependency injection capabilities. IOC containers are responsible for instantiating, locating, and configuring objects in an application as well as establishing dependencies between these objects. The application does not need to be directly in the code new related objects, the application is assembled by the IOC container. BeanFactory in Spring is the actual representative of the IOC container.

2, AOP:

Simply put, it is not related to the business, but for the business module *** with the call logic or responsibility encapsulated to facilitate the reduction of duplication of code in the system, reduce the degree of coupling between the modules, and facilitate the future operability and maintainability.AOP stands for a horizontal relationship