in reply to Talking to Spring's HTTP invoker (java) from Perl?
Another option may be to write a proxy in java that your app communicates with. This will decouple the Spring-side implementation from your app, as well as allow the proxy to reside on a separate physical machine. Of course there may be a performance hit here, so think carefully about what sort of communication you provide between the proxy and your app.