The Mobile & Web Messaging book is composed of examples to use either STOMP or MQTT messaging protocols.
All the code presented in the book are available in this Git project.
code
├── mqtt # MQTT examples
│ ├── ios
│ │ └── Motions # iOS application
│ └── web
│ ├── motions.html # Web application
└── stomp # STOMP examples
├── ios
│ └── Locations # iOS application
└── web
└── locations.html # Web application
Both iOS examples uses CocoaPods to manage their dependencies.
The STOMP examples are covered in Chapters 2 and 3 of the book.
The Web example uses the stomp.js JavaScript client libary.
The iOS example using the StompKit library.
Both examples uses a local ActiveMQ broker to exchange messages.
The MQTT examples are covered in Chapters 6 and 7 of the book.
The Web example uses the JavaScript client libary from Eclipse Paho.
The iOS example using the MQTTKit library.
Both examples uses the eclipse MQTT sandbox server to exchange messages.
©2014 Mobile & Web Messaging