I work on a Java project on HCP, and recently had to change from Java EE 6 runtime to Java Web Tomcat 7 runtime. As a result I had to change the way I use HTTP Destinations, as my app relies heavily on it. But it made me wonder - what's the reason for this difference?
In Java EE 6, I got the httpClient instance automatically from the destination settings, and in Tomcat 7 I only get the configurations and have to create the HttpURLConnection instance myself. And the httpClient interface and API is much nicer to use. Is there a reason not to use Apache Http Components when using Tomcat 7 runtime, besides having to add it to the project as a dependency?