作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (22): 99-101. doi: 10.3969/j.issn.1000-3428.2006.22.036

• 软件技术与数据库 • 上一篇    下一篇

一种新的基于序列化的Java RMI方法

戴 亮1,方晓勤2,李 丽1   

  1. (1. 中国农业大学信息与电气工程学院,北京 100083;2. 九江职业技术学院,九江 332007)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

A New Method for Java RMI Based on Serialization

DAI Liang1, FANG Xiaoqin2, LI Li1   

  1. (1. College of Information and Electrical Engineering, China Agricultural University, Beijing 100083;2. Jiujiang Vocational & Technical College, Jiujiang 332007)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 在实际应用中,RMI经常会因为通过网络传递参数需要花费太多时间,影响RMI的性能。该文在分析序列化技术的基础上,提出一种新的基于序列化的RMI方法,并给出该方法的设计思想和具体实现。实际应用表明,该方法能够有效减少RMI通过网络传输的字节流的长度,缩短RMI的调用时间,加强RMI的性能。

关键词: RMI, 序列化, Stub

Abstract: In practical applications, RMI often spends too much time in sending parameters through the network, which hinder the performance of RMI. This paper designs and implements a new method for RMI based on serialization. The application results show that the method can decrease the length of byte stream, shorten the invoke time, and improve the performance.

Key words: RMI, Serialization, Stub

中图分类号: