|
From: Patrick P. <ppe...@gm...> - 2004-08-10 17:21:49
|
Very nice! Will this be included in the 1.1 release? On Tue, 10 Aug 2004 10:38:13 +0200, j=FCrgen h=F6ller [werk3AT] <jue...@we...> wrote: > I've finally committed my new HTTP invoker remoting strategy: It resides = in the remoting.httpinvoker package.Usage is just like Hessian, Burlap, or = RMI invoker: Simply define an HttpInvokerServiceExporter on the server side= , and a corresponding HttpInvokerProxyFactoryBean on the client side. Use a= n HTTP URL just like with Hessian or Burlap, that's it. >=20 > The main difference to Hessian is that this HTTP invoker uses Java serial= ization, just like RMI. It more or less combines the advantages of Hessian = (HTTP-based, easy to set up) and RMI (full power of Java serialization). In= particular, it should work nicely with Hibernate collections. It's about a= s fast as Hessian or RMI, so performance should not be an issue either. >=20 > HttpInvokerProxyFactoryBean uses a HttpInvokerRequestExecutor strategy fo= r the actual executing of HTTP POST requests. Default is SimpleHttpInvokerR= equestExecutor, using J2SE's HttpURLConnection (so no external library nece= ssary). Alternatively, there's CommonsHttpInvokerRequestExecutor which uses= Jakarta Commons HttpClient, potentially with HTTP authentication, HTTP con= nection pooling, etc. >=20 > I've also added the HTTP invoker as further remoting strategy to the JPet= Store sample app. JPetStore's OrderService now gets exposed via 5 different= remoting strategies: Hessian, Burlap, HTTP invoker, RMI, and JAX-RPC. Acco= rdingly, the sample OrderServiceClient access the backend OrderService via = all those strategies now. OrderServiceClient also gives rough performance m= easures. >=20 > Juergen >=20 > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |