SlideShare a Scribd company logo
1 of 4
Download to read offline
• Cognizant 20-20 Insights




Lotus Notes Mobile Application
Development Using XPages
For migrating Lotus Notes apps to Web or mobile, XPages is an ideal
software development platform, allowing developers to readily tackle
testing and deployment challenges.

      Executive Summary                                      •	 Mobile application using XPages Mobile
                                                               Controls:
      The world is becoming more wireless every day
      and programmers have been forced to respond              The application, developed using XPages
      by developing applications that will work in many        Mobile Controls, is also a browser-based appli-
      wireless scenarios and with a variety of mobile          cation; however, it offers a very rich native
      devices.                                                 mobile application look. The Mobile Controls
                                                               come with the XPages Extended Library. It
      Many Lotus Notes clients are ready to migrate their      requires Lotus Notes and Domino version 8.5.3
      client base applications to mobile or Web applica-       or above. For developing the application using
      tions. In the past, it was very difficult to migrate     XPages Mobile Controls, go through the IBM
      the client application to Web or mobile because of       tutorial available on the following Web site.
      the technology limitation and the effort it takes
                                                               http://www-10.lotus.com/ldd/ddwiki.nsf/dx/
      for migration. But with the launching of XPages
                                                               XPages_Mobile_Controls_Tutorial_
      by IBM, this scenario has been changed. XPages is
      a rapid Web and mobile application development           It gives the basic knowledge on how to build a
      platform. Its programming model is based on              simple XPages mobile application in an existing
      standards and common Web development skills              Domino database. It covers the basic function-
      like JavaScript, Ajax, the Dojo Toolkit, server-side     alities like display a list of views, display the
      JavaScript and JavaServer Faces.1                        contents of a view, open a document from that
                                                               view and then perform all the typical actions
      How to Build the Mobile Application                      like create, read, update and delete on a
      All the mobile applications developed in Lotus           sample document.
      Notes are browser-based applications. This can         •	 Normal Web-based mobile application:
      be classified further into two categories — mobile
                                                               Many normal functions of the Web-based
      applications using XPages Mobile Controls, and
                                                               (Domino) application work as they do on the
      normal Web-based mobile applications.
                                                               mobile devices too. There is no guideline




      cognizant 20-20 insights | january 2013
available indicating which function/code works          the actual device is necessary before launching
   for mobile and which does not work. However,            an application into production. However, from
   most of the Web design elements work on the             the simulators the developers can at least get a
   mobile devices. Developers need to consider             good idea of size and alignment. For an iPhone
   the following two points while designing the            simulator, go to http://testiphone.com.
   application for mobile.
                                                       •	 Device available but connectivity is an issue:
   >> Size:   The mobile and iPad devices come             If the development application is within a
       with different screen sizes. So while design-       firewall (as with an intranet), then the developer
       ing the application developers must test the        can request the client to put the development
       application on the different devices. Devel-        application outside the firewall so that it can be
       opers also need to make sure that the ap-           accessed from mobile devices.
       plication is easy to navigate and the user
       should not have to scroll too much.
                                                       •	 Web browser: The developer can even test the
                                                           application functionality on the system’s Web
   >> Speed: Mobile/iPad devices have slower               browser. This, again, is not foolproof, so testing
      Internet speeds compared to PCs. So the              on the actual device is still necessary.
      content should be very concise. For exam-
      ple, avoid creating unnecessary fields in the    Deployment of Mobile Application
      forms and remove unnecessary columns             In Lotus Notes, most of the applications are
      from the views for mobile.                       hosted on the intranet server. So while converting
Another point developers should keep in mind is        the Notes application to mobile, the developer
the login page and authorization. Almost all the       has to come up with the deployment plan before
companies use a single sign-on for the Internet        starting the designing phase. Most clients do not
application. So developers must verify that the        agree to move the application outside the firewall.
single sign-on works on the mobile devices as well.    So the developer has to decide well in advance
                                                       how to deploy the application. There are several
Testing                                                possible approaches:
Testing a mobile application is sometimes a            •	 Move    the entire application outside the
challenge for developers. The primary reasons              firewall (DMZ environment): This opens the
are unavailability of devices and connectivity.            application over the Internet; hence, most
If one or both of these factors is an issue, then          clients don’t abide this option for security
developers can use the following methods.                  reasons.

•	 Simulators:    Many mobile simulators are           •	 Access the intranet through VPN: This is a
   available on the Internet. Developers can use the       secured option. The developer just needs to
   simulator for testing mobile applications. The          make sure that the client’s mobile devices have
   simulators are not 100% reliable so testing on          VPN connectivity (see Figure 1).


Access Through VPN

                                                                              Domino Server
                                                                              Within Firewall
                 Wireless
                 Devices
                                         Internet
                                                             Firewall




Figure 1




                        cognizant 20-20 insights       2
Access Through Domino HTTP Request Proxy


                                                Domino Server                      Domino Server
                                                Outside Firewall                   Within Firewall
         Wireless
         Devices
                               Internet                               Firewall




Figure 2




