Enterprise application integration: architecture and integration styles

pexels-photo-207589

Enterprise application integration is a managed layer between systems, and the right style depends on what each system can expose and how much change it tolerates. A CRM with a REST API, an ERP with a database schema and a mainframe that only emits nightly files cannot share one integration method.

The decision is less about picking a product category than matching each style to those constraints and to the failure modes you are willing to run. It stops applying when you connect only two systems that will stay stable.

What is enterprise application integration?

Enterprise application integration (EAI) is a managed layer of connectors and adapters that lets ERP, CRM, commerce, and legacy applications exchange data without custom point-to-point links. Point-to-point integration holds up for two or three systems; beyond that, every schema change ripples through links nobody owns.

The right style depends on what each system exposes (an API, a database, files, or messages) and how much change it tolerates. We recommend starting with an inventory of what each system exposes, because that limits your style choices before any platform preference does. The same inventory is where our ERP integration work starts, since the ERP is usually the system every other flow touches.

What is EAI not, and which problems does it solve?

Enterprise application integration (EAI) is a managed middleware layer that moves individual business events and transactions between operational applications such as ERP, CRM, and commerce systems.

It overlaps with two neighbors but replaces neither. ETL moves records in bulk to analytics stores, and API management governs how consumers call published APIs. The comparison below shows typical profiles; individual setups vary.

EAI ETL / data integration API management
Unit of work One business event (order created, invoice posted) A batch or table of records One API call from a consumer
Typical latency Seconds, often asynchronous Scheduled, minutes to hours Synchronous request/response
Direction Two-way between operational systems Mostly one-way into a warehouse Provider to consumers
Usual owner Integration or platform team, with process owners Data engineering API product or platform team

Two components sit inside this picture. A message broker receives messages from producers, stores them, and delivers them to consumers, so a sender does not depend on the receiver being online. An API gateway is the entry point that authenticates, rate-limits, and routes consumer calls to backend APIs. EAI usually uses both, and neither is EAI by itself.

EAI removes three problems:

  • Duplicate data entry: staff re-key an order from the commerce platform into the ERP.
  • Inconsistent records: the same customer carries different addresses in CRM and billing.
  • Brittle links: each schema change breaks connections nobody owns.

If you have two systems and only need reporting, ETL is enough.

Why do point-to-point integrations break down?

Point-to-point integrations break down because links grow as n(n-1)/2 while every link is its own contract, so each added system enlarges the maintenance surface. A point-to-point integration is a direct, custom connection between two applications, with its own mapping, error handling, and release schedule.

Hub-and-spoke diagram with a central integration hub connected through adapters to five applications: ERP, CRM, commerce, billing and legacy. Each application has one connection instead of point-to-point links.

The table assumes every system must exchange data with every other. The table shows the upper bound, since real system estates connect fewer pairs, but the growth curve is the same.

Systems Point-to-point links (maximum) Hub-and-spoke adapters
5 10 5
10 45 10
20 190 20

Hub-and-spoke integration connects each application once to a central hub that routes and translates messages. It pays off when adapters translate to a canonical data model, a single shared message format, so no adapter needs to know any peer's format.

The cost shows when a schema changes. Assume the ERP splits its customer address field into structured parts. With 10 systems wired point-to-point, up to nine links may consume that field, and each needs a mapping change, a retest, and a release coordinated with its other end. Behind a hub, only the ERP adapter changes, provided the canonical model absorbs the new structure.

The hub trades link sprawl for a shared dependency and a model that needs an owner (failure modes are in Which EAI style fits which situation?). With fewer than about five stable systems, point-to-point links are often the cheaper choice.

Which EAI style fits which situation?

Choose the EAI style by where your systems run and how many consumers need each change: an ESB or hub for on-premises control, iPaaS for SaaS-heavy estates, events for fan-out.

An enterprise service bus (ESB) is a central runtime that routes, transforms, and mediates protocols between applications.

iPaaS (integration platform as a service) is a vendor-hosted platform that supplies connectors, mapping tools, and a runtime for building flows. API-led connectivity layers reusable APIs into system, process, and experience tiers. Event-driven architecture has systems publish events to a broker that any number of consumers subscribe to.

The six styles side by side, with the production failure each one tends to produce:

