Resourse Oriented Architecture Application Research Based on JAX-RS
- Author
- XieYuKai
- Advisor
- ZhaoLiangChen
- School
- Zhejiang Sci-Tech University
- Major
- Management Science and Engineering
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 2
- Citations
- 0
Abstract
The Original of Web invention is to let people easily release information and to link to the internet to get information and resource, But as applications have become more immersersive by using rich client application models and providing personalized content, the Web has grown into a viable platform for software applications. Although Immersive Web applications are very useful, But the immersive architect design of this kind is not compatible with the classical Web rules named Representational State Transfer. The immersive architect design style’s disadvantage is the system need to store the session information on the server, it is not easy to improve the system’s visibility credibility and flexiblity, besides it is not convenient for the server to realize the load of balance etc.In recent years, the Web application based on the REST architecture style has become more and more sweeping, especially in the enterprise’s business interaction and resource intergration, the REST architecture style has acquired extensive attension due to it’s special property. The REST architecture style is a bran-new architecture style for Web application, which is a kind of beneficial experiment for the distribute Web system architecture. The REST style’s core concept is the Resource, all things as long as it could be referenced, it could be considered to be a Resoure, and the Resource can uniquely be identified by the Uniform Resource Identifier. And the t JAX-RS is a kind of Java API which was defined in SUN’s JSR311 criterion for REST application, it could make the java programmer easy to develop REST application by providing some fixed Java API interface. The JAX-RS allow the programmer to use the POJO model and the Annotation along with the JAXB, which could effectively shorten the development period of REST application.The thesis mainly takes the REST and JAX-RS related theory as instruction, mainly focus on the application of Resources-Oriented service according to JAX-RS. The thesis first introduced the issue research background and present research condition briefly, and put forward a overview of domestic and international study state related to this issue research. Then elaborated the REST related theory in briefly and analysized the difference between the REST style and SOAP style summarily and summarized the ROA practise step based on the Resource Oriented Architecture related theory and elalorated JAX-RS resource’s CURD realization combined with some practical examples. At last, the thesis focused on the system’s Load balance design and resource architecture design based on the forenamed theory, and realized a Resource-oriented and stateless book resource query service through a concrete project go along with simple system function test and interface test etc.
Table of contents
Abstract 5-6
ABSTRACT 6-10
1 Introduction 10-15
1.1 Background 10-11 <br / 1.2 Project Research the 11-14
1.3 Main research contents 14
1.4 Chapter Summary 14-15
2 background knowledge and ROA involved in key technology 15-29
2.1 the RESTful Hypertext Transfer Protocol HTTP 15-18
2.1.1 an HTTP protocol four main methods 15-17
2.1.2 uniform resource identifier 17-18
2.2 REST architectural style of Overview 18-21
2.2.1 Representational State Transfer REST 18 - comparative analysis of 20
2.2.2 REST and SOAP
2.3 JAX-RS (JSR 311) About 20-21 21-26
2.3.1 Jersey and JAX -RS standard 21-23
2.3.2 JAX-RS resources the CRUD to achieve 23-26
2.4 the JSON serialization data structure 26-28
2.5 Chapter Summary 28-29
REST architectural style and Resource-Oriented Architecture 29-40
3.1 system architecture style Overview 29-31 < br /> 3.1.1 browser - stateless - server style 29-30
3.1.2 Demand code COD style 30-31
3.1.3 Service-Oriented architectural styles 31
3.2 Overview of REST-based resource-oriented architecture 31-36
3.2.1 Resource-oriented service key concepts 32-33
3.2.2 characteristics of resource-oriented architecture 33-36
3.3 resource-oriented architecture steps 36-39
3.4 Chapter Summary 39-40
4 JAX-RS resource-oriented architecture modeling 40-55
4.1 System Overview the 40-41
4.1.1 Project Background 40 < br /> 4.1.2 Technical Overview 40-41
4.2 Resource Modeling and balanced design 41-48
4.2.1 UML modeling 41-43
4.2.2 resource URI design 43-46
4.2.3 load balancing design 46-48
the 4.3 resource architecture design 48-54 < br /> 4.3.1 resource state design 48-49
4.3.2 resource integration design to design 49-51
4.3.3 resource security 51 - 53
4.3.4 the resource retrieval Design 53-54
4.4 Chapter Summary 54-55
5 JAX-RS resource-oriented architecture to achieve 55-73
5.1 resource-oriented service infrastructure 55-60
5.1.1 Jersey client API foundation 55-57
5.1.2 JAX-RS resources tagging method 57-59
5.1.3 Resource Services Description 59-60
5.2 oriented resource book retrieval system to achieve 60-68
5.2 create .1 Books root resource class the 60-61
5.2.2 to generate resources index description document the 61-64
5.2.3 Resource Retrieval achieve 64-68
5.3 Web resource retrieval and test the 68-72
5.3.1 Web resources retrieval interface to achieve 68-69 the
the 5.3.2 book retrieval system test nbsp 5.4 Chapter Summary; 69-72
72-73
6 Summary and Outlook 73-75
6.1 summarizes 73-74
6.2 further research directions 74-75
Reference 75-78
Acknowledgements 78-79
pursue a degree during research 79
Related dissertations
- Design and Implementation of Restful and Json Based Open Apis for Super Color-Ring-Back-Tone Platform
- Colleges’ Information Integration and Application Based on the Framework of OSGI and REST
- Design and Research of Inspection System of Pipe Network
- Design and implementation of SNS platform based on MongoDB
- Design and implementation of performance assessment system of government based on SOA
- Design and Implementation of Distribution Resource Planning System for Enterprise
- Design and Implementation of Enrollment Management System Based on Cloud Service
- Research on Web of Things Service Environment Architecture and Key Technologies
- Research and Implementation of SOA-based Transmission and Transformation Equipment Condition Assessment System
- Design and implementation of city underground integrated pipelines Rest and RIA information system based on
- The Study and Construction of Digital Huludao Geographic Information Public Service Platform
- Research and Application of Deformation Monitoring WebGIS System Based on RIA
- Design and implementation of Jinggangshan red tourism system FLEX client and the REST service based architecture
- Study on tile map Web service based on REST
- Design and Implementation of Real-time Rainfall and Water Information System Based on WebGIS
- Research and Development of a Mobile Personal Knowledge Management System Based on Context-awareness
- Design and Implementation of Urban Online Service Platform Based on RIA
- Research and Application of Semantic Processing in Restful Web Services
- Research on Two-dimensional Harcode Encoding and Decoding Based on Resttul Web Services
- Research and implementation of intelligent video surveillance system based on OV READY