•	 Domino   HTTP Request Proxy: A Domino                   in this application and secure the necessary
  HTTP Request Proxy is an architecture that               approvals. The application has six to seven
  relies on the placement of another Domino                levels of workflow depending on the employee
  server outside the firewall. Users, from Web             designation and travel type.
  browsers to mobile devices, communicate
  directly with said Domino server. The external
                                                       •	 Requirement: The user needs to get the last
                                                           two or three levels of approval from the higher
  Domino server then communicates securely via
                                                           executives and VPs. The current system was
  NRPC to the target Domino server where the
                                                           developed only on a Notes client. So it was
  target Notes database is located. So, ideally, all
                                                           getting difficult for the higher executives to
  the CRUD (Create, Read, Update and Delete)
                                                           find time to approve/reject the requests. Hence
  operations are consumed by the Domino HTTP
                                                           they come up with the requirements to develop
  Request Proxy app and performed against
                                                           a PTA database for Android, iPhone and iPad.
  the target Notes database (see Figure 2). For
                                                           They just want the functionality for approving/
  more information on this, refer to the following
                                                           rejecting the request through these devices.
  website: http://www.dominoguru.com/pages/
  mobilexpages_series_architecture.html.               •	 Technology used: Lotus Notes XPages.
Key Challenges
                                                       •	 Devices covered: Android, iPhone and iPad.
                                                       •	 How we built: Initially, we tried to use the
•	 New technology: XPages Mobile Control is a
                                                           ready-made mobile control available on the
  new technology, so very little help is available
                                                           http://mobilecontrols.openntf.org/ site. This
  on the Web.
                                                           control can provide the very rich features to
•	 Testing offshore.                                       the application similar to the native mobile
                                                           application. However due to the very complex
•	 Deployment: Deployment plans must be                    design — and the fact that the team was very
  prepared in advance.
                                                           new to XPages technology — we dropped the
Case Study: Pre-Trip Approval                              plan to use this control and decided to build the
Application                                                functionality from scratch.

•	 Application     Overview: The Pre-Trip Applica-         We created around six or seven XPages; one for
  tion (PTA) is used for getting approvals for a           the main form, one for the homepage and the
  travel trip. If the employee is planning to go for       remainder for the views. For all three devices,
  an official trip (either domestic or internation-        we have used the same design elements.
  al) then he/she is required to create a request




                       cognizant 20-20 insights        3
Offshore testing posed a challenge. So most                                  Conclusion
      of the testing was done onsite. Offshore, we
                                                                                   It is often difficult for developers to start doing
      used the iPhone simulator that can be found
                                                                                   something new. Sometimes they remain stuck
      at http://www.testiphone.com/.
                                                                                   in the initial stages. This document can be the
                                                                                   starting point for developers who do not have any
•	 Deployment:       We kept the application within
                                                                                   knowledge about mobile application development
      the intranet. The employees have installed a
      control in the mobile device to receive intranet                             and are planning to work on it. The document
      connectivity through VPN.                                                    gives the basic information regarding designing,
                                                                                   testing, deployment and handling key challenges
                                                                                   for mobile application development.




Footnote
1	
     http://xpages.info/XPagesHome.nsf/Home.xsp.



About the Author
Saurabh Wadi is an Associate within Cognizant’s Enterprise Information Management Practice. He has
over seven and a half years of IT experience in the Domino and Lotus Notes technologies. Saurabh
has a bachelor of engineering degree in computer technology from Nirma Institute Of Technology,
Ahmedabad (Gujarat University). He can be reached at Saurabhbhai.Wadi@cognizant.com.




About Cognizant
Cognizant (NASDAQ: CTSH) is a leading provider of information technology, consulting, and business process out-
sourcing services, dedicated to helping the world’s leading companies build stronger businesses. Headquartered in
Teaneck, New Jersey (U.S.), Cognizant combines a passion for client satisfaction, technology innovation, deep industry
and business process expertise, and a global, collaborative workforce that embodies the future of work. With over 50
delivery centers worldwide and approximately 150,400 employees as of September 30, 2012, Cognizant is a member of
the NASDAQ-100, the S&P 500, the Forbes Global 2000, and the Fortune 500 and is ranked among the top performing
and fastest growing companies in the world. Visit us online at www.cognizant.com or follow us on Twitter: Cognizant.


                                         World Headquarters                  European Headquarters                 India Operations Headquarters
                                         500 Frank W. Burr Blvd.             1 Kingdom Street                      #5/535, Old Mahabalipuram Road
                                         Teaneck, NJ 07666 USA               Paddington Central                    Okkiyam Pettai, Thoraipakkam
                                         Phone: +1 201 801 0233              London W2 6BD                         Chennai, 600 096 India
                                         Fax: +1 201 801 0243                Phone: +44 (0) 20 7297 7600           Phone: +91 (0) 44 4209 6000
                                         Toll Free: +1 888 937 3277          Fax: +44 (0) 20 7121 0102             Fax: +91 (0) 44 4209 6060
                                         Email: inquiry@cognizant.com        Email: infouk@cognizant.com           Email: inquiryindia@cognizant.com


©
­­ Copyright 2013, Cognizant. All rights reserved. No part of this document may be reproduced, stored in a retrieval system, transmitted in any form or by any
means, electronic, mechanical, photocopying, recording, or otherwise, without the express written permission from Cognizant. The information contained herein is
subject to change without notice. All other trademarks mentioned herein are the property of their respective owners.

More Related Content

What's hot

Html5 overview
Html5 overviewHtml5 overview
Html5 overviewappbackr
 
IBM Lotus Mobile Strategy
IBM Lotus Mobile StrategyIBM Lotus Mobile Strategy
IBM Lotus Mobile StrategyDvir Reznik
 
Enterprise Apps Development 101
Enterprise Apps Development 101Enterprise Apps Development 101
Enterprise Apps Development 101Kareem ElSayyed
 
Developing Custom iOs Applications for Enterprise
Developing Custom iOs Applications for EnterpriseDeveloping Custom iOs Applications for Enterprise
Developing Custom iOs Applications for EnterpriseMobile March
 
IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010
IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010
IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010Friedel Jonker
 
IBM Worklight for Digital Agencies
IBM Worklight for Digital AgenciesIBM Worklight for Digital Agencies
IBM Worklight for Digital AgenciesGraham Churchill
 
Building Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst PlatformBuilding Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst PlatformAndrew Ferrier
 
Unified Communications with IBM
Unified Communications with IBMUnified Communications with IBM
Unified Communications with IBMVincent Perrin
 
Vunvulea radu it camp-ro 2012 - building metro style applications on window...
Vunvulea radu   it camp-ro 2012 - building metro style applications on window...Vunvulea radu   it camp-ro 2012 - building metro style applications on window...
Vunvulea radu it camp-ro 2012 - building metro style applications on window...Radu Vunvulea
 
ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...
ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...
ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...ITCamp
 
Michael Hoffmann zu Mobility
Michael Hoffmann zu MobilityMichael Hoffmann zu Mobility
Michael Hoffmann zu MobilityIBM Lotus
 
Forum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov Final
Forum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov FinalForum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov Final
Forum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov FinalDALEZ
 
S#01 김영욱
S#01 김영욱 S#01 김영욱
S#01 김영욱 codercay
 
BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10
BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10
BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10psiborg
 
Flash for Blackberry, iPhone and Android
Flash for Blackberry, iPhone and AndroidFlash for Blackberry, iPhone and Android
Flash for Blackberry, iPhone and AndroidMindgrub Technologies
 
WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03Videoguy
 

What's hot (20)

Html5 overview
Html5 overviewHtml5 overview
Html5 overview
 
IBM Lotus Mobile Strategy
IBM Lotus Mobile StrategyIBM Lotus Mobile Strategy
IBM Lotus Mobile Strategy
 
Enterprise Apps Development 101
Enterprise Apps Development 101Enterprise Apps Development 101
Enterprise Apps Development 101
 
Blackberry OS
Blackberry OSBlackberry OS
Blackberry OS
 
Developing Custom iOs Applications for Enterprise
Developing Custom iOs Applications for EnterpriseDeveloping Custom iOs Applications for Enterprise
Developing Custom iOs Applications for Enterprise
 
IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010
IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010
IBM Mobilizing Minds With Ib Ms Mobility Strategy 2010
 
IBM Worklight for Digital Agencies
IBM Worklight for Digital AgenciesIBM Worklight for Digital Agencies
IBM Worklight for Digital Agencies
 
Building Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst PlatformBuilding Effective and Rapid Applications with IBM MobileFirst Platform
Building Effective and Rapid Applications with IBM MobileFirst Platform
 
Unified Communications with IBM
Unified Communications with IBMUnified Communications with IBM
Unified Communications with IBM
 
Vunvulea radu it camp-ro 2012 - building metro style applications on window...
Vunvulea radu   it camp-ro 2012 - building metro style applications on window...Vunvulea radu   it camp-ro 2012 - building metro style applications on window...
Vunvulea radu it camp-ro 2012 - building metro style applications on window...
 
ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...
ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...
ITCamp 2012 - Radu Vunvulea - Building metro style applications on Windows 8 ...
 
Michael Hoffmann zu Mobility
Michael Hoffmann zu MobilityMichael Hoffmann zu Mobility
Michael Hoffmann zu Mobility
 
Nokia E7 Smartphone: Nokia and IBM Co-operation
Nokia E7 Smartphone: Nokia and IBM Co-operationNokia E7 Smartphone: Nokia and IBM Co-operation
Nokia E7 Smartphone: Nokia and IBM Co-operation
 
Forum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov Final
Forum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov FinalForum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov Final
Forum Nokia Dev. Camp - Biz Dev_ Paris 17&18 Nov Final
 
Rococo Software Q409
Rococo Software Q409Rococo Software Q409
Rococo Software Q409
 
Profound logic 2012
Profound logic 2012Profound logic 2012
Profound logic 2012
 
S#01 김영욱
S#01 김영욱 S#01 김영욱
S#01 김영욱
 
BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10
BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10
BEF2013 - Toronto - Dev Track 2 - Migrating Apps to BlackBerry 10
 
Flash for Blackberry, iPhone and Android
Flash for Blackberry, iPhone and AndroidFlash for Blackberry, iPhone and Android
Flash for Blackberry, iPhone and Android
 
WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03WVIZ Desktop Videoconferencing 03
WVIZ Desktop Videoconferencing 03
 

Similar to Lotus Notes Mobile Application Development Using XPages

AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...ddrschiw
 
Creating Mobile Websites with Kentico CMS 7
Creating Mobile Websites with Kentico CMS 7Creating Mobile Websites with Kentico CMS 7
Creating Mobile Websites with Kentico CMS 7Thomas Robbins
 
Mikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivityMikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivityMicrosoft Windows Embedded
 
Gartner Catalyst: How to succeed with your IT Mobile Strategy
Gartner Catalyst: How to succeed with your IT Mobile StrategyGartner Catalyst: How to succeed with your IT Mobile Strategy
Gartner Catalyst: How to succeed with your IT Mobile StrategyLou Sacco
 
Widgets –what’s that all about then?
Widgets –what’s that all about then?Widgets –what’s that all about then?
Widgets –what’s that all about then?Nathalie Magniez
 
Collaborative and agile development of mobile applications
Collaborative and agile development of mobile applicationsCollaborative and agile development of mobile applications
Collaborative and agile development of mobile applicationsAyushman Jain
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App DevelopmentAbhijeet Gupta
 
Codestrong 2012 breakout session mobile platform and infrastructure
Codestrong 2012 breakout session   mobile platform and infrastructureCodestrong 2012 breakout session   mobile platform and infrastructure
Codestrong 2012 breakout session mobile platform and infrastructureAxway Appcelerator
 
Mobile Endgeräte sind überall – deshalb das mobile Portal
Mobile Endgeräte sind überall – deshalb das mobile Portal Mobile Endgeräte sind überall – deshalb das mobile Portal
Mobile Endgeräte sind überall – deshalb das mobile Portal IBM Lotus
 
Ibm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsIbm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsMark Roden
 
Nordics IBM Mobile Foundation Integration in Action
Nordics IBM Mobile Foundation Integration in ActionNordics IBM Mobile Foundation Integration in Action
Nordics IBM Mobile Foundation Integration in ActionIBM Danmark
 
HTML5 Mobile Application Framework
HTML5 Mobile Application FrameworkHTML5 Mobile Application Framework
HTML5 Mobile Application FrameworkThanh Nguyen
 
Mobile Developer's Guide To The Galaxy Vol.7
Mobile Developer's Guide To The Galaxy Vol.7Mobile Developer's Guide To The Galaxy Vol.7
Mobile Developer's Guide To The Galaxy Vol.7Marco Tabor
 
Cloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleCloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleMatthew Perrins
 
Mobile to Mainframe - En-to-end transformation
Mobile to Mainframe - En-to-end transformationMobile to Mainframe - En-to-end transformation
Mobile to Mainframe - En-to-end transformationSanjeev Sharma
 
Mobile Apps Performance Testing Using Open Source Tool JMeter
Mobile Apps Performance Testing Using Open Source Tool JMeterMobile Apps Performance Testing Using Open Source Tool JMeter
Mobile Apps Performance Testing Using Open Source Tool JMeterDevendra Singh
 

Similar to Lotus Notes Mobile Application Development Using XPages (20)

AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
AD114 -- Beyond the Mobile Browser? Building Rich Mobile Applications for IBM...
 
Creating Mobile Websites with Kentico CMS 7
Creating Mobile Websites with Kentico CMS 7Creating Mobile Websites with Kentico CMS 7
Creating Mobile Websites with Kentico CMS 7
 
Mikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivityMikehall FutureWorld 2010 - enabling connectivity
Mikehall FutureWorld 2010 - enabling connectivity
 
DDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su LotusDDive- Giuseppe Grasso - mobile su Lotus
DDive- Giuseppe Grasso - mobile su Lotus
 
Gartner Catalyst: How to succeed with your IT Mobile Strategy
Gartner Catalyst: How to succeed with your IT Mobile StrategyGartner Catalyst: How to succeed with your IT Mobile Strategy
Gartner Catalyst: How to succeed with your IT Mobile Strategy
 
Widgets –what’s that all about then?
Widgets –what’s that all about then?Widgets –what’s that all about then?
Widgets –what’s that all about then?
 
Collaborative and agile development of mobile applications
Collaborative and agile development of mobile applicationsCollaborative and agile development of mobile applications
Collaborative and agile development of mobile applications
 
[IJCT-V3I2P36] Authors: Amarbir Singh
[IJCT-V3I2P36] Authors: Amarbir Singh[IJCT-V3I2P36] Authors: Amarbir Singh
[IJCT-V3I2P36] Authors: Amarbir Singh
 
Basic of Android App Development
Basic of Android App DevelopmentBasic of Android App Development
Basic of Android App Development
 
