
By Kaazing Blog | Article Rating: |
|
November 13, 2016 12:29 PM EST | Reads: |
399 |

In the mobile world, there are no excuses for any user experience that isn’t instantaneous, dynamic, and safe.
A cool way to develop these types of apps is with the use of a growing technology standard, WebSocket. This standard has been around since 2011 and allows you to add nifty real-time features to a mobile app.
Let’s use the Kaazing WebSocket Gateway and build our first real-time mobile app. Download the JMS Edition of the Gateway to get started. Included are a collection of Web, native and hybrid JMS demo apps for both iOS and Android to learn from. But why not just build one yourself?
All of the demo apps involve the same major programming steps (and model–view–controller pattern). All you have to do is simply import the Kaazing WebSocket Gateway client libraries and then add the following methods:
- Event listeners for the user actions in the Touch User Interface (TUI).
- Connect and disconnect methods for connecting the app to the Gateway and updating the TUI.
- A method for creating JMS topics and queues.
- A message listener to manage JMS messages.
- An exception listener to handle when a JMS provider detects an exception.
- Methods for when the app is paused, resumed, and closed.
That’s all you need.
Thirty minutes from now you can have your own Enterprise-level WebSocket JMS mobile app for you to experiment, extend, and impress with. Excited? Well off you go:
- Go get the JMS Edition Gateway and start it. For information on starting the Gateway, see the Setup Guide.
- Download and install any JMS-compliant message broker. Or better yet, use the Apache ActiveMQ JMS broker included in the JMS Edition of the Gateway. See the Setup Guide for how to start ActiveMQ. It’s dead simple.
- Pick a walkthrough to build your app:
- Native iOS or Android.
- Hybrid iOS or Android.
- Web JavaScript for mobile browsers.
- There’s even a Microsoft .NET/Silverlight hybrid for iOS and Android using Xamarin.
Told you it was easy!
Read the original blog entry...
Published November 13, 2016 Reads 399
Copyright © 2016 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Kaazing Blog
Kaazing is helping define the future of the event-driven enterprise by accelerating the Web for the Internet of Things.
![]() Jun. 16, 2017 07:00 AM EDT Reads: 1,813 |
By Yeshim Deniz ![]() Jun. 16, 2017 03:45 AM EDT Reads: 971 |
By Yeshim Deniz ![]() Jun. 16, 2017 03:30 AM EDT Reads: 915 |
By Yeshim Deniz ![]() Jun. 16, 2017 03:15 AM EDT Reads: 1,036 |
By Elizabeth White ![]() Jun. 16, 2017 12:00 AM EDT Reads: 961 |
By Yeshim Deniz ![]() Jun. 15, 2017 07:45 PM EDT Reads: 874 |
By Elizabeth White ![]() Jun. 15, 2017 04:30 PM EDT Reads: 546 |
By Elizabeth White ![]() Jun. 15, 2017 04:15 PM EDT Reads: 418 |
By Yeshim Deniz ![]() Jun. 15, 2017 12:45 PM EDT Reads: 1,620 |
By Liz McMillan ![]() Jun. 15, 2017 12:00 PM EDT Reads: 519 |
By Elizabeth White ![]() Jun. 15, 2017 10:30 AM EDT Reads: 549 |
By Elizabeth White ![]() Jun. 11, 2017 04:00 PM EDT Reads: 1,406 |
By Liz McMillan ![]() Jun. 11, 2017 04:00 PM EDT Reads: 1,287 |
By Yeshim Deniz ![]() Jun. 10, 2017 06:45 AM EDT Reads: 1,798 |
By Elizabeth White ![]() Jun. 8, 2017 12:00 PM EDT Reads: 1,442 |
By Liz McMillan ![]() Jun. 8, 2017 09:00 AM EDT Reads: 1,434 |
By Liz McMillan ![]() Jun. 8, 2017 07:00 AM EDT Reads: 2,240 |
By Yeshim Deniz ![]() Jun. 8, 2017 12:00 AM EDT Reads: 5,873 |
By Carmen Gonzalez ![]() Jun. 7, 2017 08:00 PM EDT Reads: 6,591 |
By Elizabeth White ![]() Jun. 7, 2017 12:00 PM EDT Reads: 2,024 |