SlideShare a Scribd company logo
AJAX for Mobile Devices
Using Apache Projects to get the job done
Roland Tritsch
Director PS FUSE
ACCU 2009 - Apr., 23rd - Oxford (UK)
© 2009 Progress Software Corporation
2
Why is this relevant?
 “The only bright spot in the PC industry is netbooks. Analysts at the Gartner
research company said shipments rose to 4.4 million devices in the third quarter
of 2008, from 500,000 units in the first quarter of last year. Analysts say sales
could double this year despite a deep worldwide recession.” - NYT -
26/01/2009
 “According to new research from CompassIntelligence.com, businesses in the
US will spend roughly $11.6 billion on mobile applications by 2012. ...
<snip> ...The highly mobile Healthcare industry is expected to spend an
estimated $1.1 billion on mobile applications by 2012, although the Government
and Services industries are expected to be the top spenders on mobile
applications.” - Compass Intelligence - 04/09/2008
 “An iPhone record: 500 million App Store downloads” - Apple - 16/01/2009
 Internet usage on mobile devices has dramatically increased since 2007. This
proliferation is the result of a rapid increase in processor power, improvements in
network connectivity and reductions in the costs of mobile computing. Many
mobile devices now include the same or similar Web browsing software as
desktop computers. As a consequence, mobile device users expect access
to the World Wide Web anytime, anywhere and from any device. -
MobileAjax - 2008
“Mobile is the next Desktop!”
© 2009 Progress Software Corporation
3
Why is this relevant?
 “The only bright spot in the PC industry is netbooks. Analysts at the Gartner
research company said shipments rose to 4.4 million devices in the third quarter
of 2008, from 500,000 units in the first quarter of last year. Analysts say sales
could double this year despite a deep worldwide recession.” - NYT -
26/01/2009
 “According to new research from CompassIntelligence.com, businesses in the
US will spend roughly $11.6 billion on mobile applications by 2012. ...
<snip> ...The highly mobile Healthcare industry is expected to spend an
estimated $1.1 billion on mobile applications by 2012, although the Government
and Services industries are expected to be the top spenders on mobile
applications.” - Compass Intelligence - 04/09/2008
 “An iPhone record: 500 million App Store downloads” - Apple - 16/01/2009
 Internet usage on mobile devices has dramatically increased since 2007. This
proliferation is the result of a rapid increase in processor power, improvements in
network connectivity and reductions in the costs of mobile computing. Many
mobile devices now include the same or similar Web browsing software as
desktop computers. As a consequence, mobile device users expect access
to the World Wide Web anytime, anywhere and from any device. -
MobileAjax - 2008
“Mobile is the next Desktop!”
Developing solutions for the
mobile platform will more and
more become part of the
everyday software engineering
challenge!
© 2009 Progress Software Corporation
4
This talk ...
 Build and maintain distributed (mobile)
applications/systems and minimize the cost
doing it
 A key cost factor are people
• Ramping up a skill and/or have them use a skill
 You need to A&D systems that are “easy” to
build and maintain
• AST - Architecture, Standard, Tools
• A&D and Code
... is also about money!
© 2009 Progress Software Corporation
5
What are the options?
 Go Native ...
• iPhone SDK (Objective-C), Windows Mobile
(C++), Symbian (C++), Palm (C++),
Blackberry (C++), Android (C++)
• High cost, very good results
 Use Java ...
• CLDC/MIDP, CDC, AGUI, OSGi, lots of JSRs
• Medium cost, good results
 Use the Browser (and AJAX :)) ...
• Internet Explorer, Safari, Firefox, Opera
• Low cost, maybe “good enough” results
One way to look at it ... (the “if-you-have-to” approach)
© 2009 Progress Software Corporation
6
The Project(s) ...
 Mobile Health Care Solution
• To make patient data available to doctors and
nurses, while they provide home-care services
• Cutting costs in the health care system and
increase traffic on the mobile network
 Mobile Payment Solution
