29
Fri, Nov
0 New Articles

XPages: Domino Development Goes Mobile and Beyond

Development Tools / Utilities
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Are you looking to extend your legacy Domino applications to mobile? XPages-enabled applications just may be your rapid mobile development and deployment solution.

 

XPages is a web and mobile development platform enabling users to access and interact with IBM Notes and Domino data (and other data sources) using a cleaner, more modern interface.

 

Although XPages was originally created as a mobile controls project on OpenNTF.org in 2010, XPages mobile support began with IBM Lotus Domino 8.5.3 Upgrade Pack 1. Now, with Domino 9, XPages development is even more powerful than before. The XPages extension library is included with Domino 9, so you don't need to install any additional software.

 

What does it look like? Well, if you're familiar with Teamrooms in Notes/Domino, then you're in luck. The Domino 9 XPages-enabled Teamroom template really shows you the power of Xpages, and now it's pre-built for you. This XPages-enabled Teamroom provides an enhanced and consistent look and feel across desktop and mobile browser interfaces. This is a very basic, but very powerful adaptation of a well-revered Domino application. By being enabled for XPages, the application interface is now automatically modernized and enabled for a mobile device but still can be accessed in a traditional format in the IBM Notes client.

 

032713PitcherFig1                       

Figure 1: This is the traditional Teamroom template.

 

Here are a couple of screen shots from my iPad.

 

032713PitcherFig2

Figure 2: This is what Teamroom activities look like on iPad.

 

032713PitcherFig3

Figure 3: And this is the Teamroom main navigation on iPad.

 

And here's the very same Teamroom on my desktop.

 

032713PitcherFig4

Figure 4: And here's the very same Teamroom on my desktop.

 

If you have existing Teamrooms, then you can upgrade those by opening the Teamroom in your Notes client, clicking File > Application > Replace Design. Then choose the teamrm9.ntf template to apply over it. Once you're done, click Actions > Upgrade Content.

 

Now when you access the Teamroom over the web, it will be served up to your browser as an XPages application instead of the less-than-attractive application served over the web in the past.

 

Another similar example would be the familiar Discussion application, used primarily as a message board of sorts where groups can discuss ideas, projects, and such. IBM has also included an updated, XPages-enabled version of the Discussion template. Similar to the above instructions for Teamroom, just replace the design of your Discussion applications with the Domino 9 version and you'll be able to use the new XPages interface.

 

032713PitcherFig5

Figure 5: Compare this classic Discussion database to…

 

032713PitcherFig6

Figure 6: …the Discussion application on iPad.

 

These template demonstrations open up many possibilities of what you can do with existing applications to give them a fresh look and expand deployment options into the mobile world.

 

Now, when I say "mobile development with XPages," I don't mean creating local client apps for mobile devices. What XPages does is provide a nicely formatted web page that renders the content properly if it's on a supported tablet or smartphone. This is key. XPages allows developers to leverage standard web tools like AJAX, Dojo, and JavaScript to create new IBM Domino server-based applications or augment existing ones.

 

While the Domino Designer interface allows you to drag and drop controls onto the interface, an amount of coding/design is of course required in order to add proper functionality. If you're familiar with Domino Designer and the concept of using forms to enter/update data and views to display data, the learning curve to XPages development isn't too steep. In fact, you can bind a control on an XPage to a field on a legacy form with relative ease, but that's just the tip of the iceberg. Many developers have moved to XPages development over traditional Domino web development because it mostly eliminates the “make it work” type of work developers need to do to move a traditional Notes client application to the web. For instance, certain functions in the Notes client simply don't have a web equivalent. You'd have to find another method to execute the function.

 

In terms of performance, XPages is designed to perform better than traditional web-based Domino applications. From the Building Domino Web Applications Using Domino 8.5.1 redbook, "XPages provide significant performance benefits for your Domino hosted environment. If you compare XPages to the traditional Lotus Notes development techniques for the Web, XPages brings new performance improvements. Much of this is due to the fact that in the traditional Domino development approach, both the Data layer and the Presentation layers are linked together with the form architecture. As a result, the Domino server has to maintain in cache the whole document and form until the end of the user action. Within XPages, IBM has setup the NotesXspDocument, which in fact is only alive when an exchange between the client and the Domino server is needed. When rendering an XPage, the Domino server loads the Notes document in memory, creates the NotesXSPDocument, and then removes it from memory. This performance efficiency will be especially noticeable on an overloaded Domino HTTP server."

 

To start creating and customizing your own XPages applications, you'll need a copy of Domino Designer, which you can download for free here. You'll also need to have Lotus Domino server installed if you want to deploy XPages applications. If you don't have a server readily available, you can still try out developing XPages applications as Domino Designer comes with an embedded XPages runtime and HTTP server.

 

Alternatively, if you only have a Domino messaging server without the entitlement to serve applications, you can also look at the IBM XWork Server as a deployment option.

 

IBM XWork Server 9.0 was recently released and its announcement states the following:

 

"IBM XWork Server V9.0 is a competitively priced offering that uses IBM XPages technology. It enables an application developer to quickly and easily create rich web applications with a Web 2.0 application look and feel. XWork Server is a low-cost, rapid application development platform that offers the following:

  • A tailored solution that rapidly delivers business objectives
  • Access to collaborative and social solutions via web and mobile devices
  • Good-looking collaborative and social applications with a rich user experience
  • Solutions that are 1) Based on a proven technology, 2) Delivered with built-in, enterprise-grade security, and 3) Available at a lower cost

Enhancements include:

  • Broader and more flexible licensing terms and updates to pricing
  • Application development and integration that is easier and faster than ever with Domino support for Security Assertion Markup Language (SAML) and Open Standard for Authorization (Oauth)
  • Improvements in Domino Designer and XPages to support web and mobile applications"

 

IBM XWork Server allows eight applications per entitlement. You can buy up to four entitlements, allowing for a total of 32 applications per server.

 

If you want to get started on how to develop XPages, you can check out the following resources:

 

 

Steve Pitcher
Steve Pitcher works with iTech Solutions, an IBM Premier Business Partner. He is a specialist in IBM i and IBM Power Systems solutions since 2001. Feel free to contact him directly This email address is being protected from spambots. You need JavaScript enabled to view it..
BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: