Remoting with Spring

Spring features remoting support using various technologies. Remoting support eases the development of remote-enabled services, implemented with usual (Spring) POJOs.

Remoting with Spring

Remoting with Spring

       

 

Spring features remoting support using various technologies. Remoting support eases the development of remote-enabled services, implemented with usual (Spring) POJOs. Currently, Spring supports different remoting technologies few of them are:

  • Remote Method Invocation (RMI):
    Through the use of the RmiProxyFactoryBean and the RmiServiceExporter, Spring supports both traditional RMI (with java.rmi.Remote interfaces and java.rmi.RemoteException) and transparent remoting via RMI invokers (with any Java interface).
     
  • Spring?s HTTP invoker:
    Spring provides a special remoting strategy which allows Java serialization via HTTP, supporting any Java interface (just like the RMI invoker). The corresponding support classes are HttpInvokerProxyFactoryBean and HttpInvokerServiceExporter.

    Read more at:

    http://www.javajazzup.com/issue4/page41.shtml