Design and Implementation of a Server-side mashup Framework
- Author
- LiSaiNan
- Advisor
- YuJinShan
- School
- Huaqiao University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 2
- Citations
- 0
Abstract
With the Web2.0development for nearly10years, mashup applications can seeeverywhere on the Internet. But based on the RIA browser technology client-sidemashup applications still have some deficiencies: the browser security sandboxmechanism and origin policy, making the client-side mashup applications in datafusion and security limitations; a large number of complex, multi-level JavaScriptcode makes the browser download, parsing, rendering, relatively slow, resulting in agreater impact on performance. The way of the currently mashup service providersprovide resources mainly is OpenAPI.OpenAPI request protocol and OpenAPI interactive data format is a wide variety,and some resources need to be authorized to get, which gave developers to mashupapplication adds great complexity. Few server-side mashup development tools,mostly client-side mashup development tools. Some minority support for server-sidemashup development tools only support some open platform, and someenterprise-class heavyweights are not suitable for small and medium-sizedapplication development.The paper designed and implemented a lightweight server-side mashup framework.The framework contains a code generator automatically generate lightweightpackage each open platform OpenAPI Data Access Components and componentlibrary access OpenAPI data mechanism. Through analysising of the principles andfeatures of the server-side mashup applications, this paper established server-sidemashup of the OpenAPI data access framework. It includes the Session componentprovides the context and encapsulates the entire access process, the proxy agentcomponent of the remote resource server, the data parser component to bind the data,cache components, authorized components, access parameters class, resource dataclass. the automatic code generator is based on template technology in thisframework: input the open platform for information and OpenAPI description, afterrequest parameter class identification and data class identification process, generatemetadata that belong to parameter classes, data classes and data accesscomponents facade class metadata, finally FreeMarker embed metadata to generateclass files in the template file. In this framework, the external resources data bindingis different from the traditional data binding, but for a group of related XML databinding. This kind of data binding proposed in this paper is: first extracted the XMLmode tree diagram for this set of XML data files. Then each mode tree diagram nodeis represented as a vector in the vector pace. Then use their similarity and distance toidentify the mode node corresponded to a predefined mode node types.Then get the data classes according to the mode node type to class mapping rules.Finally based onthe mapping rules XML data bound to an instance of the class object. The methodused to implement the automatic code generator of the data class identificationprocess and the data access of binding data parser component.Compared with other mashup tool, this mashup framework is used for server-sidemashup, avoiding the limitations of client-side mashups. The framework usesautomatic code generation technology, can automatically generate access componentclass to help develop applications based on user input, suits for the majority openplatform. The data binding used in this framework avoids the tranditional databinding ubiquitous redundant classes and data class system large scale. Thecomponent library for accessing OpenAPI data mechanism is convenient theprogramer to get external resources. The framework adds the cache function,avoiding short period of time repeated access to the same resources to accelerate dataresponse speed to improve operational performance. The realization of theframework is based on the interface, combined with design patterns, which has goodscalability
Table of contents
Abstract 3-4
Abstract 4-8
Chapter 1 Introduction 8-14
1.1 Background and Significance 8-9 Situation 1.2 domestic and foreign research
9-11
1.3 main job 11-12
1.4 innovations 12
1.5 thesis structure 12-14
Chapter 2, basic concepts and key technologies 14-22
2.1 server-side mashup 14-18
2.1.1 mashup application system architecture during the execution of 14
2.1.2 server-side mashup 14-16
2.1.3 server-side mashup advantage 16
2.1.4 server mashup authorized access 16-18
2.2 framework technology 18-20
2.2.1 framework defines 18-19
2.2.2 framework and other relationship multiplexing 19-20
2.3 automatic code generation technology 20-22
2.3.1 automatic code generation principle 20
2.3. 2 automatic code generation classification 20-21
2.3.3 automatic code generation to achieve 21-22
Chapter 3 frame analysis and design 22-31
3.1 XML server-side mashup data access model 22-25
3.2 code generator model 25-26
3.3 related XML data model 26-28
3.4 interface design 28-30
3.5 interface design Chapter 4, data from multiple related XML documents 30-31
binding 31- 4.1 Research Overview 45
31-32
4.2 XML document composition structure 32-34
4.3 XML schema node 34-38
4.4 XML model extraction to class mapping 38-42
4.5 XML schema tree diagram 42-43
4.6 XML data binding to a data class object 43- achieved with the use of 45
Chapter 5 framework achieve 45-62
5.1 data access model 45-51
5.1.1 Session component implements 45-46
5.1.2 cache Store component implements 46-47
5.1.3 proxy proxy component implements 47-48
5.1.4 parser Reader component implements 48-49
5.1.5 authorize components to achieve 49-51
5.2 automatic code generator to achieve 51-56
5.2. a data preparation 51-53
5.2.2 parameter class recognition 53-54
5.2.3 data class recognition 54-55
5.2. 4 code generation using 55-56
5.3 framework 56-62
5.3.1 framework package diagram 56-57
5.3.2 use step 57-62
Chapter 6 summary and Outlook 62-64
references 64-68
Thanks 68-70
Appendix A 70-72
Appendix B 72-73
Appendix C 73-74
Appendix D 74 -76
resume, academic papers published during the study and research 76
Related dissertations
- The Master Plan of YC Enterprise Information
- Research on Registeration Access System of Structural Engineer
- Research on Institutional Innovation for Promoting China’s Urban-rural Integration
- The Frame of News Commentary Writing Medthods Critic in the Chinese Academic Journals’ Papers during Lately Decade
- Key Technology Research of Ontology Mapping for the Semantic Web
- Design and Implementation of the System of China Mobile "Easy Workers" Business Support System
- The Research of Java EE Framework and Designed on the E-Commerce Pattern of OAO
- Design and Implementation of the Bussiness Support System for China Telecom
- Design and Implementation of Nanchang Qingyunpu Area Management Information System of Discipline Inspection Work
- The Design and Implementation of Agricultural Distribution Information Management System Based on J2EE
- Emergency Command System Client Pluggable Design and Implementation
- Design and Implementation of Human Resource Management System
- Design and Application of a General Frame for Desktop Application Base on Webkit
- The Design and Implementation of Housing Rental Information Management System Based on J2EE
- Radio Monitoring and Direction-finding System Software Development
- Review on the Contents of Newzealand Maori Education Policy in21st Century
- Research on the Framework of Confidentiality Economics
- Force Logistics Department of Internal Controls
- The study between Tang and the Five Dynasties: Yinsi problem
- Pushover Analysis of Reinforcedconcret Frame Structure