I post this here because the thread I did for stackexchange programmers did not get any response, and I need an answer for this pretty quickly, so we go:
For a school project, we strive to introduce push technologies in our Android application, we need to send push messages from the server (Tomcat) to the phone (Android).
After doing some research, I found that XMPP would be a good option for receiving this type of push notifications, now my problem is how should I integrate this with our Tomcat server, where all information and events will take place, as well as where all are located our other pages.
Is it possible to have a server or an XMPP module running inside Tomcat, or can I create my own lightweight module (I thought something like a servlet) to handle this?
If you have any better ideas on how to get push notifications, I would be very glad to hear them, whether using a completely different approach and then XMPP (I looked at a lengthy survey, MQTT and some other things) or another way to integrate the solution into Tomcat.
The requirements that we have are that we must use Tomcat and Android 2.1 (so C2DM is not an option) and set up push notifications between them.
source
share