I just want to give a counterpoint to the opinion about JRuby above. As background: I have been programming professionally, full-time, in Ruby (some Rails, some just Ruby) since Rails 0.9 in 2005 — so almost ten years.
Given the above scenario, JRuby is exactly what I’d reach for, almost immediately. My experience is that Ruby is a wonderfully productive language, and its libraries are often extremely elegant, but also sometimes lacking in robustness — particularly when it comes to things that Ruby folks tend not to mess around with or like very much. And SOAP is pretty much right at the top of that list.
Java’s almost the opposite: it has absolutely industrial-strength libraries for almost everything, particularly “enterprisey” things like SOAP, but they’re often a huge PITA to work with.
The great thing about JRuby is that you often get the best of both worlds: calling Java libraries I find quite a lot easier with JRuby than with Java, because the integration layer between the two is so good and because Ruby is so much less onerous in many ways. So you end up with the robustness of Java, the scalability of the JVM, and the elegance of Ruby, in many ways.
As an example: I recently built a large-scale, multitenant web crawler that regularly crawls many millions of pages per day from thousands of web sites, extracting content from them for ingestion into a full-text search engine. It’s all built in JRuby, runs on the JVM, and is incredibly stable and robust. I got to use Java’s Thrift libraries (for talking to Kestrel) which are a lot more solid (IME) than Ruby’s, and the Apache Commons HTTPComponents, which, while awkward to talk to (though less so than talking to them from normal Java), are a hell of a lot more stable and reliable than any of the several dozen Ruby HTTP clients that are out there.
There are definitely downsides to JRuby (you can’t fork(2) the JVM or exec(3) from it, relatively slow startup time compared to MRI, you can’t use gems with C extensions), but there are a ton of upsides, too. For me, highly recommended. Not saying my experience is everyone’s — but for this kind of project, I would absolutely seriously consider it.
I’m not saying everyone has exactly my experience, but, for me
Given the above scenario, JRuby is exactly what I’d reach for, almost immediately. My experience is that Ruby is a wonderfully productive language, and its libraries are often extremely elegant, but also sometimes lacking in robustness — particularly when it comes to things that Ruby folks tend not to mess around with or like very much. And SOAP is pretty much right at the top of that list.
Java’s almost the opposite: it has absolutely industrial-strength libraries for almost everything, particularly “enterprisey” things like SOAP, but they’re often a huge PITA to work with.
The great thing about JRuby is that you often get the best of both worlds: calling Java libraries I find quite a lot easier with JRuby than with Java, because the integration layer between the two is so good and because Ruby is so much less onerous in many ways. So you end up with the robustness of Java, the scalability of the JVM, and the elegance of Ruby, in many ways.
As an example: I recently built a large-scale, multitenant web crawler that regularly crawls many millions of pages per day from thousands of web sites, extracting content from them for ingestion into a full-text search engine. It’s all built in JRuby, runs on the JVM, and is incredibly stable and robust. I got to use Java’s Thrift libraries (for talking to Kestrel) which are a lot more solid (IME) than Ruby’s, and the Apache Commons HTTPComponents, which, while awkward to talk to (though less so than talking to them from normal Java), are a hell of a lot more stable and reliable than any of the several dozen Ruby HTTP clients that are out there.
There are definitely downsides to JRuby (you can’t fork(2) the JVM or exec(3) from it, relatively slow startup time compared to MRI, you can’t use gems with C extensions), but there are a ton of upsides, too. For me, highly recommended. Not saying my experience is everyone’s — but for this kind of project, I would absolutely seriously consider it.
I’m not saying everyone has exactly my experience, but, for me