Hessian (web log)

from Wikipedia, the free encyclopedia

Hessian is a binary network protocol with the help of which data can be exchanged between computer programs and remote procedure calls can be carried out. Hessian is usually transmitted via HTTP .

The name Hessian comes from British English and describes coarsely woven fabric made of jute (called "Burlap" in American English, which is also the name of the XML network protocol Burlap from the same manufacturer).

As a binary protocol, Hessian is particularly suitable for sending binary data. These do not have to be encoded as with textual protocols or sent as an attachment. Binary protocols such as RMI , Oracle's ORMI, Spring HTTP Invoker and Hessian are also much more powerful than XML-based protocols. Hessian enables data exchange between programs that have been implemented in different programming languages.

Although Hessian is mainly intended for use for web services , it can also be used for direct TCP communication or, more generally, for serialization using the classes HessianInput and HessianOutput of the Java implementation by Caucho .

Hessian was developed by Caucho Technology Inc. Caucho also developed open source implementations by Hessian for Java , Python and ActionScript , which can be obtained from Caucho under the Apache license .

Implementations

Hessian is available in mutually compatible implementations for the following programming languages:

use

The Spring framework offers an integration of Hessian and Burlap in order to be able to access remote services.

The OR mapping framework Apache Cayenne supports Hessian to transport database objects between client and server.

The Riena framework from Eclipse also uses the Hessian protocol for communication between remote services.

Web links

Individual evidence

  1. Java Remoting: Protocol Benchmarks ( Memento of the original from January 11, 2010 in the Internet Archive ) Info: The archive link was inserted automatically and has not yet been checked. Please check the original and archive link according to the instructions and then remove this notice. , Performance comparison by Daniel Gredler between Hessian, Burlap , Oracle's ORMI, RMI , XML-RPC implementations and Spring HTTP Invoker  @1@ 2Template: Webachiv / IABot / daniel.gredler.net
  2. Hessian implementations by Caucho
  3. Spring documentation: Using Hessian or Burlap to remotely call services via HTTP
  4. Apache Cayenne Documentation: CWS Deployment with Hessian
  5. ^ Riena Remote Services