MAS 9.2 series companion app
This page is the map. It puts the three ways side by side and hands you on to the pages that teach each one. By an app we mean something with screens of its own. Automation scripts, Java classes and integrations are other kinds of work, and this page leaves them out. What we say about the third way, we read from apps of ours on our test system, on the MAS 9.2 series.
Three ways, side by side#
Two of the three are published into Maximo Manage. The third is deployed beside it, and our apps of this kind work as the signed-in user.
| Maximo Mobile app | MAF web app | Companion app | |
|---|---|---|---|
| What it is | an app of the Maximo Application Framework, built for the mobile target | the same kind of app, built for the browser | a container with your own server and your own user interface |
| Where it runs | on a device, inside the Maximo Mobile app | in a browser tab, inside Maximo Manage | in a pod in the namespace of the suite |
| How it gets there | published in Application Configuration | published in Application Configuration | deployed to the cluster |
| Works offline | yes | no | not offered by our apps |
| The user interface | the components of the framework | the components of the framework | whatever you build |
The first two columns sum up our two anatomy pages. The third column is what we read from our own apps.
Way one: a Maximo Mobile app#
A Maximo Mobile app is XML for the screens and JavaScript for the logic. It runs on a device, several layers deep, and it works without a connection. A first app is a copy of an app that IBM ships, changed and published.
Anatomy of a Maximo Mobile App takes one apart. Hello World in Maximo Mobile walks the way from the copy to the device.
Way two: a MAF web app#
A MAF web app is the same kind of app on the other build target. It runs in a browser tab inside Maximo Manage. The container on the device is gone, and so is the offline part. The Operational Dashboard is such an app.
Anatomy of a MAF Web App is the cross-section. Building and Customizing an Operational Dashboard, End to End changes one, for members.
Way three: a container of your own#
A companion app is a different kind of thing. It is a container that you build, with a server and a user interface of your choice. It is deployed into the namespace of the suite, and on our test system people reach it under a path of the suite’s own address.
On our test system five such apps run. Four of them are products: they import and export Excel workbooks, walk the data of Maximo Manage record by record, and edit inspection forms.
Three things make such an app part of the suite:
- It sits behind the suite’s sign-in. A page of the app with no session is sent to the sign-in of the suite, and its API answers 401. With a session of the suite, we saw no second form in mas-tools.com Data Import.
- Its rights are rights in Maximo Manage. We opened one app as three users. A planner got a shorter menu than an administrator.
- It lives under the suite’s address. Each of our five apps has a route on the host of the suite, under its own path.
Anatomy of a MAS Companion App takes one of them apart, object by object and request by request.
What the third way asks of you#
The first two ways give you a framework: components, datasources, a build, and a place to publish. The third way gives you none of that ready-made, so you bring it yourself.
On the cluster, one of our apps is ten kinds of objects. They are a Deployment, a Service, a Route, a Certificate, a NetworkPolicy, a ServiceAccount with a role binding, Secrets, a ConfigMap, a volume, and a Job that registers the app for sign-in. Somebody with rights on the cluster installs them. Our Maximo Mobile apps and MAF web apps we publish in Application Configuration.
The app also brings what the framework would bring. Our apps carry their own server, their own user interface, and their own sign-in code against the suite. All of it is ours to keep working when the suite moves to a new release. An app of the framework moves with the framework that IBM ships: the mobile anatomy page calls version skew the background condition. A companion app has a release cycle of its own, as A Companion App Beside Manage says.
It also has what an app of the framework has no place for. One of ours keeps its data on a volume of its own, 20 GiB on our test system, and serves metrics on a second port for the monitoring of the cluster. Its sister app, mas-tools.com Data Export, can run an export every night, as the installation guide describes.
The questions that sort a problem#
These are the questions we ask, in this order.
Does it have to work without a connection? Then it is a Maximo Mobile app. Of the three, it is the one that is built to work offline.
Is it a screen of Maximo Manage, built from the framework’s components? Then it is a MAF web app, or a change to one that IBM ships. It is published in Application Configuration.
Does it need something that an app inside the framework has no place for? Then we build a companion app. Our four products are of this kind: workbooks with many rows that the server works through, an export that runs at night, and a view that walks from record to record. A Companion App Beside Manage tells that story for one of them.
When the answer is not clear, we take the smaller way. We count a change to an app that IBM ships as less to own than an app of the framework that is all ours, and that as less to own than a container.
What to read next#
- Anatomy of a MAS Companion App: the third way as one object.
- Anatomy of a Maximo Mobile App and Anatomy of a MAF Web App: the other two.
- The products on mas-tools.com: four companion apps, with their installation guides.
