title: How to design push notifications using Atmosphere
body: <p>I want to use atmosphere to develop a notification System.</p>
  
  <p>I am very new to Atmosphere so apologies if I am wrong somewhere.
  What i understood is when a Actor publishes something I save the notification action to the database.
  What i don't understand how the receiver will receive those notifications in realtime.</p>
  
  <p>The sender i know will do something like following </p>
  
  <pre><code>event.getBroadcaster().broadcast(
              objectMapper.writeValueAsString("Some Message"));
  </code></pre>
  
  <p>Now i am not able to figure out how the receiver can receive this message.</p>
  
  <p>For example . I want to add a User Object as Friend. So when User1 adds User2 User1 broadcast but than how i push the notification to User2. I have difficulty in understanding this.</p>
  
  <p>Technically i want something similar like facebook or gmail notification where on user activity other users get notifications.</p>