Style Fits Strengths Failure mode in production Avoid when
Point-to-point Two or three stable systems Fastest to build, no middleware to run Schema change ripples through every direct link A third or fourth consumer of the same data appears
Hub-and-spoke One team owning many on-premises systems One place for mapping, routing, and monitoring Hub becomes a single point of failure and a release bottleneck Teams need to deploy integrations independently
ESB On-premises estates with in-house middleware skills and mixed protocols Protocol mediation, central policy, mature tooling Bus accumulates business logic nobody can test or move The estate is mostly SaaS with few protocols to mediate
iPaaS SaaS-heavy landscapes, small teams Prebuilt connectors, hosted runtime, fast first flow Flows locked into the vendor's designer; gaps in legacy and on-premises access Flows need custom protocols or strict data residency
API-led connectivity Reusable data and capabilities for many channels Clear ownership per tier, reuse across projects Process tier turns into a mini-ESB; synchronous call chains cascade failures The work is batch or fire-and-forget
Event-driven Many consumers, replay, tolerance for delay Loose coupling, independent scaling of consumers Duplicate delivery, lost ordering, hard-to-trace causal chains A caller needs an answer in the same request

Retry storms deserve their own mention because three of these styles can produce them. When a downstream ERP slows, every caller times out and retries, multiplying the load on the system least able to take it. Exponential backoff with jitter, a circuit breaker, and a Dead Letter Channel for exhausted messages contain it.

Most landscapes mix styles per flow, so the table is a menu and not a single pick. We recommend starting from what each flow needs (answer now, delay tolerated, many consumers), then choosing the platform. The ESB and iPaaS trade-off gets its own treatment in ESB vs iPaaS: how do they differ?

ESB vs iPaaS: How do they differ?

An ESB differs from iPaaS mainly in who runs it: pick an ESB for on-premises control and in-house integration skills, and iPaaS for SaaS-heavy estates with small teams.

Two practical tests settle most cases and align with that ownership split: where the integration logic lives, and who carries the run effort.

Test ESB iPaaS
Where logic lives Your runtime and network, as versioned code or configuration Vendor-hosted runtime, inside the vendor's designer and connector model
Run effort Your team patches, scales, monitors, and upgrades the bus Vendor operates the runtime; your team owns flows and connector setup
Skills needed Routing, mapping, and platform operations Low-code mapping and SaaS API knowledge
Typical fit Databases, files, and mainframe messaging behind the firewall SaaS applications with published APIs

API-led connectivity overlaps with both because it is a layering style, not a product. System APIs expose each backend, process APIs orchestrate across them, and experience APIs shape data for each channel. You can build those layers on an ESB or on iPaaS.

Our view is that the layer outweighs the platform choice, because rules placed in the right layer survive a platform change: keep business rules in the process layer, and keep system APIs to thin, per-system access.

Two caveats apply. Hybrid estates often run both, and some iPaaS products offer self-hosted runtimes that blur the table above. Data residency rules can also rule out a vendor-hosted runtime. Flows built in a vendor's designer rarely port elsewhere, so weigh that lock-in before the first flow ships.

How do you integrate legacy systems you cannot rewrite?

You integrate legacy systems you cannot rewrite by choosing the least invasive interface each one exposes (API, database, files, screen, or mainframe messaging) and wrapping it in a connector or adapter.

A connector or adapter speaks the legacy system's native interface on one side and exposes a normalized API or message on the other, so it is the only code that knows the legacy quirks in enterprise application integration (EAI).

The method follows from what the system exposes and tolerates:

System exposes Method Main risk
API (SOAP, REST, RFC/BAPI) Adapter calls the API, usually behind a gateway Version drift and vendor rate limits
Database only Read from a replica or capture changes; avoid writes Direct writes bypass business rules and validation
Files (CSV, flat file, EDI drop) File adapter polls the drop folder and publishes to a message broker Batch windows rule out real-time; partial or duplicate files
Screen only (3270/5250, web UI) Screen-scraping or RPA adapter Breaks when the UI changes; slow; session limits
Mainframe messaging (IBM MQ, CICS) Queue bridge to the message broker, with copybook and encoding translation Transaction semantics do not survive the bridge

Our rule: write through the application's own API or queue whenever one exists, and treat database writes and screen scraping as last resorts. A file feed with a nightly batch window cannot serve a real-time requirement, so settle that with the business before you design the flow. Put an Idempotent Receiver behind any file or queue adapter, because replays are routine.

This does not hold when the system tolerates no extra load at all. In that case, take an export or replica and accept the latency. Wrap-versus-replace trade-offs, API facades, and change data capture are covered in our legacy system integration guide.

What are the building blocks of an EAI architecture?

An EAI architecture is a set of six building blocks, each mapped to a named pattern in Hohpe and Woolf's catalog: connectors and adapters, transformation, routing, messaging, an API gateway, and monitoring with error handling. The pattern names give design reviews a shared vocabulary.

