An Implementation of Lightweight J2EE Architecture Based on the REST Service

Author
HuangNingHai
Advisor
LiShanPing
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
343
Citations
10

Request the full text

Abstract

In this paper, based on J2EE Web application , based on the integration of various frameworks , at a higher level analysis of the traditional architecture of J2EE ( EJB container as the core J2EE architecture ) , including the the classic EJB architecture , and Local EJB architecture and Spring framework , represented by lightweight J2EE architecture , their limitations and shortcomings . XML middleware , XML Web Service as the starting point , through the introduction of the concept of REST Web Service , based on the lightweight framework based on REST . This architecture is the Service-Oriented Architecture, REST WebServices model in order to achieve efficiency, configuration flexibility , security , ease of use and practicality , portability goals based on a detailed , comprehensive to design, and the realization of the system was analyzed . The entire architecture is divided into the physical sense Web layer and Resource layer , the overall design , the whole structure is divided into a number of functional modules in a functional sense . Discusses the feasibility and superiority of the architecture , not just in theory and practical component development model specific design and implementation is given . This article focuses on the various components of the function points , and design the external interface . Traditional J2EE development mode above attempt made ??by the practice of this project , and existing lightweight J2EE architecture provides a reference for similar future system development . Finally , through the use of the actual project , the new architecture to fully verify the efficiency and configuration flexibility , has a unique advantage in the testing , security , ease of use and practicality and portability .

Table of contents

Abstract 3-4 Abstract 4-8 Chapter 1 Introduction 8-11 1.1 Introduction 8-9 1.2 research purpose and meaning 9-10 1.3 Thesis Organization 10-11 Chapter 2 Basic concepts and related research 11-24 2.1 XML 11-13 2.2 XSL 13-15 2.3 Web Service 15-16 2.4 SOAP and REST 16-20 2.5 Front Controller 20-22 2.6 Component-based development 22-23 2.7 Summary 23-24 Chapter 3 lightweight REST-based J2EE architecture 24-50 3.1 J2EE three-tier architecture overview 24-26 3.2 traditional J2EE architecture 26-34 3.2.1 Classic EJB architecture 29-31 3.2.2 Local EJB architecture 31-32 3.2.3 Summary 32-34 3.3 lightweight J2EE architecture 34-41 3.3.1 Spring Framework 37-41 3.4 REST-based lightweight J2EE architecture 41-48 3.4.1 Lightweight Containers and Inversion of Control 41-43 3.4.2 Web -layer design 43-45 3.4.3 Resource -layer design 45-48 3.5 Summary 48-50 Chapter 4 specific design and implementation 50-76 4.1 overall design 50-54 4.1.1 Web layer 50-52 4.1.2 Resource layer 52-53 4.1.3 Overall architecture 53-54 4.2 component design 54-75 4.2.1 Front Controller 54-57 4.2.2 Authorization 57-58 4.2.3 Form Validator 58-59 4.2.4 REST Context Builder 59-64 4.2.5 XML2SQL 64 4.2.6 ResultSet XML 64-66 4.2.7 XSL Engine 66-70 4.2.8 REST Service 70-75 4.3 Chapter Summary 75-76 Chapter 5, to achieve functional and instructions for use 76-83 5.1 use cases and usage instructions 76-81 5.2 use effect 81-82 5.3 Chapter Summary 82-83 Chapter 6 Summary and Outlook 83-85 6.1 paper summarizes 83-84 6.2 Shortcomings and improvements 84-85 References 85-86 Thanks 86

Related dissertations

  1. Design and Implementation of the XProc Processor Based on.NET
  2. Design and Implementation of the XML Document Processing System Based on Xproc
  3. Research of Web Information Extraction Based on XML
    ZhengBangXi ·Dalian Jiaotong University ·2013 ·Master's thesis
  4. Research of Information Extraction from Web Documents Based on Tree Automaton
    YangFan ·East China Jiaotong University ·2013 ·Master's thesis
  5. Research and Application of Information Retrieval Based on XML Document
    HuZuoZuo ·Shandong University ·2013 ·Master's thesis
  6. Research of Keyword Query Processing on XML Data
    ZhaoXingMin ·Yanshan University ·2013 ·Master's thesis
  7. Research on Subtree Results Generation of XML Keyword Search
    WangBo ·Yanshan University ·2013 ·Master's thesis
  8. Results Diversification for XML Keyword Search Based on Semantics
    SongYuLing ·Beijing Jiaotong University ·2014 ·Master's thesis
  9. Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
  10. Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
    HeZhenLei ·Zhejiang University ·2013 ·Master's thesis
  11. Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
    ShenZhangBiao ·Zhejiang University ·2014 ·Master's thesis
  12. Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
    ZhaoLi ·Northeastern University ·2011 ·Master's thesis
  13. The Design and Implementation of WebDAV Service in XML Database
  14. Research of Heterogeneous Database Integration Based on Web Service and XML
    XiaMinNa ·Hunan University ·2012 ·Master's thesis
  15. Research on Encoding and Query Process Technology for Continuous Uncertain
  16. Research on XML Data Cube Based on Tree Structure
  17. XQuery Query Processor Design and Implementation
  18. Research and implementation of group production information integration management
  19. Research on XML Conceptual Model and Internal Transformation Method
    HanMuXun ·Harbin Engineering University ·2013 ·Master's thesis
  20. Feature Informaiton Extraciton and XML Document Exchange Technology Based on STEP Neutral File
    XuXiaoDing ·Henan University of Technology ·2013 ·Master's thesis