The Test Library Management System of Framework Based on SSH The application system features in small or medium-sized enterprise lie in the gre ater flexibility and safety high performance-price ratio。 Traditional J2EE framework c an not adapt to these needs, but the system application based on SSH(Struts+Spring+ Hibernate) technology can better satisfy such needs。 This paper analyses some integra tion theory and key technologies about SSH, and according to the integration construc ts a lightweight WEB framework, which has integrated the three kinds of technology , forming the lightweight WEB framework based on SSH and gaining good effects in p ractical applications。76214
Introduction
Generally the J2EE platform[27] used in large enterprise applications, can well s olve the application of reliability, safety and stability, but its weakness is the price hig h and the constructing cycle is long。 Corresponding to the small or medium enterprise applications, the replace approach is the system framework of lightweight WEB, inclu ding the more commonly used methods which are based on the Struts and Hibernate。 With the wide application of Spring, the three technology combination may be a bette r choice as a lightweight WEB framework。 It uses layered structure and provides a go od integrated framework for Web applications at all levels in minimizing the Interlaye r coupling and increasing the efficiency of development。 This framework can solve a l ot of problems, with good maintainability and scalability。 It can solve the separation o f user interface and business logic separation, the separation of business logic and data base operation and the correct procedure control logic, etc。 This paper studies the tech nology and principle of Struts and Spring and Hibernate, presenting a proved lightwei ght WEB application framework for enterprise。
Hierarchical Web Mechanism
Hierarchical Web framework including the user presentation layer, business logic layer, data persistence layer ,expansion layer etc, each layer for different function, res pectively to finish the whole application。 The whole system are pided into different logic module with relatively independent and mutual, and each module can be implem ented according to different design。 It can realize the system parallel development, rap id integration, good maintainability, scalability。 论文网
Struts MVC Framework
To ensure the reuse and efficiency of development process, adopting J2EE techn ology to build the Web application must select a system framework which has a good performance 。 Only in this way can we ensure not wasting lots of time because of adju sting configuration and achieve application development efficiently and quickly。 So, p rogrammers in the course of practice got some successful development pattern which proved practical, such as MVC and O/R mapping, etc; many technologies, including S truts and Hibernate frameworks, realized these pattern。 However, Struts framework on ly settled the separation problem between view layer and business logic layer, control layer, did not provide a flexible support for complex data saving process。 On the contr ary, Hibernate framework offered the powerful and flexible support for complex data saving process。 Therefore, how to integrate two frameworks and get a flexible, low-co upling solutions project which is easy to maintain for information system, is a researc h task which the engineering staff is studying constantly。
Model-View-Controller (MVC) is a popular design pattern。 It pides the interact ive system in three components and each of them specializes in one task。 The model c ontains the application data and manages the core functionality。 The visual display of t he model and the feedback to the users are managed by the view。 The controller not o nly interprets the inputs from the user, but also dominates the model and the view to c hange appropriately。 MVC separates the system functionality from the system interfac e so as to enhance the system scalability and maintainability。 Struts is a typical MV C frame[32], and it also contains the three aforementioned components。 The model le vel is composed of JavaBean and EJB components。 The controller is realized by actio n and ActionServlet, and the view layer consists of JSP files。 The central controller co ntrols the action execution that receives a request and redirects this request to the appr opriate module controller。 Subsequently, the module controller processes the request a nd returns results to the central controller using a JavaBean object, which stores any o bject to be presented in the view layer by including an indication to module views that must be presented。 The central controller redirects the returned JavaBean object to th e main view that displays its information。 SSH框架实现的试题库管理系统英文文献和中文翻译:http://www.youerw.com/fanyi/lunwen_87406.html