I need to create a generic push notification server using Java technology

I need to develop a generic push notification server using Java technology for mobile devices (Android, iOS and Windows phone, etc.). i mean i need to push notifications to mobile devices from this server possible? I need some ideas. Please help with this task ...

Thank.

+3


source to share


5 answers


Push notifications can be done using Comet or smth servlets. I've used XMPP (chat system) for tasks like this. Thus, your server and clients communicate through a chat system (Openfire). It looks like this: CLIENT APP ----> OPENFIRE <----- SERVER APP



The server sends a message to the client, and on the client side, you process that message and do some action!

+1


source


How about a pusher ? I used this service with java-libpusher and it seemed pretty straightforward. Also check publisher libraries



0


source


If you want to receive push notifications for the web / mobile internet, you can implement it in Java using cometd .

If you want to tap on Apple or Android devices, the following links will get you started:

0


source


I'm a little late for this, but Google Cloud Messaging is a good solution for anyone who might need a push service. You can check it out here: https://developer.android.com/google/gcm/index.html

0


source


It can be designed in different ways,

  • JMS based where Event will generate a message and send it to mobile. (This is used as an event-based approach).
  • CRON based work, where the job is done, and under some condition generates a message to the mobile. (This will run continuously)
  • DB trigger that checks the DB and the same as above (not as good as in modern design concepts)

Develop more of what you need if that doesn't answer your problem.

Thank.

-1


source







All Articles