Font Size: a A A

The Design And Implementation Of Web Service Description Framework Based On JSON

Posted on:2015-05-04Degree:MasterType:Thesis
Country:ChinaCandidate:Y M WangFull Text:PDF
GTID:2348330485494346Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the progress of network technology development and software engineering technology theory, Web Service has become a mainstream concept and technology that recognized by the public. Through Web Service, software developers can call API the same as calling a local service provided by the Web Service, and integrate it into their own applications. It greatly improves software code reuse, and reduces the degree of coupling between components.Currently, there are mainly two kinds of the mainstream Web Service implementations :RPC and REST. The REST approach, though simple to use, is lack of a unified description of specification and lack of support for the transaction, which cannot fully address the needs of Web service. Of the implementations of RPC, SOAP + WSDL is the most widely used. But this approach leads to a large overhead and lower performance. This paper describes a cross-language, cross-platform Web service description language and interactive architecture based on JSON. The description of Web service is divided into four parts: data types, methods description, interface description and service description. It also defines a set of JSON serialization format for data exchange, requests and response for service and error message formats. Compared with XML, using JSON means reducing data redundancy and reducing the cost of data transmission.In order to give readers a better understanding of the use of this architecture, this paper also designed a JAVA oriented automated service description document generation tools and service, client data exchange tool to highlight the architecture that is easy to use, convenient and costs low to learn. At the same time, this paper does an experiment demonstrated that the Web service not involved in complex requirements,such as safety inspection and content self-explanatory, the JSON-based RPC implementations have better performance than existing WSDL + SOAP approach.
Keywords/Search Tags:Web Service, RPC, JSON, automated generation tool
PDF Full Text Request
Related items