Codestrong 2012 breakout session mobile platform and infrastructure
Codestrong 2012 breakout session   mobile platform and infrastructureCodestrong 2012 breakout session   mobile platform and infrastructure
Codestrong 2012 breakout session mobile platform and infrastructure
 
Mobile Endgeräte sind überall – deshalb das mobile Portal
Mobile Endgeräte sind überall – deshalb das mobile Portal Mobile Endgeräte sind überall – deshalb das mobile Portal
Mobile Endgeräte sind überall – deshalb das mobile Portal
 
Ibm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applicationsIbm worklight - going from xpages mobile to native mobile applications
Ibm worklight - going from xpages mobile to native mobile applications
 
Nordics IBM Mobile Foundation Integration in Action
Nordics IBM Mobile Foundation Integration in ActionNordics IBM Mobile Foundation Integration in Action
Nordics IBM Mobile Foundation Integration in Action
 
HTML5 Mobile Application Framework
HTML5 Mobile Application FrameworkHTML5 Mobile Application Framework
HTML5 Mobile Application Framework
 
Voice browser
Voice browserVoice browser
Voice browser
 
Mobile Developer's Guide To The Galaxy Vol.7
Mobile Developer's Guide To The Galaxy Vol.7Mobile Developer's Guide To The Galaxy Vol.7
Mobile Developer's Guide To The Galaxy Vol.7
 
Webapi
WebapiWebapi
Webapi
 
Cloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleCloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer Console
 
Mobile to Mainframe - En-to-end transformation
Mobile to Mainframe - En-to-end transformationMobile to Mainframe - En-to-end transformation
Mobile to Mainframe - En-to-end transformation
 
Mobile Apps Performance Testing Using Open Source Tool JMeter
Mobile Apps Performance Testing Using Open Source Tool JMeterMobile Apps Performance Testing Using Open Source Tool JMeter
Mobile Apps Performance Testing Using Open Source Tool JMeter
 

More from Cognizant

Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...
Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...
Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...Cognizant
 
Data Modernization: Breaking the AI Vicious Cycle for Superior Decision-making
Data Modernization: Breaking the AI Vicious Cycle for Superior Decision-makingData Modernization: Breaking the AI Vicious Cycle for Superior Decision-making
Data Modernization: Breaking the AI Vicious Cycle for Superior Decision-makingCognizant
 
It Takes an Ecosystem: How Technology Companies Deliver Exceptional Experiences
It Takes an Ecosystem: How Technology Companies Deliver Exceptional ExperiencesIt Takes an Ecosystem: How Technology Companies Deliver Exceptional Experiences
It Takes an Ecosystem: How Technology Companies Deliver Exceptional ExperiencesCognizant
 
Intuition Engineered
Intuition EngineeredIntuition Engineered
Intuition EngineeredCognizant
 
The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...
The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...
The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...Cognizant
 
Enhancing Desirability: Five Considerations for Winning Digital Initiatives
Enhancing Desirability: Five Considerations for Winning Digital InitiativesEnhancing Desirability: Five Considerations for Winning Digital Initiatives
Enhancing Desirability: Five Considerations for Winning Digital InitiativesCognizant
 
The Work Ahead in Manufacturing: Fulfilling the Agility Mandate
The Work Ahead in Manufacturing: Fulfilling the Agility MandateThe Work Ahead in Manufacturing: Fulfilling the Agility Mandate
The Work Ahead in Manufacturing: Fulfilling the Agility MandateCognizant
 
The Work Ahead in Higher Education: Repaving the Road for the Employees of To...
The Work Ahead in Higher Education: Repaving the Road for the Employees of To...The Work Ahead in Higher Education: Repaving the Road for the Employees of To...
The Work Ahead in Higher Education: Repaving the Road for the Employees of To...Cognizant
 
Engineering the Next-Gen Digital Claims Organisation for Australian General I...
Engineering the Next-Gen Digital Claims Organisation for Australian General I...Engineering the Next-Gen Digital Claims Organisation for Australian General I...
Engineering the Next-Gen Digital Claims Organisation for Australian General I...Cognizant
 
Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...
Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...
Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...Cognizant
 
Green Rush: The Economic Imperative for Sustainability
Green Rush: The Economic Imperative for SustainabilityGreen Rush: The Economic Imperative for Sustainability
Green Rush: The Economic Imperative for SustainabilityCognizant
 
Policy Administration Modernization: Four Paths for Insurers
Policy Administration Modernization: Four Paths for InsurersPolicy Administration Modernization: Four Paths for Insurers
Policy Administration Modernization: Four Paths for InsurersCognizant
 
The Work Ahead in Utilities: Powering a Sustainable Future with Digital
The Work Ahead in Utilities: Powering a Sustainable Future with DigitalThe Work Ahead in Utilities: Powering a Sustainable Future with Digital
The Work Ahead in Utilities: Powering a Sustainable Future with DigitalCognizant
 
