| E-Business,which is an important application of the network economy, substitutes many parts such as storage,transport and release of the information carrier in paper traditionally with the modern information to realize the online exchange among the commodity,services and the management.The paper is based on the research of bid buying system.So a Web application architecture based on MVC pattern is designed for enterprise to construct bid buying system.Integrated the Web framework of Struts and Hibernate to design and realize enterprise application.The main tasks included:First,this paper points out the lack that the realization of the traditional J2EE architecture must depend on the support of the specific server.On the basis of research the MVC model and the traditional J2EE technology,and proposes the solution of the lightweight architecture and in detail introduces some popular open-source framework technology.The paper introduced the concept of bid buying system and the shortage of traditional bid buying system,put forward to structured bid buying system of a multi-tier B/S model.Second,analyzed deeply the business process and system requirements, according to design principles and function goals,the general framework of the bid buying system is given,and the system and function model are designed.And the paper gives the use case diagram and the activity diagram.Finally,according to the system's design,it is realized that bid buying system based on MVC pattern with the integrated framework technology which made up of Struts and Hibernate.The presentation layer is constructed with Struts,the persistence layer is constructed with Hibernate business.The paper describes the realization of the system in detail,including the module realization of the system login,the user management,the role management.In the system implementation process,we make the each layer to be interrelated through the interface under the core idea of the interface-oriented programming,such can lower the system mutually connection. When dealing with the user's requests,the different functional modules correspond to the different process modules,such can enhance the readability of the code.Focus of the paper is to construct a general framework for realizing the small and medium enterprises bid buying system by integrating Struts and Hibernate framework technologies.It has been proved that the general framework has characters of cleaner structure,looser coupling,legible,simplicity of coding,furthers the developing efficiency of the Web application system. |