title: Why the J2ME Midlet Suite and HTTPConnection needs to be in different threads
body: <p>I want to call a Servlet from J2ME midlet,so I've written the HTTPConnection code for the Servlet URL to call GET method.</p>
  
  <p>When Midlet suites tries to connect to the Servlet URL, I've got the below message in the Emulator,    </p>
  
  <pre><code>{#MyMidlet} Midlet Suite wants to connect to {#Servlet URL} using air time,
    this may result in charges, Is it ok to use airtime ?
  </code></pre>
  
  <p>If I click either No or Yes, nothing happened,it's just got hanged, I'm using EclipseME and SUN WTK 2.5.2.  And in the console there was a warning, </p>
  
  <pre><code>Warning: To avoid potential deadlock, operations that may block, such as 
   networking, should be performed in a different thread than the 
   commandAction() handler.
  </code></pre>
  
  <p>Which means , If I do make the HttpConnection in a separate thread, will the problem be solved?</p>