title: Web Socket vs JMS or Activemq
body: <p>I want to know what are the differences between Java Web socket and JMS (or ActiveMq) ? Please let me know or have any source having any comparison of WebSocket and JMS and where to use websocket and not to and where to use Activemq instead of websocket please. Activemq is an implementation of JMS. Activemq might use Web socket. What if web socket is used to transfer messages (having any type of data) instead Activemq ?  This may depend on the type of application and requirements, how ever as general and to make me easy to get an decision what to use, let me have your ideas(I want to message between two web applications, simply,fast and light weight).    </p>
  
  <p><strong>Those who vote to Close</strong> : Please think to help, at least let some one to get help, knowledge and not to avoid it. </p>