LipeRMI
LipeRMI是一个轻量级远程方法调用框架,类似于Java RMI。它专门设计用于基于Internet通信的环境。每一个客户端只有一个socket。它的主要特性包括:
# 提供一个简单,可扩展框架和API。
# 非常轻量级不依赖任何第三方包。
# 安全可靠。
# 提供类似于RMI的API,让程序只需做少量调整,就能够将RMI替换为LipeRMI。
# 优化带宽使用率。
# 优化客户端与服务器的通信(复用相同的socket并保持alive)。
# 当面向连接的事件发生时,将触发预定的动作。
LipeRMI is a completely new RMI implementation to replace native Java RMI. It is totally independent from native Java RMI and it uses a Internet optimized approach for communication layer - only one socket per client; unidirecional.
The project's propose is to rewrite Java RMI and solve its original implementation problems.
The major of them, - what makes Sun's RMI so impopular - is it's bad communication architecture for an Internet usage. And this is the initial motivation to start this project.
Also, because LipeRMI uses no imports, you can use LipeRMI even on limited socket-enabled devices.
The development of LipeRMI have some keypoints, it must primarily:
- provide abstract communication between objects residing in different virtual machines;
- provide a clear and extensible API and architecture;
- be very light weight and require no external imports;
- be secure;
- provide a Sun's RMI-like API;
- optimize bandwidth usage;
- optimize the way clients reach server (reusing same socket and keeping it alive);
- shadow the clients in such way they can be behind a local network, router or firewall;
- provide a way to know when connection-oriented events happens;
- provide a way to know, at any time and in any method, which socket made that call (if it's a remote call);
- requires just few adjusts to any RMI-ready application migrate to LipeRMI;
- ... and, be open source and free to anyone to use.
|