• Use mobile devices to make “cheque” like
payments between businesses and individuals
• Use a widest possible variety of devices
... that were driving some of the research!
© 2009 Progress Software Corporation
7
Agenda
 Why is this relevant?
 Characteristics of a Mobile-SOA Platform
• Comparing the available approaches
 Using AJAX to get the job done
• Introducing AJAX and some relevant Apache
Projects
 Summary, Wrap Up and Q&A
• The “Sensoric” Revolution
© 2009 Progress Software Corporation
8
What makes “Mobile” special?
 Limited Hardware
• Limited Screen “Real Estate”
• Limited CPU, main memory, disk space
 Limited Network Connectivity
• Limited Bandwidth
• Unreliable Network Connectivity
 The Application Design
• Offline vs. Online
• Request/Response vs. Fire-and-Forget
• Short- vs. Long-Running
The client side hardware/the devices!
© 2009 Progress Software Corporation
9
“Mobile” A&D requirements
 Design for maximum battery life
• No constant looping/heavy CPU usage
• No polling
• DOM/XML parsing is expensive
– consider JSON
 Design for minimum data traffic
• Both for performance and cost
• “Chunk” the data/interactions to ensure
“responsive” user experience
 Design for maximum device portability
• Testing is key
© 2009 Progress Software Corporation
10
Consider the application
 “On Device” Mobile Application
• e.g. Game - lots of computing, not a lot of web
access/traffic
 “True” Mobile Web Application - less
computing, but lots of interactions with lots of
services
• EMail, Twitter, ..., Online Banking - large
number TXs, but (hopefully) small size of TX
 Behavior ...
• short interrupt driven, expect fast reaction,
“explore” (desktop) vs. “focused” (mobile)
Categories, behavior, ...
© 2009 Progress Software Corporation
11
What are the options (revisted)?
 Go Native ...
• iPhone SDK (Objective-C), Windows Mobile
(C++), Symbian (C++), Palm (C++),
Blackberry (C++), Android (C++)
• High cost, very good results
 Use Java ...
• CLDC/MIDP, CDC, AGUI, OSGi, lots of JSRs
• Medium cost, good results
 Use the Browser (and AJAX :)) ...
• Internet Explorer, Safari, Firefox, Opera
• Low cost, maybe “good enough” results
One way to look at it ... (the “if-you-have-to” approach)
© 2009 Progress Software Corporation
12
Agenda
 Why is this relevant?
 Characteristics of a Mobile-SOA Platform
• Comparing the available approaches
 Using AJAX to get the job done
• Introducing AJAX and some relevant Apache
Projects
 Summary, Wrap Up and Q&A
• The “Sensoric” Revolution
© 2009 Progress Software Corporation
13
The “1-Slide” AJAX Tutorial :)
 Asynchronous JavaScript and XML (AJAX)
• Coined by James Garret [2005]
 Based on ...
• JavaScript, DOM (HTML/XML) and
XMLHttpRequest
 Allows for interactive, partial, req/resp-style
updates/refreshes of web-pages/content
 Famous use-cases ...
• Google-Suggestions
• DART-Tracker (at least for me :))
Background and Concepts ...
© 2009 Progress Software Corporation
14
The “1-Slide” AJAX Tutorial :)
... a sequence diagram ...
Source: www.modelworks.com
© 2009 Progress Software Corporation
15
The “1-Slide” AJAX Tutorial :)
<a onClick=”onClickSayHi()”>Say Hi!</a>
---
function onClickSayHi() {
var xmlHttpRequest = GetXmlHttpRequestObject();
// setup anonymous callback function to deal with response
xmlHttp.onreadystatechange = function() {
if(xmlHttp.readyState != 4) return;
// LOTS of unmarshaling code goes here
}
// LOTS of marshaling code goes here
xmlHttp.open("GET", url, true);
xmlHttp.send(null);
}
... and some source code :).
© 2009 Progress Software Corporation
16
The browser “maze” ...
 Opera Mini - Presto
 (Apple/iPhone) Safari - Webkit
 (Google) Android - Webkit
 Nokia (s60) - Webkit
 Access Netfront - Netfront
 (RIM) Blackberry - Mango
 (Palm) Blazer - Netfront
 (MS-Windows Mobile) Internet Explorer
