How do you integrate with Java – when you’re hitting the Force.com SOAP WSDL endpoints? I use WSC. Before that, I used to use Apache’s WSDL2Java.
WSC is pretty cool – run it against your enterprise WSDL (say – it works with partner / metadata too), and you get a little JAR that you can include, which lets you write really simple, straightforward code. Like this:
Tell me that’s not pretty! No pain, plenty of gain.
To learn more, check out the article we’ve just published: Introduction to the Force.com Web Services Connector