Font Size: a A A

Research And Application On The J2EE-based Multi-tier Web Framework

Posted on:2009-11-07Degree:MasterType:Thesis
Country:ChinaCandidate:B B PanFull Text:PDF
GTID:2178360272975471Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the development of Web technology and information in the areas of reform of the increasing depth, Web application system the size and complexity has also increased, the efficiency of development and maintenance costs have become increasingly prominent. The software framework as the basis for Web applications, we must demand that they can efficiently build system modules, and to provide reliable software reuse and portability of late to reduce maintenance costs. J2EE is a Java-based enterprise application development standard for enterprise Web application development provides a cross-platform technology choices. However, J2EE only provide the framework for the rapid development of the underlying technical support, a need to introduce models provide the framework for the definition and level architecture design. MVC model is an important software engineering in the design mode, and the business logic and data performance of the separation of Web applications for a clear hierarchical structure and reusability. Therefore, MVC model in the multi-tier Web framework is widely used. Struts framework in J2EE platform to achieve the MVC model of building a multi-storey improve the efficiency of Web applications, provides a reusable software framework. But Struts framework of the Action closely coupled with business processes, it is necessary to be responsible for the control logic of business functions, reusability low logic control duplication of heavy workload, the lack of data access layer and business support, and other components of the defects, making Struts framework failed to properly meet the actual needs of development.In this paper, to quickly develop the design and development of the Web Struts framework of discussion, the analysis of research on the basis of the framework Struts, made the following main aspects:1. Combine of Java Reflection technology and XML, made one pair of Struts framework logic control of the expansion programme. And focus on the different user data on which the unified package, business components and methods of reflection called for the results of the response object, such as the dynamic structure of the key technologies to achieve;2. Based on the DAO ORM model of thinking and designed a scalable data access layer. DAO in the design of the introduction of the factory model to provide a new level of scalability, and a level of DAO at the same time, the use of ORM model for data operation to provide an object-oriented environment, so as to better meet the object-oriented design requirements;3. Put forward a business component of the package format to ensure that the business logic layer's component of the development of a unified specification;4. Based on the expansion of the framework designed and implemented an electronic information management system for the Chief, showing expansion in the framework of the application of the feasibility and practicality.To sum up, this paper in the Struts framework on the basis of J2EE technology and norms, designed and implemented a multi-tier Web framework that provides developers with a component-based development platform, to effectively improve the Web Application Development efficiency and provide higher reusability and scalability to adapt to changing business needs.
Keywords/Search Tags:Multi-tier Web Framework, Struts, Java reflection, DAO, ORM
PDF Full Text Request
Related items