Analysis of a Java Framework (1)

zhaozj2021-02-12  138

Recently, a Java Framework used is very applicable to large projects. Now I know this Framework for a few months of use of myself, summarizing this framework.

The entire Framework uses J2EE technology, in fact, core thinking or MVC, currently using the Framework for MVC thinking, the most popular Struts, the struts launched by Apac, but Struts is only three floors: View, Controller, Model, this is Fully compliant with an Framework for MVC thinking. In fact, Struts is now reflected, many large medium-sized projects are using it, such as some large ERP projects are also using it, but I personally feel that Struts is not very clear for the entire application system, that is, though It uses MVC ideas, which also clarifies some of the architecture of MVC, realizing three layers of View, Controller, Model, but in some specific details, it is more blurred, and take Struts Action, the action contains too Many business logic makes the entire application idea is not very clear. Is there any clearest Framework to make up for this defect?

We can divide the three layers of view, controller, model, divided into five layers, as shown below:

转载请注明原文地址:https://www.9cbs.com/read-7563.html

New Post(0)