AI in Media & Entertainment: Starting the Journey to Value
AI in Media & Entertainment: Starting the Journey to ValueAI in Media & Entertainment: Starting the Journey to Value
AI in Media & Entertainment: Starting the Journey to ValueCognizant
 
Operations Workforce Management: A Data-Informed, Digital-First Approach
Operations Workforce Management: A Data-Informed, Digital-First ApproachOperations Workforce Management: A Data-Informed, Digital-First Approach
Operations Workforce Management: A Data-Informed, Digital-First ApproachCognizant
 
Five Priorities for Quality Engineering When Taking Banking to the Cloud
Five Priorities for Quality Engineering When Taking Banking to the CloudFive Priorities for Quality Engineering When Taking Banking to the Cloud
Five Priorities for Quality Engineering When Taking Banking to the CloudCognizant
 
Getting Ahead With AI: How APAC Companies Replicate Success by Remaining Focused
Getting Ahead With AI: How APAC Companies Replicate Success by Remaining FocusedGetting Ahead With AI: How APAC Companies Replicate Success by Remaining Focused
Getting Ahead With AI: How APAC Companies Replicate Success by Remaining FocusedCognizant
 
Crafting the Utility of the Future
Crafting the Utility of the FutureCrafting the Utility of the Future
Crafting the Utility of the FutureCognizant
 
Utilities Can Ramp Up CX with a Customer Data Platform
Utilities Can Ramp Up CX with a Customer Data PlatformUtilities Can Ramp Up CX with a Customer Data Platform
Utilities Can Ramp Up CX with a Customer Data PlatformCognizant
 
The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...
The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...
The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...Cognizant
 

More from Cognizant (20)

Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...
Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...
Using Adaptive Scrum to Tame Process Reverse Engineering in Data Analytics Pr...
 
Data Modernization: Breaking the AI Vicious Cycle for Superior Decision-making
Data Modernization: Breaking the AI Vicious Cycle for Superior Decision-makingData Modernization: Breaking the AI Vicious Cycle for Superior Decision-making
Data Modernization: Breaking the AI Vicious Cycle for Superior Decision-making
 
It Takes an Ecosystem: How Technology Companies Deliver Exceptional Experiences
It Takes an Ecosystem: How Technology Companies Deliver Exceptional ExperiencesIt Takes an Ecosystem: How Technology Companies Deliver Exceptional Experiences
It Takes an Ecosystem: How Technology Companies Deliver Exceptional Experiences
 
Intuition Engineered
Intuition EngineeredIntuition Engineered
Intuition Engineered
 
The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...
The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...
The Work Ahead: Transportation and Logistics Delivering on the Digital-Physic...
 
Enhancing Desirability: Five Considerations for Winning Digital Initiatives
Enhancing Desirability: Five Considerations for Winning Digital InitiativesEnhancing Desirability: Five Considerations for Winning Digital Initiatives
Enhancing Desirability: Five Considerations for Winning Digital Initiatives
 
The Work Ahead in Manufacturing: Fulfilling the Agility Mandate
The Work Ahead in Manufacturing: Fulfilling the Agility MandateThe Work Ahead in Manufacturing: Fulfilling the Agility Mandate
The Work Ahead in Manufacturing: Fulfilling the Agility Mandate
 
The Work Ahead in Higher Education: Repaving the Road for the Employees of To...
The Work Ahead in Higher Education: Repaving the Road for the Employees of To...The Work Ahead in Higher Education: Repaving the Road for the Employees of To...
The Work Ahead in Higher Education: Repaving the Road for the Employees of To...
 
Engineering the Next-Gen Digital Claims Organisation for Australian General I...
Engineering the Next-Gen Digital Claims Organisation for Australian General I...Engineering the Next-Gen Digital Claims Organisation for Australian General I...
Engineering the Next-Gen Digital Claims Organisation for Australian General I...
 
Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...
Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...
Profitability in the Direct-to-Consumer Marketplace: A Playbook for Media and...
 
Green Rush: The Economic Imperative for Sustainability
Green Rush: The Economic Imperative for SustainabilityGreen Rush: The Economic Imperative for Sustainability
Green Rush: The Economic Imperative for Sustainability
 
Policy Administration Modernization: Four Paths for Insurers
Policy Administration Modernization: Four Paths for InsurersPolicy Administration Modernization: Four Paths for Insurers
Policy Administration Modernization: Four Paths for Insurers
 
The Work Ahead in Utilities: Powering a Sustainable Future with Digital
The Work Ahead in Utilities: Powering a Sustainable Future with DigitalThe Work Ahead in Utilities: Powering a Sustainable Future with Digital
The Work Ahead in Utilities: Powering a Sustainable Future with Digital
 
AI in Media & Entertainment: Starting the Journey to Value
AI in Media & Entertainment: Starting the Journey to ValueAI in Media & Entertainment: Starting the Journey to Value
AI in Media & Entertainment: Starting the Journey to Value
 
Operations Workforce Management: A Data-Informed, Digital-First Approach
Operations Workforce Management: A Data-Informed, Digital-First ApproachOperations Workforce Management: A Data-Informed, Digital-First Approach
Operations Workforce Management: A Data-Informed, Digital-First Approach
 