Layered stack diagram of the six EAI building blocks, from connectors and adapters at the bottom up through transformation, routing and orchestration, messaging, API gateway, and monitoring and error handling, each with its pattern names.

The blocks and their patterns side by side:

Building block Pattern names Job in the architecture
Connectors and adapters Channel Adapter Speak each application's native interface and expose a normalized message or API
Transformation Message Translator, Canonical Data Model Convert formats and fix one shared shape so each system maps once
Routing and orchestration Content-Based Router, Process Manager Choose a destination by message content; coordinate multi-step flows
Messaging Message Channel, Publish-Subscribe Channel Decouple sender and receiver in time, usually through a message broker
API gateway No catalog entry Authenticated, rate-limited entry point for synchronous consumers
Monitoring and error handling Dead Letter Channel, Wire Tap Park failed messages and observe traffic without touching the flow

A Message Translator converts one application's message format into another's, so neither application changes. With a canonical data model in the middle, each adapter needs one translator to the canonical shape, where a direct link would need one per partner system.

A Content-Based Router reads a field such as carrier code or order type and forwards the message to the matching channel. Routing rules then live in one place and not in each sender.

A shipping system shows how these fit together. Suppose it speaks one canonical shipment format while every carrier exposes its own API. Each carrier gets an adapter and a Message Translator, and a Content-Based Router picks the adapter from the carrier code. A change to one carrier's API touches one adapter.

We built this kind of layer for Vinted GO, the shipping and logistics arm of the Vinted marketplace. Netguru developed an adapter connecting Vinted GO's unified shipping system to carriers that each expose a distinct API, and maintained the existing carrier integrations alongside it.

All new carrier integrations shipped on schedule, including those tied to new market launches, and Vinted GO rated the collaboration with an NPS of 10.

This layout has a cost. The canonical model needs a named owner and a versioning policy, or it drifts into a second point of coupling. For two or three systems that rarely change, direct adapters without a canonical model are usually cheaper to run.

The delivery failures of the messaging block (duplicates after retry, poison messages, lost ordering) are covered in Enterprise integration patterns: what are they and is there a book?

Enterprise integration patterns: What are they and is there a book?

Enterprise integration patterns (Hohpe and Woolf) are a catalog of named, technology-neutral solutions to recurring messaging problems, published as the book Enterprise Integration Patterns (Addison-Wesley, 2003). Summaries of every pattern are free on the book's website, and the names still describe Apache Kafka, RabbitMQ, and iPaaS flows.

The patterns matter most in failure handling:

Failure Pattern Early sign
Duplicate delivery after a retry Idempotent Receiver Double postings in the ERP after a broker redeploy
Poison message that fails every attempt Dead Letter Channel Consumer lag growing on one partition while the others drain
Ordering lost across partitions Partition key per entity An update applied before its create

At-least-once delivery makes duplicates routine, so an Idempotent Receiver records a message ID or business key and ignores repeats. For poison messages, cap retries, then route the original payload and error reason to the Dead Letter Channel and alert on its depth.

Kafka orders records only within a partition, so key messages by customer or order ID to keep one entity's events in sequence.

Replay safely in this order:

  1. Fix the cause first, often a Message Translator mapping that rejected a new schema version.
  2. Re-drive dead-lettered messages through the normal input channel, in key order and throttled, so the replay does not trigger a retry storm.
  3. Rely on idempotent receivers so a partial replay cannot double-apply.

Two caveats apply. Replaying old messages can overwrite newer state unless you compare version numbers, and side effects such as payments or emails need their own idempotency keys downstream.

Synchronous vs asynchronous integration: Which to use?

Use synchronous request/response when the caller needs the answer now, and asynchronous integration when work tolerates delay: a queue for one consumer, an event stream for many.

Style Use when Failure mode
Request/response (REST, gRPC) A person or process waits on the result, such as a stock check or credit validation A slow legacy system holds threads and timeouts cascade; retries need an Idempotent Receiver
Queue on a message broker (RabbitMQ, ActiveMQ) One consumer must process each message, such as an order hand-off to the ERP A growing backlog hides an outage; poison messages need a Dead Letter Channel
Event stream (Apache Kafka) Several consumers need the same business event, or a new consumer must rebuild state Ordering holds only within a partition; a schema change reaches every consumer

The replay requirement usually separates a queue from a stream. Kafka retains events in a log for a configured period, and each consumer group tracks its own offset, so a new consumer can read history. A broker queue typically removes a message once it is acknowledged.

