IBM Worklight on Raspberry Pi
rtimothy 100000TRWH Visits (8113)
Recently, I had the pleasure of attending the JAX Conference in San Francisco. It was a wonderful event with some truly top-notch speakers, including Rich Hickey (of
On day two of the conference during one of the coffee breaks, Simon threw out the suggestion, "Why don't we get Worklight running on the Pi?" We grabbed a couple of stools, pulled out a laptop, and 20 minutes later (mostly due to the time required to manually move files around with a USB drive, since the Pi was only tethered to Simon's laptop), we had the IBM Worklight 5.0 server running on the Pi. The server included a sample mobile application for iPad, iPhone, and Android in addition to an HTTP adapter. While the loading of the application upon receiving the first request took about 40 seconds, subsequent requests were handled in under a second. As the Pi was not remotely accessible on the network, we were unable to connect with a real device. However, we were able to use the preview feature in the Worklight console to simulate the request flow, content loading, REST service calls, etc., all working just as they would on a "normal" machine.
Simon has already demonstrated the usefulness of the Raspberry Pi numerous times, including my favorite, a demonstration of using the Liberty Profile, Eclipse Paho (MQTT), and Really Small Message Broker (RSMB) to monitor power consumption and affect other electronic devices in Andy Stanford-Clark's home. While the Raspberry Pi certainly won't be the backend for an international bank's consumer banking application, it could certainly be hidden behind your television, broadcasting energy consumption in your house and allowing you to control and monitor your usage from your mobile devices. Or possibly hidden in a retail kiosk to server nearby mobile users. Or...