| This is the first of three
articles discussing mobilizing Domino applications onto BlackBerry
handsets.
In this article, we shall discuss the fundamentals of publishing
Domino data onto a BlackBerry handset, using one of the two development
tools that BlackBerry provides - the BlackBerry MDS Studio.
In the next article, I shall show enhancing the application and
the process of deploying the application to your corporate BlackBerries.
The last article will cover the more advanced BlackBerry development
tool - the JDE.
During this article and the next article, we shall develop an example
application together - a simple contact application to demonstrate
these techniques. This application allows the end user to view corporate
contacts and ultimately create new ones.
Why is this article focusing on BlackBerry handsets? Aren't there
other mobile solutions in our corporate world, such as Windows Mobile
devices and Palm-based devices?
I firmly believe that the solution that BlackBerry provides is
superior:
- It is far more secure. Data is transmitted in encrypted (and
compressed) form, using user-generated keys, between your data
centre and the handset. Should the handset be lost, a “Kill” command
can be sent which will destroy all data on the device. In comparison,
data held on other mobile platforms is easily retrieved.
- The handset itself is far more robust. Just look at the second-user
market on eBay for handsets, and you can see hundreds of older
devices for sale. I have owned a Windows handset in the past,
and found it to be far more physically fragile. Something worth
considering when choosing a handset that will live with you (and
your users) 24x7.
- Ease of use. The people who use these devices are probably not
computer experts, and wish a simple, clear end user interface
that works all the time in a predictable manner. The BlackBerry
experience provides that.
- Scalable. I know of customers who have rolled out tens of thousands
of BlackBerry handsets to their users who demand 24x7 service.
Other mobile platforms require far more support in order to keep
them going.
- Handsets. BlackBerry now has three physical handset formats,
and seems to update these at a dizzying pace, adding camera, memory
stick and now Wifi capability, whilst at the same time retaining
the ease of use and battery life that our users demand. I do not
for a second believe that this upgrade progress will slow down.
Many users firmly believe that BlackBerry can provide only email,
contact and calendar solutions - this series of articles shows how
to mobilise business critical applications as well.
If you already have a BlackBerry Domino solution in place, these
techniques will allow you to gain more value from your existing
investment and help deploy your applications to very influential
end users.
In order to appreciate fully the design decisions you must make,
you must appreciate how the solution is architected.
At the core of the BlackBerry solution is the BlackBerry enterprise
server (BES). This is a Windows-based server which connects to your
Domino environment - and indeed runs on a Domino server. This takes
data from your corporate environment and pushes it out to the handsets.
Out of the box, the BES server provides you with email, calendar
and contact (often referred to as PIM) synchronisation.
An optional installation - Mobile Data Suite ("MDS") Server - allows
you to leverage application connectivity as well as PIM information.
From a network point of view, the solution looks like:

So we can expose Web services on our Domino servers, which are
then consumed by the BES server and then passed to the handset via
a secure encrypted link over the internet. The traffic is passed
via RIMs servers which provide the capability to connect a corporate
BES server to a handset regardless of carrier or country.
In effect, we now have a secure VPN link from the handset right
back to behind our firewall, using encryption keys that are unique
to our corporation. In order for our Domino application to be exposed
on our BlackBerry handset, therefore, we need to:
- Web service enable our Domino Application
- Write an application for the BlackBerry that consumes that Web
service
Thankfully, BlackBerry MDS studio provides us with a development
environment that mimics this connectivity, as well as providing
us with a simulator which allows us to write, deploy and test applications
on a single development machine, without any of this infrastructure
being in place.
An important part of proposing this as a solution to management
is to understand the costs of running this architecture. The initial
costs for a pilot may preclude management buy-in. This section helps
you understand the costs of each of the components and how to minimise
these costs for a pilot.
The BES server itself is an expensive software component, and needs
to run either in a virtual machine image (such as VMware) or on
dedicated hardware. This will require a license for the operating
system and a domino server license. BES itself is sold as a software
package, and you require a CAL for each BlackBerry handset you wish
to connect to this.
BlackBerry is running a promotion at the moment for Lotus Domino
users where you can download and run a free 10-user BES server in
your environment. To download the server, go
here.
Each handset then costs money - you must obtain handsets from your
phone carrier, who will also sell you BES software and CALs. And
lastly, your phone needs to come with an air-time plan that includes
BlackBerry connection as well as data. For example, here in the
UK, T-Mobile offer BlackBerry service with your airtime package
for only £9/month extra.
Should you require a large number of handsets, you may find that
your existing corporate mobile phone provider is very flexible in
terms of pricing and may even provide test hardware in order to
demonstrate a pilot environment.
Second-user handsets are of course available via eBay, and this
route forms an invaluable source of cheap handsets suitable for
testing, etc.
Both the BlackBerry MDS Studio and JDE development environments
allow you to develop applications that will run on BlackBerry handsets.
But which one is suitable for your application development requirements?
The MDS Studio relies on the MDS server hosted on your BES and
provides a virtual VPN between your handsets and your corporate
infrastructure. These applications are then pushed out (over the
air) to your users. MDS users must therefore be connected to BES
servers that you control.
This in turn means that MDS studio should only really be used for
applications that will be used by corporate users in your environment.
JDE allows you far more granular control over your applications
and enables you to build far more complex applications - ones that
can store data on the handset and connect to general services. These
are more appropriate for developing applications that you might
wish to provide for any user, regardless of how they are connected.
The first two articles in this series will focus on the BlackBerry
MDS Studio development environment. Both development environments
are free and can be downloaded from
http://na.blackberry.com/eng/developers.
Bill Buchan is a veteran and long-standing member of the Lotus
Domino community. He regularly presents on stage at Lotusphere,
The View and the Irish/Scottish/UK user group conferences. If you've
ever seen a man in a kilt at a Domino event, chances are it's him.
Come up and say "Hi" - he's not as scary as he looks.
Outside of work (those precious few minutes!) he can be found being
bossed around by his wife ("She Who Must Be Obeyed") and daughter
("Squid"), and tinkering with his beloved motorbike.
He's a founder of HADSL
and his personal blog can be found at http://www.billbuchan.com,
where all his presentations and articles can be found.
|