基于JSON和IoC的AJAX-RMI插件  被引量:8

AJAX-RMI Plug-in Based on JSON and IoC

在线阅读下载全文

作  者:黄强[1] 王薇[2] 张晓梅[3] 李敏[3] 

机构地区:[1]四川农业大学信息与工程技术学院,雅安625000 [2]西南交通大学峨嵋校区计算机与通信工程系,峨嵋614202 [3]西南交通大学信息网络中心,成都610031

出  处:《计算机工程》2009年第19期71-74,共4页Computer Engineering

基  金:四川省软件重点实验室基金资助项目"移动农业智能专家系统的设计与开发"(J07006)

摘  要:异步JavaScript和XML(AJAX)客户端的JavaScript与服务组件之间的通信存在较大阻抗,AJAX服务构件难以与现有MVC框架进行无侵略集成。基于结构化XML的数据交换体系占用系统资源和传输带宽较大,其结构不能有效适配客户和服务器系统。针对上述问题设计基于JSON数据交换、能与目前主流MVC框架进行无缝集成的AJAX远程方法调用插件MyAJAX,结合控制反转容器,提出服务组件的JavaScript动态存根生成和JSON序列化模型,实现JavaScript与容器内服务组件间的透明远程调用,给出MyAJAX的应用实例。Asynhronous JavaScript and XML(AJAX) has a big resistance to the communication between JavaScript at client side and the service module. AJAX service component is difficult to be integrated with current MVC framework non-invasively. Data exchange system based on structural XML occupies many system resources and transmission bandwidth, so its structure can not be matched effectively between client and server system. Aiming at these problems, a plug-in called MyAJAX based on JSON data exchange which can be seamlessly integrated with current mainstream MVC frameworks and can be interfaced by AJAX remote method is designed. With the Inverse of Control(IoC) container, the JavaScript dynamic stub generation and the JSON serializing model of service module are proposed to realize transparent remote call between JavaScript and the service module inside the container. Application instance of MyAJAX is given.

关 键 词:异步JavaScript和XML技术 JSON序列化 动态存根生成 同构对象 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象