title: Send real time data from java to android application
body: <p>I need to send data from a java app to an android app in real time.
  The data is not large(integers within 0 and 9) but the number of transmissions is high, around 5 transmissions per second.</p>
  
  <p>I wish to have a publisher subscriber model.
  Java app is going to push data to the android app instead of android app continuously pinging the java app for data.</p>
  
  <p>Transmission has to be in real time and will happen over a LAN.</p>
  
  <p>Tried with GCM but its not real time.
  Pubnub is another but not sure how realtime it will be.</p>
  
  <p>How to proceed ?</p>