Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/huberflores/XMPPNotificationServer
Interoperable notification solution for smartphones
https://github.com/huberflores/XMPPNotificationServer
Last synced: 3 months ago
JSON representation
Interoperable notification solution for smartphones
- Host: GitHub
- URL: https://github.com/huberflores/XMPPNotificationServer
- Owner: huberflores
- Created: 2013-02-05T17:04:50.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-11-19T21:09:46.000Z (over 10 years ago)
- Last Synced: 2024-07-01T10:55:44.834Z (8 months ago)
- Language: Java
- Size: 165 KB
- Stars: 15
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Interoperable Notification Service for Smartphones
==================================================The messaging framework is introduced as a component that follows a client/server architecture, which can easily be integrated with any application server for sending JSON-based notifications to any mobile platform that implements a [XMPP mobile client](https://github.com/huberflores/XMPPNotificationClient.git). Unlike GCM, APNS or MPNS, XMPP-based notification server is not constrained by number of messages that can be pushed to a mobile or a specific mobile platform.
Requirements
-------------- Openfire or ejabber (Gateway broker) - [Here](https://gist.github.com/huberflores/4735608) you can find a guide to configure Openfire 3.7.1
- Maven2
- Web server (e.g. GlassFish, [Tomcat](http://tomcat.apache.org/), JBoss, etc.)
Installation
-------------
```xml
$ git clone https://github.com/huberflores/XMPPNotificationServer.git
````
```xml
$ cd ~/XMPPNotificationServer/
```````xml
$ mvn install
```````xml
$ cd ~/xmpp-notification/target/xmpp-notification/WEB-INF/
```````xml
$ nano web.xml
```````xml
xmppnotification
ee.ut.notification.xmpp.server.RESTNotification
xmppnotification
/xmppnotification
```
Configure Openfire/XMPP server
```xml
$ ~/xmpp-notification/target/xmpp-notification
```````xml
$ nano server.properties
```````xml
server=your-xmpp-server
domain=your-xmpp-domain
```Build war file
Locate war file within your Web server
Experimentation
---------------In order to try the messaging framework, install the [XMPP mobile client](https://github.com/huberflores/XMPPNotificationClient) in a device and execute the xmppload.sh script.
```xml
$ ./xmppload.sh
````How to cite
-----------
The complete framework (Client/Server) was built for comparison purposes with other notification mechanisms. If you are using the tool for your research, please do not forget to cite. Thanks!- Flores, Huber, and Satish Srirama. ["Mobile cloud messaging supported by XMPP primitives."](http://dl.acm.org/citation.cfm?id=2482983) Proceeding of the fourth ACM workshop on Mobile cloud computing and services. ACM, 2013. In conjunction with, the 11th International Conference on Mobile Systems, Applications and Services (MobiSys 2013).