JSON-RPC协议分析、扩展及其应用
he Analysis, Extension and Application of JSON-RPC
随着web和中间件技术的飞速发展,二者的结合也日趋紧密,从某种程度上说,web就是中间件。Internet已成为web应用的默认平台,而中间件已成为Web应用中必不可少的组件,但是建立复杂性不断增加的应用程序的需求一直以来都超出传统网络应用所能表现复杂性方面的能力。因而实现一种既有C/S架构的强大的客户端处理功能,又有B/S架构的易部署性和强大的服务端处理能力的平台就很有必要了。本文从中间件的概念入手,介绍了特定的使用新型数据交换格式JSON的远程过程调用中间件JSON-RPC,着重分析了其原理、实现以及在构件化开发过程中的作用。其次,还对其实现过程中的同步和异步通信作了一定的阐述。最后,根据具体的应用对其实现作了一定的改进,使其更加健壮。
With the development of web and the middleware, two technologies combine also gradually close; web is middleware to some extent. The Internet has become the default platform of the development of web applications, and the middleware is part of web application. But building up the need of the applications that complexity increases continuously outruns the ability of the traditional network. So carrying out a platform which has the excellence not only the C/S architecture’s strong client management ability but also the B/S architecture’s easy deployment is necessity very much. This thesis started with the conception of Middleware technology, then introduced a new lightweight data-interchange format, JSON(JavaScript Object Notation) and a remote procedure call protocol JSON-RPC using JSON as the data-interchange format . Analyzed its principle, implementation and function in the process of component development. And then expatiates on the two different synchronous and asynchronous communications between the client and the server. Finally, based on some specific application, makes a certain extent improvement of its Java implementation JSON-RPC-Java.
李德贤、李志勇、李嵩山
计算技术、计算机技术
中间件,JSON,JSON-RPC,同步、异步调用,构件
Middleware JSON JSON-RPC Synchronous & Asynchronous call Component
李德贤,李志勇,李嵩山.JSON-RPC协议分析、扩展及其应用[EB/OL].(2007-10-02)[2025-08-23].http://www.paper.edu.cn/releasepaper/content/200710-3.点此复制
评论