IBM i

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
#Operatingsystems
#Servers
 View Only

APIs, Containers, and the Future of IBM i Integration

By George Van Eaton posted 08/20/26 09:16 AM

  

APIs, Containers, and the Future of IBM i Integration

By George VanEaton

IBM i Engineering Leader | IBM Redbooks Contributing Author

Modern IBM i integration conversations often jump quickly to technology: REST APIs, containers, Kubernetes, OpenShift, microservices, and now AI agents.

Those technologies matter, but they are not the architecture by themselves. The more important question is how we make proven IBM i business capabilities available to an increasingly distributed enterprise without forcing every consumer to understand the internals of the application that owns them.

That is where APIs become especially valuable. They can create a deliberate boundary between the business capability and the implementation behind it.

Integration Is About Capabilities, Not Data

One of the most important shifts an IBM i organization can make is to stop thinking about integration primarily as access to data and start thinking about it as access to business capabilities.

Consider an order. A consuming application could be given direct access to insert an order header, create order-detail records, update inventory, and write audit history. But now that consumer needs to understand the schema, sequencing, validation rules, transaction behavior, auditing, error handling, and whatever additional business knowledge has accumulated over decades.

That is not a clean integration. That is another application implementing part of your application.

A better interface may simply be:

POST /orders

The consuming system asks IBM i to create an order. It does not need to know how IBM i creates one.

When another system must understand your internal database structures, program conventions, processing sequence, or implementation details, you have exported your architecture.

A well-designed API creates room to change on both sides. IBM i can evolve behind the contract. Consumers can evolve in front of it. An internal refactoring should not force every external consumer to change with it.

IBM i Already Has the Building Blocks

This is not a theoretical future state. IBM Integrated Web Services for i can externalize ILE business logic through REST and SOAP services, allowing existing applications to participate in service-oriented architectures without first rewriting the underlying capability in another language.

That distinction matters. Modernization does not have to begin with rewriting RPG in Java, JavaScript, or another language simply because another application needs to consume the capability over HTTP.

The implementation can remain an internal decision. The contract becomes the external promise.

OpenAPI Turns an Endpoint Into a Contract

IBM’s direction with Integrated Web Services 3.0 reinforces that model. IWS 3.0 is Jakarta EE-based, and IBM states that future IWS server enhancements will be based on that architecture. For REST services, IWS 3.0 also provides OpenAPI support, enables the OpenAPI UI by default, and can aggregate multiple API definitions into a consolidated specification.

That may sound like documentation, but the architectural value is larger. An OpenAPI definition makes the interface explicit and machine-readable. It can support development, testing, documentation, client integration, governance, automation, and AI-assisted development.

For IBM i teams, the goal should be bigger than putting HTTP in front of an RPG program. The stronger goal is to create a stable business interface whose implementation happens to be RPG today.

The word today matters. Once consumers depend on the contract instead of the implementation, the IBM i team gains much more freedom to modernize behind it.

System APIs Are Not Automatically Business APIs

IBM i also provides system-oriented REST capabilities through the Remote System Explorer API. Those interfaces can be useful for tooling, automation, administration, and development.

But a system API is not automatically the interface a business application should depend on. The same is true of direct database access.

There are legitimate reasons for controlled access to data, especially for reporting, analytics, replication, and carefully designed read-oriented integrations. Problems begin when implementation mechanisms accidentally become the business contract.

A business consumer should generally ask for intent:

  • CreateOrder

  • GetCustomer

  • ReserveInventory

  • CalculatePrice

rather than implementation mechanisms such as:

  • RunSQL

  • ExecuteCommand

  • ReadPhysicalFile

  • WritePhysicalFile

The first group describes what the system can do. The second describes how the system works.

Otherwise, external consumers become dependent on table names, internal status values, processing sequences, program interfaces, and rules they may not even realize exist. Those dependencies form an invisible contract, usually one nobody intentionally designed.

Modern integration is not about putting HTTP in front of everything. It is about deciding what you want other systems to depend on.

Containers and IBM i Are Not Competing Choices

Containers tend to make IBM i modernization conversations more complicated than they need to be. One group hears containers and assumes everything must move off IBM i. Another hears containers and responds that RPG applications do not need Docker.

Both reactions start with the technology rather than the architecture.

A better question is which parts of the overall solution benefit from container deployment, and how those components should communicate with the IBM i capabilities they need.

A web application might call a containerized service, which then calls an IBM i business API. A mobile backend could use the same pattern. A SaaS integration service could consume the same IBM i capability.

Containers and IBM i are not competing architectural choices.

Containers can be the deployment model for one part of an enterprise solution while IBM i remains responsible for the business capabilities it already owns. A strong API boundary allows those deployment decisions to remain independent.

Modern Technology Can Still Produce Legacy Coupling