... and how to navigate it.
© 2009 Progress Software Corporation
17
Mobile AJAX “challenges” ...
 Hidden server interaction creates a risk for
the user experience
• Ensure UI behavior is in sync with network
behavior
 DOM/XML marshaling must be managed
• To manage CPU and battery
 Services wrapping required
• for Technologies - e.g. CORBA to HTTP/XML
• for Semantics - Distributed to Mobile
 Limited access to device features
• No solution - consider JAVA, Native
... and how to overcome them.
© 2009 Progress Software Corporation
Using Apache Projects to get the job done
 Server-side SOA platform
• Apache ServiceMix, ActiveMQ,
CXF
 Server-side service wrapping is
required
 But what to do about the client
side ... ?
18
© 2009 Progress Software Corporation
Using Apache CXF to access the Mobile SOA
 Java-Script generation
capabilities
• wsdl2js, ...?js URL extension
• supports SOAP, XML, JSON
 Very simple API
• onSuccess(), onError(), ...
 “Eliminates” marshaling code
 No “installation” needed
 Source Code/Podcast
• www.tritsch.org - Podcast
19
© 2009 Progress Software Corporation
20
Agenda
 Why is this relevant?
 Characteristics of a Mobile-SOA Platform
• Comparing the available approaches
 Using AJAX to get the job done
• Introducing AJAX and some relevant Apache
Projects
 Summary, Wrap Up and Q&A
• The “Sensoric” Revolution
© 2009 Progress Software Corporation
21
Resources to consider ...
 http://www.apache.org - SMX, AMQ, CXF
 http://www.openajax.org - Mobile AJAX TF
 http://www.youtube.com - Demystify AJAX
 http://www.w3schools.com - AJAX, DOM
... in case you want to learn more.
© 2009 Progress Software Corporation
22
Summary/Conclusions
 Given the right requirements, using AJAX is a
viable approach to build mobile applications/
solutions
 You still need to wrap the services :)
 Apache open source projects can help you to
build a/the Mobile SOA platform
© 2009 Progress Software Corporation
23
Questions
© 2009 Progress Software Corporation
24
Questions
Thank You!
© 2009 Progress Software Corporation
25

More Related Content

PDF
Next Platform of Manufacturing (Wizcore_Nexpom eng v3.0)
PPTX
Mt114 mobileapps
PPTX
Adobe Flash Platform Evangelism Kit
PPT
W2.0 Expo - Heid Mashups - Sept 18, 2008
PDF
Application Modernization meets Cloud and Mobile ... Where to Start?
PDF
New Services, No Silos: The Next 15 Years
PDF
Transitioning Data from Legacy Systems into QuickBase
PDF
Bringing Your Web Apps to IBM Digital Experience
Next Platform of Manufacturing (Wizcore_Nexpom eng v3.0)
Mt114 mobileapps
Adobe Flash Platform Evangelism Kit
W2.0 Expo - Heid Mashups - Sept 18, 2008
Application Modernization meets Cloud and Mobile ... Where to Start?
New Services, No Silos: The Next 15 Years
Transitioning Data from Legacy Systems into QuickBase
Bringing Your Web Apps to IBM Digital Experience

What's hot (20)

