Ray's playground

 

Spring and POJO-based remote services(Chapter 8 of Spring In Action)

  Working with remote services is typically a tedious chore. But Spring provides remoting support that makes working with remote services as simple as working
with any regular JavaBean.
  On the client side, Spring provides proxy factory beans that enable you to configure remote services in your Spring application. Regardless of whether you are
using RMI, Hessian, Burlap, Spring’s own HTTP invoker, or SOAP for remoting, you can wire remote services into your application as if they were POJOs. Spring even catches any RemoteExceptions that are thrown and rethrows runtime RemoteAccessExceptions in their place, freeing your code from having to deal with an exception that it probably can’t recover from.

posted on 2010-07-11 21:23  Ray Z  阅读(193)  评论(0编辑  收藏  举报

导航