English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Spring Remoting

The Spring framework makes it easy to develop remote support services. By providing its own API, it saves a lot of code.

Advantages of Spring Remoting

Programmers only need to focus on business logic and do not have to study activities such as starting and stopping servers.

The Spring framework supports the following remote processing technologies:

Remote Method Invocation (RMI) Spring's HTTP invoker Hessian Burlap JAX-RPC(J2EE 1.4 API) JAX-WS(Java EE 5and Java EE 6 API) JMS

Remote Method Invocation (RMI)

With the help of RmiServiceExporter and RmiProxyFactoryBean class, the Spring framework supports Sun's RMI.

Click here for more information: Spring and RMI Integration

Spring's HTTP invoker

Spring provides its own remote service, which allows serialization through HTTP. The class used in HTTP Invoker is HttpInvokerServiceExporter and HttpInvokerProxyFactoryBean .

Click here for more information: Spring's HTTP invoker

Hessian

It also uses the HTTP protocol to provide remote services. It is provided by Coucho. The classes used in Hessian are HessianServiceExporter and HessianProxyFactoryBean .

Click here for more information: Hessian

Burlap

Similar to Hessian but provided by Coucho with an XML-based implementation. The classes used in Burlap are BurlapServiceExporter and BurlapProxyFactoryBean .

Click here for more information: Burlap

JAX-RPC

Spring uses JAX-RPC provides remote support for web services. It uses J2EE 1.4 API.

JAX-WS which is JAX-RPC successor. It uses Java EE 5and Java EE 6 API. JAX-The classes used in WS are SimpleJaxWsServiceExporter and JaxWsPortProxyFactoryBean . JMS

Spring supports using JMS for remote services. The classes used in JMS are JmsInvokerServiceExporter and JmsInvokerProxyFactoryBean .

Click here for more information: JMS