Design and application of Web application framework based on J2EE platform

Author
LiuZhenYu
Advisor
ShenKangChen
School
Shanghai Maritime University
Major
Computer Applications
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2002
Downloads
247
Citations
7

Request the full text

Abstract

J2EE (Java TM 2 Platform Enterprise Edition) is a platform for enterprise application by SUN Company. It defines the standard for developing multitier enterprise applications. Without complex programming, J2EE simplifies the complexity for developing extensible and scalable enterprise applications by adopting the distributed application model based on the standardized, modular components, providing a complete set of services to those components, and handling many details of application behavior automatically. More and more enterprises take the platform as the first choice for implementation their e-commence.A framework is a reusable, "semi-complete" application that can be customized to produce various applications. A framework is composed of a set of components. It is targeted for particular domain and provides a reused architecture, which simplefies the solution. The web application framework based on J2EE provides a reused architecture for developing web applications using J2EE techonology.The recent research and development works on Web Application Framework based on J2EE include Struct, Turbine, Barracuda, Freemaker, WeMacro, Velocity and etc. Struct, developed by SUN, is based on Model 2 archieture, and provides the pure MVC implementation. It handles Http request using MVC and handle http response using lots of XML and Customer Taglib. Turbine is a servlet-based framework that allows experienced Java developers to quickly build secure web applications. It can Integration with Velocity, Webmacro and FreeMarker ?Barracuda is based on the event driven model (including client-side event model and server-side event model), and provides the pure MVC implemeration. Freemarker, WebMacro, and Velocity are presentation framework. They are based on the very simple implementation of MVC structure, but handle the pretentation using a lot of template engines. The target of these models is to simplify the handling of Http request and formatting Http response.This paper introduces a web application framework based on J2EE. The framework is designed and developed by the author. Unlike the frameworks mentioned above, the authos work focuses on an abstract and common processeson web server, and provides the relative supports for each step, not only for a particular one. It is based on Model2 architecture, and provides a pure MVC implementation. The features or functions of the framework including:a) Receiving and handling Http requests on the server sideb) Modifying the dynamic resource of server side using web-event and synchronizing sessionc) Handling exceptions uniformlyd) JSP nested template for Http responsee) XML deployment servicef) Optional security handling based on Weblogic ROMS security realmg) An extensible Toolkit"The following steps should be applied when to develop a web application using the framework:a) Defining the Http request flow handlers and build the mapping to the relative URLb) Building the model mirror in web tierc) Defining the web eventd) Implemeting the business logice) Designing the web page templates and building JSP pages using the templatesf) Packaging and deploy the components, using XML deploy descriptor.The result of testing shows that in the process the framework encapsulates the process details of the web server, and the developers need only to focus on the implementation of business logic, using the relative interfaces provided by the framework.

Table of contents

