| With the computer technology development at full speed and network technology ripeness day by day, every enterprises hope urgently to construct their own quick and efficient Web business systems. Java 2 Platform Enterprise Edition (J2EE) is a standard platform provided by Sun Corporation, which supplies us with rich technical choices to develop Web-based enterprise application. A high-quality application, however, depends on the support of well-designed J2EE in frastructure.Therefore,how to use J2EE's core technologies to design and construct a robust, scalable and reusable infrastructure of Web application remains to be a chalenge we must be faced with.MVC ( Model-View-Controller) Mode is one of the most important Design Paterns in the software engineering and provides an excellent developing model for developing the interactive system. MVC Mode's compelling separation control of data from representation of data in function efectively improves both the developing flexbility of Web application system and the reusable rate of the system design. Because of the great advantage of MVC Mode in developing the interactive system, MVC Mode has been introduced into J2EE application development and becomes one of the most important design paterns,particularly in the Web-based application.Struts based MVC mode is right the Web Application Framework, It's a unified framework including mutual cooperation classes, JavaServlet, JSP and Taglib, which reflects the MVC model's capability of "separation of business logic and performance logic". Struts builds a bridge between the model and view layer through the core controller with MVC style, at the same time, it integrates a number of other technologies to achieve Model and View. But Struts just providea an Action class to "thin package" all the background business logic, and it the model still is a big mistake to support. Howerver, Hibernate framework that lightweight packaging Java persistence object can implement most of the model function, which becomes more and more... |