title: Jboss 4.2 + socket
body: <p>Trying an R&amp;D, we need to create a socket client in web application (Jboss 4.2) am completely blank. Need you help in the following queries</p>
  
  <p>A) To create socket client shall we use Jboss JMS (queue/PTP) functionality, </p>
  
  <p>1) Is it good concept?</p>
  
  <p>2) What are the steps for configuring the Queue details &amp; where to set
      the connection details (host address, timeout is there any pooling
      size option).</p>
  
  <p>3) Based on the above how do we handle the response from Socket server
      (Asynchronus &amp; what would be the clustering effect).</p>
  
  <p>B) Or is there any other way to configure socket using mbean, if so where can I refer the same for Jboss 4.2.</p>
  
  <p>Tried my best to explain what is there in my mind.</p>