This is where modernization efforts can fool us.

Imagine four new containerized services. All four connect directly to Db2 for i. Each understands IBM i table structures. Several update data independently. Some reproduce rules already implemented by the existing application. Others depend on undocumented status values or processing assumptions.

We now have containers. We also have four new consumers tightly coupled to the IBM i implementation.

The technology is modern. The architecture is not.

Now change one thing: instead of those four services depending directly on Db2 for i, they depend on an IBM i business API.

The difference is the boundary.

The same problem can happen with APIs themselves. If Program A becomes API A and Program B becomes API B simply because those programs already exist, we may only be exporting the current application structure through HTTP.

A program is not automatically a business capability. A table is not automatically something that should be externally exposed.

Modernization should reduce coupling. It should not simply move the coupling somewhere more fashionable.

Governance Matters Before APIs Become Sprawl

As the API surface grows, those interfaces need to be treated as managed assets. I think about the governance in three areas:

  • Ownership: Who owns the API? Who can consume it? How are authentication and authorization handled?

  • Change: What counts as a breaking change? How are versions handled? How long will older contracts remain available?

  • Visibility: How does another team discover the API? Where is the contract documented? How do consumers know who owns it and whether it is healthy?

Enterprise API-management products can help with those concerns, but not every organization needs a large platform on day one. Every organization does need the discipline.

Otherwise, undocumented program calls eventually become undocumented REST endpoints. That is not modernization. It is technical debt with JSON.

A Better Technical Boundary Creates a Better Team Boundary

There is also a leadership benefit to doing this well.

A web developer should not need to understand IBM i library lists, activation groups, job descriptions, service-program binding, physical-file details, and decades of application history just to retrieve an order status.

Likewise, an RPG developer does not need to become an expert in every JavaScript framework, container runtime, cloud platform, mobile technology, and SaaS product used by every consumer.

The teams need to understand the contract. IBM i engineers can own the IBM i capability. Other engineering teams can own their applications. The API becomes the point where those responsibilities meet.

That is good architecture, and it is a more scalable way to organize engineering work.

AI Agents Raise the Stakes

There is another reason this boundary is becoming more important. The next consumer of an IBM i capability may not be a traditional application written by a developer. It may be an AI agent.

IBM API Connect now includes MCP capabilities that can work with OpenAPI specifications. IBM API Studio also documents a technology-preview workflow that can turn selected OpenAPI-based operations into MCP-compliant tools and group them into an MCP server. The preview status matters, but the architectural direction is worth watching.

Imagine an AI assistant being asked:

What orders are at risk of missing shipment today?

One approach is to give the agent broad database access and hope it generates the correct SQL, understands the status codes, finds the correct tables, and respects rules built up over decades.

That is a lot of trust to place in the consumer.

A stronger approach is to give the agent a controlled business capability such as:

GetShipmentExceptions

Now the agent needs to understand the contract. It does not need to understand the internal application.

That same capability might eventually serve a web application, mobile application, containerized service, partner integration, automation process, or AI agent. The consumers change. The business capability remains.

When the consumer is autonomous or semi-autonomous, the distinction between access to a capability and access to the implementation becomes even more important.

A Practical Place to Start

You do not need an enterprise-wide API transformation program before you can make progress. Start with one integration problem where another system regularly needs something from IBM i.

Then ask a different question:

What is the consumer actually trying to accomplish?

Do not begin with “What table does it need?” or “What RPG program should we expose?” Begin with the business capability the consumer needs from IBM i.

  1. Define the capability.

  2. Determine which system owns it.

  3. Define the contract.

  4. Decide who should be allowed to consume it.

  5. Expose it through an appropriate interface.

  6. Document and test the contract.

  7. Govern changes to it.

Do that once, then repeat the pattern. Over time, IBM i becomes less isolated without becoming less important.

Final Thoughts

The future of IBM i integration is not about moving everything away from IBM i. It is about making IBM i a better participant in a larger architecture.

APIs give us a boundary. OpenAPI helps make that boundary explicit. Containers give other workloads deployment flexibility without requiring IBM i to become something it is not. Governance keeps those interfaces from becoming another generation of unmanaged dependencies.

Most importantly, a strong contract gives both sides the freedom to evolve independently.

Protect the capability. Expose the right boundary. Control the contract. Let everything around it evolve.

Once that boundary is established, another architectural question follows: what should happen after the request reaches IBM i? That is where controller design, orchestration, and service boundaries become the next important conversation.

I would be interested in hearing how other IBM i teams are approaching this. Are you using APIs primarily as wrappers around existing programs, or are you defining business capabilities as deliberate contracts? How are containers, API management, or AI agents changing the integration decisions you are making?

Share your experience in the comments.

IBM References

0 comments
5 views

Permalink