PPTX
Cloud Computing Workshop
PPTX
Citizen Self Service - Bridging The Transaction Gap
PPTX
The High Performance Digital Front Office
PPT
16 Best Practices for Mobile Customer Engagement & Data Collection in the Ent...
PPTX
CCW_deck(11) - external
PPTX
Mobile Apps
PPT
Delivering Big Data - By Rod Smith at the CloudCon 2013
PDF
IBM MobileFirst and Case Studies_Frank Müller_IBM Symposium 2013
PPTX
How to increase your speed of learning - Mick Liubinskas
PPT
Mobile enterprise overview v6
PDF
Internet of Things (ruSMART 2013, St. Petersburg)
PPTX
CloudExpo Cloud Computing IaaS Growth Details 2015 - Why 2014 Was A Turning P...
PDF
Mobile trends 2013
PPTX
Enterprise Mobile Apps
PDF
The Cloud and You - the 'as a service' disruption you can't ignore
PDF
IBM InterConnect 2013 Mobile Keynote: Marie Wieck
PDF
Pelegri Desarrollando en una nueva era de software
PDF
Road Ahead
PDF
Market trends in IT - exchange cala - October 2015
PDF
The Third Platform: Paul Maritz is breeding new technology for a new IT era
Cloud Computing Workshop
Citizen Self Service - Bridging The Transaction Gap
The High Performance Digital Front Office
16 Best Practices for Mobile Customer Engagement & Data Collection in the Ent...
CCW_deck(11) - external
Mobile Apps
Delivering Big Data - By Rod Smith at the CloudCon 2013
IBM MobileFirst and Case Studies_Frank Müller_IBM Symposium 2013
How to increase your speed of learning - Mick Liubinskas
Mobile enterprise overview v6
Internet of Things (ruSMART 2013, St. Petersburg)
CloudExpo Cloud Computing IaaS Growth Details 2015 - Why 2014 Was A Turning P...
Mobile trends 2013
Enterprise Mobile Apps
The Cloud and You - the 'as a service' disruption you can't ignore
IBM InterConnect 2013 Mobile Keynote: Marie Wieck
Pelegri Desarrollando en una nueva era de software
Road Ahead
Market trends in IT - exchange cala - October 2015
The Third Platform: Paul Maritz is breeding new technology for a new IT era
Ad

Viewers also liked (8)

PDF
A SOA for the car - 01/2009
PDF
Teaching Functional Programming @ TCD - 11/2012
PDF
"Managed Customization” in the Garment Industry - 10/2010
PDF
Immutable Deployment Platforms and Continuos Delivery - Friends or Foes?
PDF
RESTful Services and Distributed OSGi - 04/2009
PDF
Reactive Programming Meetup - NodeJs on K8s
PDF
Scala, Android & BLE - Scala Meetup Dublin - Hands on code walkthrough
PDF
SMACK Stack @ Nitro
A SOA for the car - 01/2009
Teaching Functional Programming @ TCD - 11/2012
"Managed Customization” in the Garment Industry - 10/2010
Immutable Deployment Platforms and Continuos Delivery - Friends or Foes?
RESTful Services and Distributed OSGi - 04/2009
Reactive Programming Meetup - NodeJs on K8s
Scala, Android & BLE - Scala Meetup Dublin - Hands on code walkthrough
SMACK Stack @ Nitro
Ad

Similar to AJAX for Mobile Devices - 04/2009 (20)

PPTX
Latest trends in information technology
PDF
BLUG 2013 - Mobile Application Delivery - Choices, choices, choices
PDF
Technology Trends
PPT
Report From JavaOne 2009 - part 3
PDF
PDF
Introduction of Mobile applications
PDF
MobileAppDev Handout#1
PDF
Mobile apps & Server Apis, the weak link? par Emanuele Pecorari
PPT
API Architecture Summit 2014- APIs: A Mobile Developer's Perspective
PDF
Mobile Widgets Development
PDF
Inside Mobile Widgets Publish
PDF
Simon Bates, Manifesto Digital - Mobile Application Development: Past, Presen...
PPTX
Perficient PepsiCo Rich Internet Apps Seminar
PPTX
Mobile App vs Mobile Web Development
PDF
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
DOCX
SamSegalResume
PPT
Integrate All The Things WS02Con
PPTX
Interactive Mobile Applications in the Enterprise: Are You Ready?
PPT
Mobile Application Developer
PDF
Past, Present and Future of APIs of Mobile and Web Apps
Latest trends in information technology
BLUG 2013 - Mobile Application Delivery - Choices, choices, choices
Technology Trends
Report From JavaOne 2009 - part 3
Introduction of Mobile applications
MobileAppDev Handout#1
Mobile apps & Server Apis, the weak link? par Emanuele Pecorari
API Architecture Summit 2014- APIs: A Mobile Developer's Perspective
Mobile Widgets Development
Inside Mobile Widgets Publish
Simon Bates, Manifesto Digital - Mobile Application Development: Past, Presen...
Perficient PepsiCo Rich Internet Apps Seminar
Mobile App vs Mobile Web Development
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
SamSegalResume
Integrate All The Things WS02Con
Interactive Mobile Applications in the Enterprise: Are You Ready?
Mobile Application Developer
Past, Present and Future of APIs of Mobile and Web Apps

