Is it OK to create multiple threadpools (ExecutorService)?
<p>I created multiple ExecutorService instances in my code, usually each UI page has one ExecutorService instance. Each ExecutorService instance will execute some http get request threads.</p>

<pre><code>private ExecutorService m_threadPool = Executors.newCachedThreadPool();
</code></pre>

<p>Is it OK to do that?</p>

<p>The problem I met is that sometimes the http get requests got response code -1 from HttpURLConnection getResponseCode() call. I don't know whether it is caused by multiple threadpool instances.</p>

<p>Thanks. </p>
