Social Sciences · Development
Design and Implementation of Lightweight RMI Framework Based On HTTP Tunnel
Long-da Huang, Jin Liu, Su-yan Long, Junsong Wang
See on the mapAbstract
Java RMI has greatly enhanced the ability to develop java distributed applications, but it is still difficult when passeing through the enterprise firewalls in the public network. Meanwhile, it need extra deployment and registry besides application programs deployment. The paper designed and implemented a lightweight RMI framework, whose communication protocol used HTTP to replace JRMP to solve the above problems.The framework is designed on the base of java proxy pattern and is implemented by the technology of java object tunnel based on HTTP protocol and java object serialization. The communication of the framework between the client and the server is through the HTTP protocol port, so the framework can easily go through the firewalls of the enterprise. The skeleton in the server-side is implemented through java Servlet technology, and it can conviently be deployed as an popular web application in the web container. The lightweight RMI framework is used well in the application system.