Five Priorities for Quality Engineering When Taking Banking to the Cloud
Five Priorities for Quality Engineering When Taking Banking to the CloudFive Priorities for Quality Engineering When Taking Banking to the Cloud
Five Priorities for Quality Engineering When Taking Banking to the Cloud
 
Getting Ahead With AI: How APAC Companies Replicate Success by Remaining Focused
Getting Ahead With AI: How APAC Companies Replicate Success by Remaining FocusedGetting Ahead With AI: How APAC Companies Replicate Success by Remaining Focused
Getting Ahead With AI: How APAC Companies Replicate Success by Remaining Focused
 
Crafting the Utility of the Future
Crafting the Utility of the FutureCrafting the Utility of the Future
Crafting the Utility of the Future
 
Utilities Can Ramp Up CX with a Customer Data Platform
Utilities Can Ramp Up CX with a Customer Data PlatformUtilities Can Ramp Up CX with a Customer Data Platform
Utilities Can Ramp Up CX with a Customer Data Platform
 
The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...
The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...
The Work Ahead in Intelligent Automation: Coping with Complexity in a Post-Pa...
 

Lotus Notes Mobile Application Development Using XPages

  • 1. • Cognizant 20-20 Insights Lotus Notes Mobile Application Development Using XPages For migrating Lotus Notes apps to Web or mobile, XPages is an ideal software development platform, allowing developers to readily tackle testing and deployment challenges. Executive Summary • Mobile application using XPages Mobile Controls: The world is becoming more wireless every day and programmers have been forced to respond The application, developed using XPages by developing applications that will work in many Mobile Controls, is also a browser-based appli- wireless scenarios and with a variety of mobile cation; however, it offers a very rich native devices. mobile application look. The Mobile Controls come with the XPages Extended Library. It Many Lotus Notes clients are ready to migrate their requires Lotus Notes and Domino version 8.5.3 client base applications to mobile or Web applica- or above. For developing the application using tions. In the past, it was very difficult to migrate XPages Mobile Controls, go through the IBM the client application to Web or mobile because of tutorial available on the following Web site. the technology limitation and the effort it takes http://www-10.lotus.com/ldd/ddwiki.nsf/dx/ for migration. But with the launching of XPages XPages_Mobile_Controls_Tutorial_ by IBM, this scenario has been changed. XPages is a rapid Web and mobile application development It gives the basic knowledge on how to build a platform. Its programming model is based on simple XPages mobile application in an existing standards and common Web development skills Domino database. It covers the basic function- like JavaScript, Ajax, the Dojo Toolkit, server-side alities like display a list of views, display the JavaScript and JavaServer Faces.1 contents of a view, open a document from that view and then perform all the typical actions How to Build the Mobile Application like create, read, update and delete on a All the mobile applications developed in Lotus sample document. Notes are browser-based applications. This can • Normal Web-based mobile application: be classified further into two categories — mobile Many normal functions of the Web-based applications using XPages Mobile Controls, and (Domino) application work as they do on the normal Web-based mobile applications. mobile devices too. There is no guideline cognizant 20-20 insights | january 2013
  • 2. available indicating which function/code works the actual device is necessary before launching for mobile and which does not work. However, an application into production. However, from most of the Web design elements work on the the simulators the developers can at least get a mobile devices. Developers need to consider good idea of size and alignment. For an iPhone the following two points while designing the simulator, go to http://testiphone.com. application for mobile. • Device available but connectivity is an issue: >> Size: The mobile and iPad devices come If the development application is within a with different screen sizes. So while design- firewall (as with an intranet), then the developer ing the application developers must test the can request the client to put the development application on the different devices. Devel- application outside the firewall so that it can be opers also need to make sure that the ap- accessed from mobile devices. plication is easy to navigate and the user should not have to scroll too much. • Web browser: The developer can even test the application functionality on the system’s Web >> Speed: Mobile/iPad devices have slower browser. This, again, is not foolproof, so testing Internet speeds compared to PCs. So the on the actual device is still necessary. content should be very concise. For exam- ple, avoid creating unnecessary fields in the Deployment of Mobile Application forms and remove unnecessary columns In Lotus Notes, most of the applications are from the views for mobile. hosted on the intranet server. So while converting Another point developers should keep in mind is the Notes application to mobile, the developer the login page and authorization. Almost all the has to come up with the deployment plan before companies use a single sign-on for the Internet starting the designing phase. Most clients do not application. So developers must verify that the agree to move the application outside the firewall. single sign-on works on the mobile devices as well. So the developer has to decide well in advance how to deploy the application. There are several Testing possible approaches: Testing a mobile application is sometimes a • Move the entire application outside the challenge for developers. The primary reasons firewall (DMZ environment): This opens the are unavailability of devices and connectivity. application over the Internet; hence, most If one or both of these factors is an issue, then clients don’t abide this option for security developers can use the following methods. reasons. • Simulators: Many mobile simulators are • Access the intranet through VPN: This is a available on the Internet. Developers can use the secured option. The developer just needs to simulator for testing mobile applications. The make sure that the client’s mobile devices have simulators are not 100% reliable so testing on VPN connectivity (see Figure 1). Access Through VPN Domino Server Within Firewall Wireless Devices Internet Firewall Figure 1 cognizant 20-20 insights 2
  • 3. Access Through Domino HTTP Request Proxy Domino Server Domino Server Outside Firewall Within Firewall Wireless Devices Internet Firewall Figure 2 • Domino HTTP Request Proxy: A Domino in this application and secure the necessary HTTP Request Proxy is an architecture that approvals. The application has six to seven relies on the placement of another Domino levels of workflow depending on the employee server outside the firewall. Users, from Web designation and travel type. browsers to mobile devices, communicate directly with said Domino server. The external • Requirement: The user needs to get the last two or three levels of approval from the higher Domino server then communicates securely via executives and VPs. The current system was NRPC to the target Domino server where the developed only on a Notes client. So it was target Notes database is located. So, ideally, all getting difficult for the higher executives to the CRUD (Create, Read, Update and Delete) find time to approve/reject the requests. Hence operations are consumed by the Domino HTTP they come up with the requirements to develop Request Proxy app and performed against a PTA database for Android, iPhone and iPad. the target Notes database (see Figure 2). For They just want the functionality for approving/ more information on this, refer to the following rejecting the request through these devices. website: http://www.dominoguru.com/pages/ mobilexpages_series_architecture.html. • Technology used: Lotus Notes XPages. Key Challenges • Devices covered: Android, iPhone and iPad. • How we built: Initially, we tried to use the • New technology: XPages Mobile Control is a ready-made mobile control available on the new technology, so very little help is available http://mobilecontrols.openntf.org/ site. This on the Web. control can provide the very rich features to • Testing offshore. the application similar to the native mobile application. However due to the very complex • Deployment: Deployment plans must be design — and the fact that the team was very prepared in advance. new to XPages technology — we dropped the Case Study: Pre-Trip Approval plan to use this control and decided to build the Application functionality from scratch. • Application Overview: The Pre-Trip Applica- We created around six or seven XPages; one for tion (PTA) is used for getting approvals for a the main form, one for the homepage and the travel trip. If the employee is planning to go for remainder for the views. For all three devices, an official trip (either domestic or internation- we have used the same design elements. al) then he/she is required to create a request cognizant 20-20 insights 3
  • 4. Offshore testing posed a challenge. So most Conclusion of the testing was done onsite. Offshore, we It is often difficult for developers to start doing used the iPhone simulator that can be found something new. Sometimes they remain stuck at http://www.testiphone.com/. in the initial stages. This document can be the starting point for developers who do not have any • Deployment: We kept the application within knowledge about mobile application development the intranet. The employees have installed a control in the mobile device to receive intranet and are planning to work on it. The document connectivity through VPN. gives the basic information regarding designing, testing, deployment and handling key challenges for mobile application development. Footnote 1 http://xpages.info/XPagesHome.nsf/Home.xsp. About the Author Saurabh Wadi is an Associate within Cognizant’s Enterprise Information Management Practice. He has over seven and a half years of IT experience in the Domino and Lotus Notes technologies. Saurabh has a bachelor of engineering degree in computer technology from Nirma Institute Of Technology, Ahmedabad (Gujarat University). He can be reached at Saurabhbhai.Wadi@cognizant.com. About Cognizant Cognizant (NASDAQ: CTSH) is a leading provider of information technology, consulting, and business process out- sourcing services, dedicated to helping the world’s leading companies build stronger businesses. Headquartered in Teaneck, New Jersey (U.S.), Cognizant combines a passion for client satisfaction, technology innovation, deep industry and business process expertise, and a global, collaborative workforce that embodies the future of work. With over 50 delivery centers worldwide and approximately 150,400 employees as of September 30, 2012, Cognizant is a member of the NASDAQ-100, the S&P 500, the Forbes Global 2000, and the Fortune 500 and is ranked among the top performing and fastest growing companies in the world. Visit us online at www.cognizant.com or follow us on Twitter: Cognizant. World Headquarters European Headquarters India Operations Headquarters 500 Frank W. Burr Blvd. 1 Kingdom Street #5/535, Old Mahabalipuram Road Teaneck, NJ 07666 USA Paddington Central Okkiyam Pettai, Thoraipakkam Phone: +1 201 801 0233 London W2 6BD Chennai, 600 096 India Fax: +1 201 801 0243 Phone: +44 (0) 20 7297 7600 Phone: +91 (0) 44 4209 6000 Toll Free: +1 888 937 3277 Fax: +44 (0) 20 7121 0102 Fax: +91 (0) 44 4209 6060 Email: inquiry@cognizant.com Email: infouk@cognizant.com Email: inquiryindia@cognizant.com © ­­ Copyright 2013, Cognizant. All rights reserved. No part of this document may be reproduced, stored in a retrieval system, transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the express written permission from Cognizant. The information contained herein is subject to change without notice. All other trademarks mentioned herein are the property of their respective owners.