More from Roland Tritsch (6)

PPTX
Shared-Nothing Microservices Architectures ... and how to get there @ 404.ie ...
PDF
Mobile Monday - WebServices on the iPhone - 05/2008
PDF
Sbt Concepts - Tips, Tricks, Sandbox, ... 02/2013
PDF
Puppet Camp Dublin - 06/2012
PDF
iPhone meets SOA - 06/2008
PDF
Innovation, Gilt and Ireland - 11/2011
Shared-Nothing Microservices Architectures ... and how to get there @ 404.ie ...
Mobile Monday - WebServices on the iPhone - 05/2008
Sbt Concepts - Tips, Tricks, Sandbox, ... 02/2013
Puppet Camp Dublin - 06/2012
iPhone meets SOA - 06/2008
Innovation, Gilt and Ireland - 11/2011

AJAX for Mobile Devices - 04/2009

  • 1. AJAX for Mobile Devices Using Apache Projects to get the job done Roland Tritsch Director PS FUSE ACCU 2009 - Apr., 23rd - Oxford (UK)
  • 2. © 2009 Progress Software Corporation 2 Why is this relevant?  “The only bright spot in the PC industry is netbooks. Analysts at the Gartner research company said shipments rose to 4.4 million devices in the third quarter of 2008, from 500,000 units in the first quarter of last year. Analysts say sales could double this year despite a deep worldwide recession.” - NYT - 26/01/2009  “According to new research from CompassIntelligence.com, businesses in the US will spend roughly $11.6 billion on mobile applications by 2012. ... <snip> ...The highly mobile Healthcare industry is expected to spend an estimated $1.1 billion on mobile applications by 2012, although the Government and Services industries are expected to be the top spenders on mobile applications.” - Compass Intelligence - 04/09/2008  “An iPhone record: 500 million App Store downloads” - Apple - 16/01/2009  Internet usage on mobile devices has dramatically increased since 2007. This proliferation is the result of a rapid increase in processor power, improvements in network connectivity and reductions in the costs of mobile computing. Many mobile devices now include the same or similar Web browsing software as desktop computers. As a consequence, mobile device users expect access to the World Wide Web anytime, anywhere and from any device. - MobileAjax - 2008 “Mobile is the next Desktop!”
  • 3. © 2009 Progress Software Corporation 3 Why is this relevant?  “The only bright spot in the PC industry is netbooks. Analysts at the Gartner research company said shipments rose to 4.4 million devices in the third quarter of 2008, from 500,000 units in the first quarter of last year. Analysts say sales could double this year despite a deep worldwide recession.” - NYT - 26/01/2009  “According to new research from CompassIntelligence.com, businesses in the US will spend roughly $11.6 billion on mobile applications by 2012. ... <snip> ...The highly mobile Healthcare industry is expected to spend an estimated $1.1 billion on mobile applications by 2012, although the Government and Services industries are expected to be the top spenders on mobile applications.” - Compass Intelligence - 04/09/2008  “An iPhone record: 500 million App Store downloads” - Apple - 16/01/2009  Internet usage on mobile devices has dramatically increased since 2007. This proliferation is the result of a rapid increase in processor power, improvements in network connectivity and reductions in the costs of mobile computing. Many mobile devices now include the same or similar Web browsing software as desktop computers. As a consequence, mobile device users expect access to the World Wide Web anytime, anywhere and from any device. - MobileAjax - 2008 “Mobile is the next Desktop!” Developing solutions for the mobile platform will more and more become part of the everyday software engineering challenge!
  • 4. © 2009 Progress Software Corporation 4 This talk ...  Build and maintain distributed (mobile) applications/systems and minimize the cost doing it  A key cost factor are people • Ramping up a skill and/or have them use a skill  You need to A&D systems that are “easy” to build and maintain • AST - Architecture, Standard, Tools • A&D and Code ... is also about money!
  • 5. © 2009 Progress Software Corporation 5 What are the options?  Go Native ... • iPhone SDK (Objective-C), Windows Mobile (C++), Symbian (C++), Palm (C++), Blackberry (C++), Android (C++) • High cost, very good results  Use Java ... • CLDC/MIDP, CDC, AGUI, OSGi, lots of JSRs • Medium cost, good results  Use the Browser (and AJAX :)) ... • Internet Explorer, Safari, Firefox, Opera • Low cost, maybe “good enough” results One way to look at it ... (the “if-you-have-to” approach)
  • 6. © 2009 Progress Software Corporation 6 The Project(s) ...  Mobile Health Care Solution • To make patient data available to doctors and nurses, while they provide home-care services • Cutting costs in the health care system and increase traffic on the mobile network  Mobile Payment Solution • Use mobile devices to make “cheque” like payments between businesses and individuals • Use a widest possible variety of devices ... that were driving some of the research!
  • 7. © 2009 Progress Software Corporation 7 Agenda  Why is this relevant?  Characteristics of a Mobile-SOA Platform • Comparing the available approaches  Using AJAX to get the job done • Introducing AJAX and some relevant Apache Projects  Summary, Wrap Up and Q&A • The “Sensoric” Revolution
  • 8. © 2009 Progress Software Corporation 8 What makes “Mobile” special?  Limited Hardware • Limited Screen “Real Estate” • Limited CPU, main memory, disk space  Limited Network Connectivity • Limited Bandwidth • Unreliable Network Connectivity  The Application Design • Offline vs. Online • Request/Response vs. Fire-and-Forget • Short- vs. Long-Running The client side hardware/the devices!
  • 9. © 2009 Progress Software Corporation 9 “Mobile” A&D requirements  Design for maximum battery life • No constant looping/heavy CPU usage • No polling • DOM/XML parsing is expensive – consider JSON  Design for minimum data traffic • Both for performance and cost • “Chunk” the data/interactions to ensure “responsive” user experience  Design for maximum device portability • Testing is key
  • 10. © 2009 Progress Software Corporation 10 Consider the application  “On Device” Mobile Application • e.g. Game - lots of computing, not a lot of web access/traffic  “True” Mobile Web Application - less computing, but lots of interactions with lots of services • EMail, Twitter, ..., Online Banking - large number TXs, but (hopefully) small size of TX  Behavior ... • short interrupt driven, expect fast reaction, “explore” (desktop) vs. “focused” (mobile) Categories, behavior, ...
  • 11. © 2009 Progress Software Corporation 11 What are the options (revisted)?  Go Native ... • iPhone SDK (Objective-C), Windows Mobile (C++), Symbian (C++), Palm (C++), Blackberry (C++), Android (C++) • High cost, very good results  Use Java ... • CLDC/MIDP, CDC, AGUI, OSGi, lots of JSRs • Medium cost, good results  Use the Browser (and AJAX :)) ... • Internet Explorer, Safari, Firefox, Opera • Low cost, maybe “good enough” results One way to look at it ... (the “if-you-have-to” approach)
  • 12. © 2009 Progress Software Corporation 12 Agenda  Why is this relevant?  Characteristics of a Mobile-SOA Platform • Comparing the available approaches  Using AJAX to get the job done • Introducing AJAX and some relevant Apache Projects  Summary, Wrap Up and Q&A • The “Sensoric” Revolution
  • 13. © 2009 Progress Software Corporation 13 The “1-Slide” AJAX Tutorial :)  Asynchronous JavaScript and XML (AJAX) • Coined by James Garret [2005]  Based on ... • JavaScript, DOM (HTML/XML) and XMLHttpRequest  Allows for interactive, partial, req/resp-style updates/refreshes of web-pages/content  Famous use-cases ... • Google-Suggestions • DART-Tracker (at least for me :)) Background and Concepts ...
  • 14. © 2009 Progress Software Corporation 14 The “1-Slide” AJAX Tutorial :) ... a sequence diagram ... Source: www.modelworks.com
  • 15. © 2009 Progress Software Corporation 15 The “1-Slide” AJAX Tutorial :) <a onClick=”onClickSayHi()”>Say Hi!</a> --- function onClickSayHi() { var xmlHttpRequest = GetXmlHttpRequestObject(); // setup anonymous callback function to deal with response xmlHttp.onreadystatechange = function() { if(xmlHttp.readyState != 4) return; // LOTS of unmarshaling code goes here } // LOTS of marshaling code goes here xmlHttp.open("GET", url, true); xmlHttp.send(null); } ... and some source code :).
  • 16. © 2009 Progress Software Corporation 16 The browser “maze” ...  Opera Mini - Presto  (Apple/iPhone) Safari - Webkit  (Google) Android - Webkit  Nokia (s60) - Webkit  Access Netfront - Netfront  (RIM) Blackberry - Mango  (Palm) Blazer - Netfront  (MS-Windows Mobile) Internet Explorer ... and how to navigate it.
  • 17. © 2009 Progress Software Corporation 17 Mobile AJAX “challenges” ...  Hidden server interaction creates a risk for the user experience • Ensure UI behavior is in sync with network behavior  DOM/XML marshaling must be managed • To manage CPU and battery  Services wrapping required • for Technologies - e.g. CORBA to HTTP/XML • for Semantics - Distributed to Mobile  Limited access to device features • No solution - consider JAVA, Native ... and how to overcome them.
  • 18. © 2009 Progress Software Corporation Using Apache Projects to get the job done  Server-side SOA platform • Apache ServiceMix, ActiveMQ, CXF  Server-side service wrapping is required  But what to do about the client side ... ? 18
  • 19. © 2009 Progress Software Corporation Using Apache CXF to access the Mobile SOA  Java-Script generation capabilities • wsdl2js, ...?js URL extension • supports SOAP, XML, JSON  Very simple API • onSuccess(), onError(), ...  “Eliminates” marshaling code  No “installation” needed  Source Code/Podcast • www.tritsch.org - Podcast 19
  • 20. © 2009 Progress Software Corporation 20 Agenda  Why is this relevant?  Characteristics of a Mobile-SOA Platform • Comparing the available approaches  Using AJAX to get the job done • Introducing AJAX and some relevant Apache Projects  Summary, Wrap Up and Q&A • The “Sensoric” Revolution
  • 21. © 2009 Progress Software Corporation 21 Resources to consider ...  http://www.apache.org - SMX, AMQ, CXF  http://www.openajax.org - Mobile AJAX TF  http://www.youtube.com - Demystify AJAX  http://www.w3schools.com - AJAX, DOM ... in case you want to learn more.
  • 22. © 2009 Progress Software Corporation 22 Summary/Conclusions  Given the right requirements, using AJAX is a viable approach to build mobile applications/ solutions  You still need to wrap the services :)  Apache open source projects can help you to build a/the Mobile SOA platform
  • 23. © 2009 Progress Software Corporation 23 Questions
  • 24. © 2009 Progress Software Corporation 24 Questions Thank You!
  • 25. © 2009 Progress Software Corporation 25