I need to create a generic push notification server using Java technology
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!
source to share
How about a pusher ? I used this service with java-libpusher and it seemed pretty straightforward. Also check publisher libraries
source to share
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
source to share
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.
source to share