Firebase Cloud Messaging
From Wildsong
AKA GCM
sample gcm server
Web App that runs in Tomcat
Sends a message to any registered Android devices that says "You got a message".
WebContent/
index.jsp just loads home via webmapping /home
WEB-INF/
lib/
- gcm-server.jar -- sources are at the root level in the gcm code
- json_simple-1.1.jar -- probably a json parser
Servlets
- RegisterServlet -- accepts connections
- UnregisterServlet --
- SendAllMessagesServlet -- sends a message to all registered devices
- HomeServlet - displays existing messages and allows sending a new one