博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
远程服务调用之RMI、Hessian、Burlap、Spring的HTTPinvoker
阅读量:4228 次
发布时间:2019-05-26

本文共 406 字,大约阅读时间需要 1 分钟。

RMI:在服务端,使用RmiServiceExporter把POJO包装到RMI服务适配器中,并将服务适配器绑定到RMI注册表中,从而将POJO转换为RMI服务,在客户端,RMI服务将远程服务使用一个代理装配进来,使得我们可以像使用本地服务一样使用远程服务;它使用二进制协议,使用Java标准的对象序列化机制,只能服务于Java服务。

Hessian、Burlap:Hessian和Burlap一样其实是一个Spring MVC控制器,也就是常说的,我们在使用时,是通过配置Dispatcher接访问,然后由它转发到我们的这个Hessian、Burlap。它是基于HTTP的,且都是二进制协议,能够一直到非java语言中。使用的是私有的对象序列化机制。

Spring的HTTPinvoker:与Hessian和Burlap的导出服务方式一致,它结合了前两种方式的优点,基于HTTP协议,使用Java的序列化机制。

转载地址:http://iejqi.baihongyu.com/

你可能感兴趣的文章
Windows and Linux Integration: Hands-on Solutions for a Mixed Environment
查看>>
Eclipse : Building Commercial-Quality Plug-ins (2nd Edition)
查看>>
Run Your Own Web Server Using Linux & Apache
查看>>
REALbasic Cross-Platform Application Development
查看>>
The .NET Developer's Guide to Directory Services Programming
查看>>
Software Engineering with Microsoft Visual Studio Team System
查看>>
Search Engine Optimization For Dummies, Second Edition
查看>>
Powerpoint 2003 Just The Steps For Dummies
查看>>
Beginning ASP.NET 2.0 with C#
查看>>
Professional VSTO 2005 : Visual Studio 2005 Tools for Office
查看>>
Building Flash Web Sites For Dummies
查看>>
Service-Oriented Software System Engineering Challenges and Practices
查看>>
Expert One-on-One: Microsoft Access Application Development
查看>>
Managing the IT Services Process
查看>>
Introduction to Cryptography with Java Applets
查看>>
Advanced Wireless Networks : 4G Technologies
查看>>
Professional Java User Interfaces
查看>>
The Database Hacker's Handbook: Defending Database Servers
查看>>
IT Administrator's Top 10 Introductory Scripts for Windows
查看>>
Algorithms and Data Structures: The Science of Computing
查看>>