You are right in comparing between Java and C++ although I don't know much about C++. One day my team leader got stuck by a problem, and he tried a lot but still unsuccessful. and a non-technical staff tried to say something to easy his stress. To my surprise, he said that comparing to the stresses he suffered when he was C++ programmer, he felt much better now after switching to Java.
I am mainly writing java servlet using XML and XSLT. I hope I can hear you say something in these fields.