Font Size: a A A

Study And Application Of WEB Base On WebWork

Posted on:2010-05-15Degree:MasterType:Thesis
Country:ChinaCandidate:Z H ZouFull Text:PDF
GTID:2178360275451406Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
With the fast development of Internet, traditional MIS(Management Information System) based on C/S(Client/Server) rarely satisfies enterprise's need, where as Web application based on B/S(Browser/Server) have gained wide popularity gradually. There are more and more systems based on Web.Framework technology and design patterns have been important software reuse technology in J2EE, framework technology use software reuse technology to improve the efficiency of software development. Framework is the basic component which supplies various interfaces and functions for other platforms, so it plays a fundamental role in systems development and is the backbone of Products. What's more, framework is an application system with multiple layers which is object-oriented and developed on Java, and framework could also be called application server. If Web application would be developed based on framework, the development cycle would be greatly reduced, with higher safety and expansibility. So how to select frameworks to set up architecture for enterprise application, while each application layer affects each other through loose coupling, is one great challenge for developer.MVC has separated business logic and data presentation, so it has great advantages in Web application with multiple layers. WebWork is one framework which has implemented MVC pattern and greatly reduced developer's burden to construct multiple layers of Web application. Lightweight container is based on the principle of dependency injection, so it could realize loose coupling among main components of system dynamically. Hibernate is a persistent framework and an open source, whose main advantage is that it greatly reduces complexity of data base development and adds expansibility and performance of system.According to the problems above, this paper made deep research on two framework: Webwork and Hibernate, analyzed their roles on different layers of Web application, integrated the two framework, developed one architecture which was suitable for enterprise Web application. In this architecture, business in WebWork was managed by factory of business component, while Data Access Object below was managed by DAO factory, both of which were accomplished by figuration files, while Hibernate was just responsible for persistence of data. Finally, a real system was realized based on this architecture. As for the final result, by the proper use of framework, both the coupling of code and the development cycle had been greatly reduced, so it brought developers great convenience while it also improved efficiency of development. Further, since this system had platform independence, it would be much easier to maintain, expand, transplant, and reuse this system.
Keywords/Search Tags:WebWork, Hibernate, MVC, Framework
PDF Full Text Request
Related items