Traits of Modern IBM i Application
The emerging application model favors a network of smaller agile components that address specific business capabilities, can evolve rapidly and independent of other components, communicating through common integration fabric. In this article I will share my thoughts on the traits of such modern IBM i application.
Let’s start with the obvious – the modern IBM i application must support specific business capabilities. This seems to be self-evident and not even worth mentioning – aren’t they all? However looking beyond the initial release, the business processes and underlying software systems change at different speeds. Sooner or later they become significantly misaligned. Business and IT can, to a certain degree, compensate with workarounds, often at a price of increased process overhead, impacting the business outcomes. Which brings us to the next most important characteristic.
Speed of change
The modern IBM i application must be evolved at a speed of business to continuously align the functionality with changing business needs. There are two key features that support this requirement. Application must provide easy access to key application data and business logic via APIs, enabling business and development community to deliver their own projects. Internally, the application team should be able to release new versions easy and often. These features influence our choice of delivery methodology and tools, architecture, team responsibilities, and technology choices.
The modern IBM i application must be architected from the ground up around integration requirements so it could be easily connected into application network, providing an access to data and business logic and consuming external processes through APIs. The integration platform, such as Mulesoft Anypoint, enables API governance, security, streamlines discovery and encourages reuse. As a result we can rapidly connect this modern IBM i application to other nodes and easily compose new processes and channels using APIs as building blocs. The integration layer also insulates other components from internal changes, shortening the time it takes to catch up with business demands.
One interesting thought that I will later explore in a separate post is to use API first approach with RAML and API Notebook for rapid prototyping, documentation and functional testing of the modern IBM i application.
It is essential to have proper CI / CD tools and processes to support high speed of change. Basic requirements are:
- Confidence in source code version and build process
- Automated testing with appropriate functional coverage
- Automated repeatable deployment process that supports pilot, phased and full rollout and roll-back
There’s a number of vendors that offer application lifecycle management tools in IBM i space. Last year or so I am entertaining an idea of using git as source code repository, and Jenkins for running the builds, automated tests, and deployment pipelines, but this is a whole different topic.
The application must be just the right size, fit into business context boundaries, and owned by a small agile devops team. There is no single recipe for determining the right size. In practice it should be small enough to implement a specific business capability or a set of closely related functions, yet large enough to hide the internal complexities from the rest of application network.
Next on the list, our application must have a modern database model that is normalized, adequately reflects the business domain and enforces data quality and integrity. The database ideally should be logically isolated, used by the application, and not directly accessible from the components outside of our application boundaries. This keeps the data within bounded context and provides greater flexibility to refactor the data model without impacting other applications.
The common data validation and integrity rules could be implemented close to / as part of the database layer, for example with the use of triggers and stored procedures. This approach encourages clean, compact and expressive program logic code that is better aligned with the business processes being implemented.
It goes without saying that the modern IBM i can’t exist without intuitive and easy to use user interface. It must support multiple clients such as web and mobile, and ideally use a low code languages, frameworks or tools to constantly evolve user experience. Good practice is to avoid direct access to the database and business logic programs in UI layer, and instead rely on APIs for interacting with data and processes.
Monitoring and Alerting
Last but not least, in order to achieve high levels of operational efficiently, our modern application must include Monitoring and Alerting functionality. The exceptions and operational metrics such as transaction status and processing time are asynchronously streamed to the activity monitoring tool such as Splunk or ELK. Similarly, the application includes a business events firehose for ingestion into Big Data clusters such as Hadoop.
To recap, the modern IBM i application has some of the following characteristics:
- Delivers business capability
- Can be continuously evolved at a speed of business demands
- Automated CI / CD tools
- Manageable size
- Designed around APIs and integrated into application network
- Modern database model
- Modern UI built on top of APIs
- Monitoring and Alerting support
Armed with this insight, we can now begin charting our way through IBM i modernization minefield, figuring the implementation languages for each component etc while continuously ensuring that these architectural and design decisions are moving us toward the desired end state. The likely rewards are increased rates of success, focus on positive outcomes, sense of control, and overall rewarding experience even for the most challenging projects.
I would love to hear your feedback!