David Witherspoon
Prashant Khanal
Oct 30, 2013

© 2013 Kaazing Corporation. All Rights Reserved.

1
About Us

§ 
§ 
§ 
§ 

Prashant Khanal
Software Engineer – Kaazing
Prashant.Khanal@kaazing.com
Twitter: @ipras

© 2013...
Demo!

© 2013 Kaazing Corporation. All Rights Reserved.
Agenda

§ 

Requirements for the IoT

§ 

Creating a reference architecture for IoT

§ 

Live Demos, Live Demos, Live D...
Internet of Things

Ubiquitous/Pervasive
Heterogeneous
Highly Interconnected
Event-Driven/Real Time
Identifiable Component...
Raspberry Pi

Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html
© 2013 Kaazing Corpor...
Demo!

© 2013 Kaazing Corporation. All Rights Reserved.
Demo Setup

© 2013 Kaazing Corporation. All Rights Reserved.
Raspberry Pi Controlling the Light Directly

© 2013 Kaazing Corporation. All Rights Reserved.
Raspberry Pi Controlling the Light Directly

© 2013 Kaazing Corporation. All Rights Reserved.
Raspberry Pi Controlling the Light Directly

© 2013 Kaazing Corporation. All Rights Reserved.
Raspberry Pi Controlling the Light Directly

© 2013 Kaazing Corporation. All Rights Reserved.
Demo Setup

© 2013 Kaazing Corporation. All Rights Reserved.
Demo Setup

© 2013 Kaazing Corporation. All Rights Reserved.
Message Systems/Protocols for the IoT

§  Java

Message Service (JMS)

§  Standard
§  Vendor
§  Pub

messaging API

in...
Controlling the Light Remotely Using Pub-Sub

© 2013 Kaazing Corporation. All Rights Reserved.
Demo!

© 2013 Kaazing Corporation. All Rights Reserved.
LightJmsTcpController Using JMS to Control a Light

© 2013 Kaazing Corporation. All Rights Reserved.
LightJmsTcpController Using JMS to Control a Light

© 2013 Kaazing Corporation. All Rights Reserved.
LightJmsTcpController Using JMS to Control a Light

© 2013 Kaazing Corporation. All Rights Reserved.
LightJmsTcpController Using JMS to Control a Light

© 2013 Kaazing Corporation. All Rights Reserved.
ToggleJmsTcpListener Using JMS to Send Events

© 2013 Kaazing Corporation. All Rights Reserved.
ToggleJmsTcpListener Using JMS to Send Events

© 2013 Kaazing Corporation. All Rights Reserved.
Controlling the Light Remotely Using Pub-Sub

© 2013 Kaazing Corporation. All Rights Reserved.
Challenges with TCP

§ 

Isolated networks

§ 

Ports

§ 

Firewalls

§ 

Web browsers

© 2013 Kaazing Corporation. Al...
How to Extend This to the Web

© 2013 Kaazing Corporation. All Rights Reserved.
Controlling the Light Remotely Using Pub-Sub Over the Web

© 2013 Kaazing Corporation. All Rights Reserved.
HTML5 WebSocket: TCP for the Web

§ 

Standard Protocol (IETF): RFC-6455

§ 

Standard API:
§ 

W3C: JavaScript

§ 

J...
Protocol Layering

Browsers, Native Applications and IoT Devices
JMS

XMPP

AMQP

B2B

FTP

VNC

TCP

Internet

WebSocket
...
Controlling the Light Remotely Using Pub-Sub Over the Web

© 2013 Kaazing Corporation. All Rights Reserved.
Demo!

© 2013 Kaazing Corporation. All Rights Reserved.
WebSocket with Brokers

© 2013 Kaazing Corporation. All Rights Reserved.
WebSocket with Brokers

© 2013 Kaazing Corporation. All Rights Reserved.
WebSocket with Brokers

© 2013 Kaazing Corporation. All Rights Reserved.
The Architecture

© 2013 Kaazing Corporation. All Rights Reserved.
WebSocket Powering the Web of Things

WS

WS

WS

WS
WS

WS
WS

© 2013 Kaazing Corporation. All Rights Reserved.

WS

WS
Extending Protocols to the Web of Things

XMPP/WS
MQTT/WS

AMQP/WS

STOMP/WS
JMS/WS

© 2013 Kaazing Corporation. All Right...
Find Out More

§ 

The Zinger – Blog:
§ 

§ 

JMS WebSocket Tutorial
§ 

§ 

http://developer.kaazing.com

RC Car / L...
© 2013 Kaazing Corporation. All Rights Reserved.
The End

© 2013 Kaazing Corporation. All Rights Reserved.
Upcoming SlideShare
Loading in …5
×

Building Real-Time Enterprise Applications for the Internet of Things

