Remoting in Spring Framework
Spring framework makes the developement of remote-enabled services easy. It saves a lot of code by providing its own API.
Advantage of Spring Remoting
The programmer needs to concentrate on business logic only not plumbing activities such as starting and stopping the server.
Spring framework supports following remoting technologies:
Remote Method Invocation (RMI)
By the help of RmiServiceExporter and RmiProxyFactoryBean classes, spring framework supports RMI provided by Sun.
Click here to get details about Spring and RMI Integration
Spring's HTTP invoker
Spring provides its own remoting service that allows serialization by HTTP. The classes used in HTTP Invoker are HttpInvokerServiceExporter and HttpInvokerProxyFactoryBean.
Click here to get details about Spring Remoting by Http Invoker
It also provides remoting service by using http protocol. It is provided by Coucho. The classes used in Hessian are HessianServiceExporter and HessianProxyFactoryBean.
Click here to get details about Spring Remoting by Hessian
It is same as Hessian but XML-based implementation provided by Coucho. The classes used in Burlap are BurlapServiceExporter and BurlapProxyFactoryBean.
Click here to get details about Spring Remoting by Burlap
Spring provides remoting support for web services using JAX-RPC. It uses J2EE 1.4 API.
It is the successor of JAX-RPC. It uses Java EE 5 and Java EE 6 API. The classes used in JAX-WS are SimpleJaxWsServiceExporter and JaxWsPortProxyFactoryBean.
Spring supports remoting service using JMS. The classes used in JMS are JmsInvokerServiceExporter and JmsInvokerProxyFactoryBean.