We recommend asynchronous links between systems you do not control and synchronous calls only where a human waits. Event-driven architecture brings eventual consistency, so a flow that must confirm to the user can accept synchronously and process asynchronously. For a low-volume call to a stable internal system, a queue adds operating cost without a matching benefit.

How do you choose an EAI approach?

Choose an EAI approach by scoring your systems against six criteria, then name an owner for the canonical data model and for every integration contract before go-live.

The checklist below turns each criterion into a question and shows which way the answer pushes the choice.

Criterion Question to ask Leans toward
System count How many applications connect today, and how many in two years? Few and stable: direct links are tolerable. Growing: a hub, bus, or iPaaS
Change rate How often do schemas and endpoints change? High: a canonical data model plus versioned contracts. Low: direct mapping
Real-time needs Does the caller wait for the answer? Yes: request/response through APIs. No: a queue or event stream
Skills Who carries the pager for the integration layer? Small team: iPaaS. In-house middleware engineers: ESB or broker
Lock-in Can you export flows, mappings, and contracts in open formats? Prefer OpenAPI and AsyncAPI definitions over proprietary flow designers
Run cost Who pays for licenses, monitoring, and upgrades after launch? Model it up front (see API integration cost)

Ownership decides whether the choice survives its first year. We recommend one named owner for the canonical data model, with a change-request path and a deprecation policy. Each contract should be published as an OpenAPI or AsyncAPI definition with a version number and a list of consuming teams.

Every integration also needs an on-call owner who can inspect the Dead Letter Channel and replay failed messages.

The following is our judgment, not a measured rule: with only a handful of systems and slow schema change, a canonical model can cost more to maintain than it saves, and direct mappings with documented contracts are enough.

FAQ

What does enterprise integration mean?

Enterprise integration is connecting an organization's applications so data and processes flow between them through a managed integration layer. Enterprise application integration (EAI) is the application-level form, moving business events between systems such as ERP, CRM, and commerce. It pays off once ad-hoc links become too brittle to change safely.

How does enterprise application integration work?

Enterprise application integration works by placing adapters, a message broker, and transformation rules between applications, so each system exchanges messages with the layer. An adapter translates a system's native format into a shared message, and the broker routes it to subscribers. Retries can redeliver messages, so receivers need to be idempotent. Failed messages need a Dead Letter Channel. The components are covered in What are the building blocks of an EAI architecture?

What is EAI middleware?

EAI middleware is the software layer that connects applications: a message broker or enterprise service bus, adapters, transformation, and monitoring. Apache Kafka, RabbitMQ, MuleSoft, and Boomi each cover part or all of that stack. Keep business logic in the applications, since logic buried in middleware is hard to test and own.

Which tasks does enterprise application integration perform?

EAI performs these tasks: - Connecting applications through adapters and connectors - Translating data formats between systems - Routing business events and transactions to the right receivers - Delivering messages reliably, with retries and error handling - Monitoring flows across applications Bulk loading for analytics belongs to ETL. Authenticating and rate-limiting consumer calls belongs to an API gateway, and running finance or inventory belongs to an ERP. The comparison sits in What is EAI not, and which problems does it solve?

What do enterprise application integration services include?

Enterprise application integration services include integration design, adapter and connector development, mapping to a canonical data model, and run-phase monitoring. Scope usually extends to error handling, replay, contract documentation in OpenAPI or AsyncAPI, and ownership handover. Check whether run-phase support is in scope, because the layer needs an owner long after go-live.

What is the difference between an ERP system and an EAI system?

An ERP system runs core processes such as finance and inventory, while an EAI system moves data between that ERP and your other applications. You need EAI when CRM, commerce, or legacy systems must stay in sync with the ERP. A larger ERP suite still leaves in-house and SaaS applications to connect.

Can you give me some examples of enterprise applications?

Examples of enterprise applications include any system that runs a business process others depend on, such as ERP, CRM, HR, and commerce platforms. Concrete cases are SAP S/4HANA, Salesforce, Workday, Shopify Plus, and in-house order systems. Each exposes different interfaces (API, database, files), which makes connecting them non-trivial.

Plan your integration layer with Netguru

Planning an enterprise application integration (EAI) layer starts with an inventory of what each ERP, CRM, and legacy application exposes and which flows cost the most manual work.

Our ERP integration cover the connectors and adapters that wrap those systems without rewriting them, plus the contracts and ownership that keep the layer maintainable. If you want to test your inventory and style choices before committing to a build, tell us about your systems.

We're Netguru

At Netguru we specialize in designing, building, shipping and scaling beautiful, usable products with blazing-fast efficiency.

Let's talk business