CTO Tuesdays #26: Eliminating the presentation tier

June 9th, 2010 by Alex

Episode 26 of CTO Tuesdays, the BPM podcast, is a must see.

Michael Rowley discusses how WS-HumanTask, coupled with capabilities provided by JSON and AJAX make it possible to eliminate presentation tier services on application servers for worklist management and process initiation in BPMSs.

It’s a look into how the browser, courtesy of AJAX techniques, has become so powerful for presentation logic that it has obviated the need for extra server-side work. While that may not be the latest news, what is fascinating is the application of these capabilities to BPM — and the inside look at the protocol enabled by the move of presentation logic to the client.

A note: I had a problem with the recoding of this podcast. The bad news is for the first couple of minutes, you’ll hear me give my welcome and introduction to the webinar, but you won’t see my PowerPoint slides. The good news is, once Michael begins his talk, you will see everything perfectly.

Update: During the Q&A in this episode, a user asks about parsing JSON on the server side. One of our engineers, PJ, heard that question and offers this answer:

Here’s a link to the JSON specs and libs and links to for parsing in Java, C, C++, ASP, PHP, etc.: http://json.org/

In ActiveVOS, you do not need to parse JSON because it is automatically converted to XML by the ActiveVOS engine and passed into the Receive (or onEvent) activity in your process. So, in ActiveVOS, one works with XML using XQuery & XPath.

For those using REST based services and want to parse JSON or respond with JSON, they can use the following extension functions:abx:jsonToXml(jsonStr) -> returns XML element
abx:xmlToJson(xmlElement) -> return JSON string

For more information, in ActiveVOS’s Expression dialog picklist, see Functions->BPEL->ActiveVOS->JSON

PJ also notes that we have documentation on using JSON in ActiveVOS at http://www.activevos.com/dev/sdks/XML-JSON-Binding/docs/Part1-ActiveVOS-XML-JSON-API.html and sample code in our SDKs at http://www.activevos.com/developers-sdks.php.

Thanks, PJ.

Tags: , , ,

Leave a Reply