I. Summary This article compares the transmission performance of five communication protocols, including RMI, Hessian, burlap, httpinvoker, and Web Service, in different data structures and data volumes. RMI is a remote communication protocol provided by the Java language. It is stable and efficient and is the basis of EJB. But it can only be used in Java
Program Communication.
comparison of RMI, Hessian, Burlap, Httpinvoker, WebServiceTags: webserviceservice data structure Spring communication Java2011-08-24 16:46 6577 People read Comments (1) favorite reports Classification:J2ee/java(one) dotnet/c#(+) First, the summaryThis paper compares the transmission performance of RMI, Hessian, Burlap
See: http://blog.yemou.net/article/query/info/tytfjhfascvhzxcyt366First, the summaryThis paper compares the transmission performance of RMI, Hessian, Burlap, Httpinvoker, WebService5 in different data structures and different data volumes.RMI is the Java language itself provides the remote communication protocol, stable and efficient, is the basis of EJB. However, it can only be used for communication betwe
First, the summaryThis paper compares the transmission performance of RMI, Hessian, Burlap, Httpinvoker, WebService5 in different data structures and different data volumes. RMI is the Java language itself provides the remote communication protocol, stable and efficient, is the basis of EJB. However, it can only be used for communication between Java programs. Hessian
In a J2EE distributed system, we need to select a remote service protocol for interaction between distributed processes. Optional protocols such as EJB and soap-based Web services are also primitive such as RMI and socket. However, I recently learned about the Hessian/burlap solution of Caucho. I think this solution is the most suitable,
Because it does not have the disadvantages of the other solutions des
Recently, a system reconfiguration is planned to extract the public parts of multiple systems as a public service, laying the groundwork for future project maintenance and scale-out. Commonly used service Publishing method has rmi/httpinvoker/hessian/burlap, about these kinds of Java remote Services performance comparison and advantages and disadvantages of all can be consulted: http://www.cnblogs.com/jifen
Java learning path-Burlap LearningToday, let's learn about Burlap. Burlap is an XML-based Remote Call technology, but unlike other XML-based remote technologies (such as SOAP or XML-RPC), Burlap's message structure is as simple as possible, no additional external Definition Language (such as WSDL or IDL) is required ). Burlap
First, the summaryThis paper compares the transmission performance of 5 kinds of communication protocols such as Rmi,hessian,burlap,httpinvoker,web service in different data structures and different data volumes. RMI is the Java language itself provides the communication protocol, stable and efficient, is the basis of EJB. However, it can only be used for communication between Java programs.
This article mainly introduces two cases, the first is to use Hessian to implement the remote procedure call, the second is the binary RPC protocol provided by Hessian and the servlet for data interaction, Hessian itself is an HTTP-based RPC implementation.Case one:1. Preparatory workHere you build a MAVEN project that contains four modules, the parent module (on
Turn from:http://lancui.iteye.com/blog/935578Brief introductionSimpler and faster than Webservice,hessian. The Binary RPC Protocol (binary) is used because the binary protocol is used, so it is well suited for sending binary data. Hessian is typically serviced through a Web application, so it is very similar to webservice. It's just that it doesn't use the SOAP protocol.Hessian provides remote services thro
Hessian Study Summary (i)--hessian introductionFirst,the fundamentals of remote communication ProtocolsNetwork communication needs to do is to transfer the stream from one computer to another computer, based on the transport Protocol and network IO to achieve, where the transport protocol is more famous HTTP, TCP, UDP and so on, HTTP, TCP, UDP are based on the concept of Socket for a certain type of applica
Spring currently provides integration of remoting technologies such as RMI, Httpinvoker, Hessian, burlap, and WebService. Spring masks the differences in these implementation technologies by simply developing a simple Java object (Plain old Java Objects,pojo) and then writing the configuration file in the format set by spring.
A comparison of several remoting implementations
The remoting implementation tech
Java learning path-Hessian learning, java path-hessian
Hessian is a lightweight HTTP-based remote service solution. Hessian, like Rmi, uses binary messages for client-to-server interaction. However, unlike other binary remote calling technologies (such as Rmi), binary messages can be transplanted to other non-Java lang
, which aggregates the Java serialization and Java Remote Method Protocol (Java Protocol). He can be seen as the Java version of RPC, because traditional RPC does not apply well to distributed object systems. Java RMI supports communication between program-level objects stored in different address spaces, enabling seamless remote calls between remote objects. He also has its shortcomings, he can only through the RMI protocol access can not be accessed through the HTTP protocol, unable to penetra
well to distributed object systems. Javarmi, however, supports communication between program-level objects stored in different address spaces, enabling seamless remote calls between remote objects. He also has its shortcomings, he can only through the RMI protocol access can not be accessed through the HTTP protocol, unable to penetrate the firewall.There is also a remote invocation method that is Httpinvoker: He also groups and deserializes parameters and return values through the Java seriali
well to distributed object systems. Javarmi, however, supports communication between program-level objects stored in different address spaces, enabling seamless remote calls between remote objects. He also has its shortcomings, he can only through the RMI protocol access can not be accessed through the HTTP protocol, unable to penetrate the firewall.There is also a remote invocation method that is Httpinvoker: He also groups and deserializes parameters and return values through the Java seriali
distributed object systems. Java RMI supports communication between program-level objects stored in different address spaces, enabling seamless remote calls between remote objects. He also has its shortcomings, he can only through the RMI protocol access can not be accessed through the HTTP protocol, unable to penetrate the firewall.There is also a remote invocation method that is Httpinvoker: He also groups and deserializes parameters and return values through the Java serialization mechanism,
version of RPC, because traditional RPC does not apply well to distributed object systems. Java RMI supports communication between program-level objects stored in different address spaces, enabling seamless remote calls between remote objects. He also has its shortcomings, he can only through the RMI protocol access can not be accessed through the HTTP protocol, unable to penetrate the firewall.There is also a remote invocation method that is Httpinvoker: He also groups and deserializes paramet
; Httpinvoker >= hessian>>burlap >> WebService
RMI is Java-brought with limitations and is limited to remote access between Java programs.
Httpinvoker uses the Java serialization technology to transfer objects, which are essentially the same as RMI, and are equally similar in terms of efficiency.
The lowest efficiency is webservice, why there are a large number of people in use. Because the XML document is
Project selected Hessian as the implementation of the Web service, is indeed very lightweight, and the speed of the same as directly with the socket, all is binary transmission save a lot of overhead. However, in the use of the business need is to obtain the remote IP address, host name and other information. Turn Hessian documents and Google the N times did not, forced to Caucho and spring forum to ask, ha
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.