Chapter 1 Introduction 9-12 1.1 Overview 9-10 1.2 graphical symbols 10-12 Chapter 2 Technology About 12-32 2.1 J2EE platform technology Introduction 12-20 2.1.1 components 13-18 2.1 .1.1 Applets and application client components 14 2.1.1.2 Web components 14-17 2.1.1.3 EJB components 17-18 2.1.2 service 18-20 2.1.2.1 naming Service (Naming Service) 19 2.1 .2.2 deployment Services (Deployment Services) 19 2.1.2.3 transaction processing services (Transaction Service) 19 2.1.2.4 safety services (Security Service) 19-20 2.1.3 communication 20 2.2 platform architecture based on J2EE Web applications 20 - 25 2.2.1 Model1 architecture 21-22 2.2.2 Model2 architecture 22-25 2.2.2.1 MVC architecture 22-23 2.2.2.2 Model2 architecture 23-25 ?? 2.2.2.3 Model2 distinction between pure MVC architecture and the 25 2.3 object-oriented application framework designed benefits of 25-31 2.3.1 framework 26-27 2 .3.2 classification framework 27-28 2.3.2.1 by use of the classification framework 27-28 2.3.2.2 press extended technical classification framework relations 28 2.3.3 framework and other object-oriented technology 28-30 2.3.3.1 design paradigm (Design Pattern ) 28-29 2.3.3.2 library 29-30 2.3.3.3 assembly 30 2 challenges facing development framework .3.4 30-31 2.4 Summary analysis 31-32 Chapter 3 Web Application framework 32 -48 3.1 system goals 32 analysis 3.2 Web application 32-44 3.2.1 HTTP request 32-34 use 3.2.2 Session data and processing 34-36 3.2.3 server-side dynamic processing 36-44 3 .2.3.1 Http request verification 36-38 initialization nbsp 3.2.3.2 server Http request ; 38 3.2.3. 3 calling business logic components 38-39 3.2.3.4 business logic processing 39 3.2.3.5 enterprise Information Systems (EIS) 39 3.2.3.6 result processing 39-44 core 3.3 Web application framework 44 3.3 .1 Web server Http request to receive and process 44 3.3.2 modify server-side event handling dynamic resource -based way of 44 3.3.3 unified exception handling template mechanism 44 3.3.4 Http to be generated 44 3.4 other parts of 44-47 3 .4.1 security processing 44-46 3.4.2 XML deployment descriptor 46-47 3.4.3 extensible toolset 47 3.5 Summary design and implementation nbsp 47-48 Chapter 4 Web application framework ; 48-76 4.1 Web server side Http requests received and processed 48-52 4.2 modify the server -side event handling dynamic resource -based approach is 52-59 realize 4.2.1 Web event handling methods achieve 52-55 4.2.2 Web tier data mirroring synchronization 55-59 4.3 unified exception handling mechanism 59 - 62 generation mechanism 4.4 Http response 62-65 4.5 security processing 65-71 4.5.1 security domain design 65-66 4.5.2 security processing 66-71 4.6 XML deployment descriptor 71-75 4. 6.1 XML file parsing 71-72 4.6.2 object initialization services 72-75 4.7 Summary 75-76 Chapter 5 test and deploy Web application framework tests 76-87 5.1 Web application framework 76-85 5.1.1 test content 76 5.1.2 test analysis and implementation of test cases 76-77 5.1.3 77-84 <br / > 5.1.3.1 Web Http request to the client's request stream processor mapping 78-79 5.1.3.2 Web design model data mirroring 79 - 80 5.1.3.3 Web event designed 80-81 design nbsp 5.1.3.4 JSP pages ; 81-82 5. 1.3.5 Business logic components designed 82-84 5.1.4 test results 84-85 5.2 deployment 85-86 5.3 Summary 86-87 Chapter 6 conclusions and Prospects 87-89 6.1 Conclusion 87 6 .2 outlook 87-89 thanks 89-90 References 90-91

Related dissertations

  1. Design and Implementation of Dynamic Monitoring System for Budget Enforcement Based on J2EE
    WangZhiJun ·Xiamen University ·2014 ·Master's thesis
  2. Design and implementation of the Qilu Petrochemical Industries Co bidding management system
  3. Design and Implementation of the Bussiness Support System for China Telecom
  4. Design and Implementation of Emergency Command System for Digitizing Prison Based on Contingency Plans
    LiChunLong ·Sun Yat-sen University ·2013 ·Master's thesis
  5. Design and Implementation of Chengdu Bank Credit Decision Support Information Systems
  6. Design and Implementation of Sichuan Province Security Technology Center PPE Examining Information Management System
  7. Design and Implementation of a District Monitoring and Management System
  8. Trade Union Organization Construction Statistics Management Software Design and Implementation
  9. Design&Implementation of Military Asset Management System
    DingLing ·Shandong University ·2013 ·Master's thesis
  10. The Design and Implementation of Product Marketing Management System
    LiuQiang ·Shandong University ·2013 ·Master's thesis
  11. Design and Application of a General Frame for Desktop Application Base on Webkit
    LouQiLin ·Beijing Jiaotong University ·2014 ·Master's thesis
  12. The OA System Development and Application
    ShaoZuo ·Tianjin University ·2012 ·Master's thesis
  13. Design and Implementation of a Web-based Customer Service System for the Airline’s Call Center
    GuYong ·Jinan University ·2012 ·Master's thesis
  14. Research and Application of Web Application Framework Based on J2EE
    YuHaiXia ·Wuhan University of Technology ·2007 ·Master's thesis
  15. One Type of Framework of Web Application Based on MVC Pattern
    WeiSuoZuo ·Beijing University of Technology ·2003 ·Master's thesis
  16. Design and implementation of a Web-based application framework for the MVC pattern
  17. Design and Implementation of Bioinformatics Platform Based on J2EE
    TanYaoPeng ·Wuhan University ·2005 ·Master's thesis
  18. Research and Implementation of Subject-Based Network Information System Development
  19. Remote Monitoring of Flame Conditions in Heating-Furnace
    YuanXuFeng ·Nanjing University of Technology ·2005 ·Master's thesis
  20. Design and Implementation of a Supply Chain System for Manufactural Enterprise
    ZhangZhiYou ·Northeastern University ·2011 ·Master's thesis