Editor's note: This is reposted with permission of the Author.? Gary Samuelson's original post can be found here.
If you haven?t already done so I highly recommend you ?tool up? for iOS (iPhone) or Android development. Speaking more on the Android platform with this point, but Android is based on Linux ? meaning that the Android ?smartphone? is a small, pocket-sized Linux computer. And, behind this tiny, touch-screen UI, we have an event-driven framework suited for wireless IO (communication) and? distributed client (end-user) services. This makes a good fit for BPM mobility as it applies focused, via platform constraints, user-to-process interaction.
So, in warming up to enterprise-scale BPM Mobility, I want to first walk through a few system architectures ? this prior to diving into the details of Android computing. Goal being a build-up towards mobile device UI/IO requirements: from current state to future capabilities.
BPM Desktop Client: Web-portal, JSP Struts/Tiles
The portal has been with BPM practically from the very beginning and it exists today mostly in its original form as a JSP STRUTS/Tiles web-application.
Though somewhat dated in its technology, we must give credit as it has been and still is the BPM workhorse: delivering process execution, management, tracking, and reporting to our end-users. However, the portal leaves us wanting. Today?s users require a ?rich web? experience ? something beyond the reach of traditional architectures (form based: HTTP get/post). And, though the BPM Portal remains unsurpassed in features it simply cannot function as a mobile application.
For example, with the portal loaded into a 10? tablet web-browser, there are just too many active features and UI elements for reasonable touch-screen interaction. I found myself constantly zooming in for navigation and then back out again to review effects and options. However, dashboard and charting elements do work well when broken out on their own as separate elements.
IBM-BPM v751 ? Advanced: Dojo, Widgets, ReST API
Business Space enhances end-user experience with iWidgets and supporting dojo infrastructure.? Users now have rich web-applications without the downside of additional overhead costs required for custom in-house web development.
Though very close, I?m not sure that we?re at mobile computing. I need to qualify this however because Business Space runs well on Tablets. The catch is that it requires screen real-estate, network bandwidth, and additional CPU. Honestly, these are negligible on today?s desktop/laptop computers. Even reasonably powerful tablets are fully capable of running Business Space over WIFI.
Business Space on a smart-phone though does spot-light a few problems.
Screen real estate is tight on smart-phones! Slow performance is also noticeable as the phone?s CPU just doesn?t seem to keep up and deliver on the same snappy performance previously experienced on both desktop and tablet execution.
Phones require their own native BPM application.
Mobile Applications for Mobile Process Management
Writing native applications feels counter-intuitive but it?s our only alternative given the constraints and limitations for mobile computing. Moving task services to Android (for example) significantly improves performance. Execution latency and UI ?lag? disappear as timings drop into sub-second range.
With local execution, we?re looking at:
Reduced IO traffic via local application loading
- Discrete JSON server requests via ReST APIs.
- Native (java) run-time execution
- Local device data-storage. For example, Android includes a database usable for both caching and offline process execution.
- Local application services. These include: notification, document viewers, contacts, identity, and geo/mapping.
In working towards an architecture suitable for mobile BPM we take into account accompanying constraints and capabilities. We?re on a different path in that we?ve re-focused on building native phone applications.
Smartphones require discrete UIs, optimized coding techniques, and light-weight network IO. These challenges though are well worth the investment as mobility advances user-to-process interaction to near-personal proximity.
Acknowledging the tens of millions of new users purchasing smartphones, new expectations are set/re-set on almost a daily basis. Now?s the time to revisit our architecture and build-in these future capabilities.