Font Size: a A A

Research And Application Of Multilayer Truss Based On Struts And Hibernate

Posted on:2007-06-08Degree:MasterType:Thesis
Country:ChinaCandidate:J R LiFull Text:PDF
GTID:2178360182482223Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In recent years, there has been greater demands for application Systems based on Web to meet more complicated requirements, shorter R&D time cycle as well as higher system stability, expansibility, and maintainability. But every distinct case in fact usually needs a distinct settlement, which means too heavy price of time and money to meet the informatization request for an enterprise. For efficiency, catholicity, safety, and practicability, a better design pattern and a reusable system framework are imperative to work as a universal template in exploitation of web-based systems.the design mode describes all-purpose,simple and reusable solving plan's core,and understanding correctly and applying design mode will get twice the result with half the effort basing on J2EE system's applying systemic development.After investigations of current n-tier systems as well as the Struts design framework and the Hibernate framework, a new n-tier framework to build web-based systems is brought up in this paper based on the MVC pattern theory.In the development of System,Struts makes the diffirent roles of View-tier and Business logic tier,we can modify one but don't effort the other, in order to increase the effirency of System development. To Hibernate,it is an ORM tool for java envirorment.It manages the mapping from java classes to database tables and the operation of persistent objects.Hibernate's ORM can mapping one object to many tables,can mapping several types of associations and class inheritance.Hibernate query language realized polymorphic association query and dynamic query.Discussions about how to relate the Struts design framework and the Hibernate framework with the help they are also used in practice.An example based on Beijing RenHe Web-shop System is introduced to illustrate the process to build an n-tier-framework-based system with the help of the Struts framework and the Hibernate framework.in this case, distinction between description logic and business logic is made possible within the MVC design pattern, which means better flexibility and easier management in the exploration of a system.Results show that this new framework helps to increase work efficiency in exploration.Meanwhile, expansibility and maintainability of the system within this framework are also satisfactory.
Keywords/Search Tags:J2EE, Design pattern, MVC, Struts, O/R Mapping, Hibernate
PDF Full Text Request
Related items