Embedded Java and MQTT

Grand Ballroom - Salon A/B

More smartphones and tablets were sold last year than PCs and this, coupled with the recent growth of activity in the M2M (Machine to Machine) space (sensors and sensor gateways) is making the much talked about Internet of Things a reality. Many of the devices used in these systems have to deal with intermittent connections, and the possibility of network disruption. In addition, minimal data costs are crucial if networks are going to cope with millions and billions of connected devices.

MQTT is a simple event-driven messaging protocol designed for use by devices and edge-of network gateways. It provides reliable transport, when needed, coupled with low network overheads and a small implementation footprint that makes it suitable for embedding in devices with limited processing capabilities or low power budgets. It can be used either natively over TCP/IP or across a WebSocket connection.

In this session you will learn more about what MQTT is, and how it compares with HTTP. I will look at how to program to it in Java and the various Java client libraries and server implementations available today, focusing on the Open Source Eclipse Paho project specifically the Java client libraries. I will also discuss the progress being made in standardizing MQTT at OASIS.

Peter Niblett's picture
Peter Niblett is an IBM Senior Technical Staff Member, responsible for the architecture and design of IBM's Messaging products. Peter’s special areas of interest are the use of Messaging and Event Processing technologies in Mobile and M2M applications, and the combination of these technologies with Analytics to underpin the Internet of Things. Peter was one of the original designers of the Java Message Service (JMS) programming interface, and chaired the OASIS Technical Committee that developed the Web Services Notification standard. He has participated in a number of other OASIS standards activities, including the recently-launched MQTT Technical Committee. He is the co-author (along with Opher Etzion) of Event Processing in Action (Manning Publications). This book, published in 2010, introduces the major concepts of event-driven architecture and  shows how to use, design, and build event processing systems and applications. In 2004 Peter was one of a team of five recognised by the Royal Academy of Engineering with the MacRobert Award for the WebSphere MQ family, the first time the most prestigious engineering award in the United Kingdom had been presented for a purely software engineering achievement.