892 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
892
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
45
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Building Real-Time Enterprise Applications for the Internet of Things

  1. 1. David Witherspoon Prashant Khanal Oct 30, 2013 © 2013 Kaazing Corporation. All Rights Reserved. 1
  2. 2. About Us §  §  §  §  Prashant Khanal Software Engineer – Kaazing Prashant.Khanal@kaazing.com Twitter: @ipras © 2013 Kaazing Corporation. All Rights Reserved. §  §  §  §  David Witherspoon Software Engineer – Kaazing David.Witherspoon@kaazing.com Twitter: @dpwspoon
  3. 3. Demo! © 2013 Kaazing Corporation. All Rights Reserved.
  4. 4. Agenda §  Requirements for the IoT §  Creating a reference architecture for IoT §  Live Demos, Live Demos, Live Demos §  Source Code, Source Code, Source Code §  WoT and IoT © 2013 Kaazing Corporation. All Rights Reserved.
  5. 5. Internet of Things Ubiquitous/Pervasive Heterogeneous Highly Interconnected Event-Driven/Real Time Identifiable Components Always On Scalable Manageable © 2013 Kaazing Corporation. All Rights Reserved.
  6. 6. Raspberry Pi Image source: http://www.oracle.com/technetwork/articles/java/raspberrypi-1704896.html © 2013 Kaazing Corporation. All Rights Reserved.
  7. 7. Demo! © 2013 Kaazing Corporation. All Rights Reserved.
  8. 8. Demo Setup © 2013 Kaazing Corporation. All Rights Reserved.
  9. 9. Raspberry Pi Controlling the Light Directly © 2013 Kaazing Corporation. All Rights Reserved.
  10. 10. Raspberry Pi Controlling the Light Directly © 2013 Kaazing Corporation. All Rights Reserved.
  11. 11. Raspberry Pi Controlling the Light Directly © 2013 Kaazing Corporation. All Rights Reserved.
  12. 12. Raspberry Pi Controlling the Light Directly © 2013 Kaazing Corporation. All Rights Reserved.
  13. 13. Demo Setup © 2013 Kaazing Corporation. All Rights Reserved.
  14. 14. Demo Setup © 2013 Kaazing Corporation. All Rights Reserved.
  15. 15. Message Systems/Protocols for the IoT §  Java Message Service (JMS) §  Standard §  Vendor §  Pub messaging API independent / Sub §  Loosely Coupled © 2013 Kaazing Corporation. All Rights Reserved.
  16. 16. Controlling the Light Remotely Using Pub-Sub © 2013 Kaazing Corporation. All Rights Reserved.
  17. 17. Demo! © 2013 Kaazing Corporation. All Rights Reserved.
  18. 18. LightJmsTcpController Using JMS to Control a Light © 2013 Kaazing Corporation. All Rights Reserved.
  19. 19. LightJmsTcpController Using JMS to Control a Light © 2013 Kaazing Corporation. All Rights Reserved.
  20. 20. LightJmsTcpController Using JMS to Control a Light © 2013 Kaazing Corporation. All Rights Reserved.
  21. 21. LightJmsTcpController Using JMS to Control a Light © 2013 Kaazing Corporation. All Rights Reserved.
  22. 22. ToggleJmsTcpListener Using JMS to Send Events © 2013 Kaazing Corporation. All Rights Reserved.
  23. 23. ToggleJmsTcpListener Using JMS to Send Events © 2013 Kaazing Corporation. All Rights Reserved.
  24. 24. Controlling the Light Remotely Using Pub-Sub © 2013 Kaazing Corporation. All Rights Reserved.
  25. 25. Challenges with TCP §  Isolated networks §  Ports §  Firewalls §  Web browsers © 2013 Kaazing Corporation. All Rights Reserved.
  26. 26. How to Extend This to the Web © 2013 Kaazing Corporation. All Rights Reserved.
  27. 27. Controlling the Light Remotely Using Pub-Sub Over the Web © 2013 Kaazing Corporation. All Rights Reserved.
  28. 28. HTML5 WebSocket: TCP for the Web §  Standard Protocol (IETF): RFC-6455 §  Standard API: §  W3C: JavaScript §  Java, iOS, Android, Flash, .NET/Silverlight §  Single socket, full-duplex §  Low overhead: <1% of HTTP §  Low latency: low milliseconds §  SSL support Full duplex © 2013 Kaazing Corporation. All Rights Reserved.
  29. 29. Protocol Layering Browsers, Native Applications and IoT Devices JMS XMPP AMQP B2B FTP VNC TCP Internet WebSocket Gateway © 2013 Kaazing Corporation. All Rights Reserved. WebSocket Gateway mktdata etc
  30. 30. Controlling the Light Remotely Using Pub-Sub Over the Web © 2013 Kaazing Corporation. All Rights Reserved.
  31. 31. Demo! © 2013 Kaazing Corporation. All Rights Reserved.
  32. 32. WebSocket with Brokers © 2013 Kaazing Corporation. All Rights Reserved.
  33. 33. WebSocket with Brokers © 2013 Kaazing Corporation. All Rights Reserved.
  34. 34. WebSocket with Brokers © 2013 Kaazing Corporation. All Rights Reserved.
  35. 35. The Architecture © 2013 Kaazing Corporation. All Rights Reserved.
  36. 36. WebSocket Powering the Web of Things WS WS WS WS WS WS WS © 2013 Kaazing Corporation. All Rights Reserved. WS WS
  37. 37. Extending Protocols to the Web of Things XMPP/WS MQTT/WS AMQP/WS STOMP/WS JMS/WS © 2013 Kaazing Corporation. All Rights Reserved.
  38. 38. Find Out More §  The Zinger – Blog: §  §  JMS WebSocket Tutorial §  §  http://developer.kaazing.com RC Car / Light and Switch Code §  §  http://tutorial.kaazing.com More developer content §  §  http://blog.kaazing.com https://github.com/dpwspoon/kaazingPi The Definitive Guide to HTML5 WebSocket, (Apress, 2013) §  First comprehensive guide on WebSocket §  Use WSK214 for 40% of the e-book © 2013 Kaazing Corporation. All Rights Reserved. 38
  39. 39. © 2013 Kaazing Corporation. All Rights Reserved.
  40. 40. The End © 2013 Kaazing Corporation. All Rights Reserved.

×