Apache XML-RPC Adapter for Spring

by Dejan Bosanac

I tend to use XML-RPC to implement simple requirements for connecting applications. The reason is that it is a simple, straighforward remote-procedure protocol that has good-enough performance for most of such applications. Also, it is very wide-spread so you can find a stable implementation for whatever platform you need it (for example you can use it to connect Java and PHP applications).

When it comes to Java, I use the Apache XML-RPC library (http://ws.apache.org/xmlrpc/). Reasons: it's been long time in development, it's stable and I never had any problems with it.

Now, most of the applications that I write lately are based on the Spring framework, so obviously I needed an adapter (bean factory) for the Apache XML-RPC server. Since I haven't found one, I had to write it by myself.

4 Comments

bongbong
2006-03-26 21:39:02
I'm wondering how implement xmlrpc through the servlet container using ServletWrapperController, please let me know your second approach
Dejan Bosanac
2006-03-27 02:32:37
I'll write a post on that topic in a few days. Cheers
Mike
2006-03-28 14:01:26
I too am looking forward to the second approach.
Christian Ey
2006-07-25 13:57:35
This is the Blog entry describing how to implement XMLRPC through a servlet container.