IT Glossary
What middleware means and how it works
The layer in the middle that connects and translates between applications that would otherwise never understand each other: ERP and online store, old software and new APIs, invoicing program and e-Factura.
- 7
- sections
- 4
- questions answered
Middleware (intermediary software) is the software layer between applications, databases and services that lets them exchange data and commands without being programmed to know each other directly: it takes the message from one system, translates it into the other's format, delivers it and keeps track of errors. Its typical jobs in a company are four: format translation (system A exports one way, system B imports another), flow orchestration (one operation triggers others, in the right order), rhythm buffering through a waiting queue, and isolating change (when one system is replaced, only its link to the middle is rewritten, not every integration in the company).
Concrete forms range from ready-made integration platforms (Zapier, Make, n8n for standard flows) to a thin custom-built layer, often the most economical route when your systems have local quirks. For a buyer, the word is a useful signal in proposals: “we will build middleware between X and Y” means nobody touches your existing systems, a bridge is built. The right questions are who maintains that bridge, how it announces errors (an order stuck in the middle must shout, not stay silent) and what happens to messages while one of the two ends is down.
Why it matters for your business
Existing systems stay in place
The bridge in the middle connects old with new without risky replacements — the investments you already made keep working.
Orchestrated flows, not improvised ones
Operation order, error retries and waiting queues live in one controlled place — not scattered across forgotten scripts.
Future changes get cheaper
Replacing one system means rewriting one link, not ten — the middle layer absorbs the shock instead of your whole infrastructure.
What middleware means, depending on context
The word is used in three senses a Romanian reader meets. This page explains the first.
1. Integrating a company's systems: the layer that connects the ERP, the online store, the invoicing program, e-Factura and the courier. This is the sense the rest of the page covers.
2. Web frameworks: functions every request passes through before and after the application code, for example for authentication, logging or rate limiting. The Express documentation defines them as “functions that have access to the request object (req), the response object (res), and the next function in the application's request-response cycle”. In ASP.NET Core, middleware is software assembled into an app pipeline to handle requests and responses, and each component decides whether to pass the request on.
3. The Romanian electronic identity card (CEI): the Ministry of Internal Affairs calls “middleware” a dedicated application, IDPlugManager, that lets the operating system work with the CEI through an ISO/IEC 7816-compatible card reader, for viewing data, online authentication, advanced electronic signature and PIN reset. On 18.11.2026 the Ministry page lists version 4.5.0 (beta) of 07.08.2025, for 64-bit Windows 10/11, Linux and macOS.
How it works: the path of an online order
A concrete example: a customer places an order in the online store. The middleware picks up the order, reserves stock in the ERP, requests the invoice, sends the invoice to e-Factura, creates the courier's AWB and sends the confirmation email, each step in the right order and with the previous step's answer.
In the peak hour the store may take 200 orders while the ERP digests them at its own pace. The message queue in the middle keeps them safe until they are processed. If a message stays stuck, the middleware retries it automatically and, if needed, sends an alert, so people see the error instead of the customer finding it.
For incoming events, systems announce them through a webhook; for outgoing calls, the middleware uses each system's API.
Want an estimate for your project?
Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.
Types of middleware
Message-oriented: queues and message streams, with examples such as RabbitMQ and Apache Kafka. Yes, Kafka is middleware, in the asynchronous data streaming category.
API gateway and API management: the single entry point that requests to several services pass through.
Integration platforms (iPaaS): Zapier, Make, n8n and, at enterprise level, MuleSoft.
Database access: drivers such as ODBC and JDBC, which let an application work with different databases in the same way.
Transactional: coordinates operations that must succeed together or not at all, such as card payments and banking operations.
Middleware vs API vs integration
An API is the documented door of a single system. Middleware is the layer that uses those doors (and files, databases, queues) to connect several systems. Integration is the result, the project that makes the systems work together; the definition is on the software integration page.
The frequent question “is an API middleware?”: an API on its own is not middleware; an API gateway is.
Where the term comes from: 1968 and RFC 2768
The word appears in the report of the NATO Software Engineering Conference at Garmisch (Germany, 7–11 October 1968), edited by Peter Naur and Brian Randell and published in January 1969. Alexander d'Agapeyeff places “middleware” between application programs and service routines, in the “inverted pyramid” of figure 3 (page 23): the layer firms had to rewrite (file handling, message analysis, real-time schedulers) because the manufacturer's software did not fit them.
In February 2000, RFC 2768 (“Network Policy and Services: A Report of a Workshop on Middleware”), the report of a December 1998 workshop organized by Cisco, iCAIR, IBM and the NSF, notes that the definition depends on perspective; the workshop's rough consensus: services above the transport layer (over TCP/IP) and below application-level APIs.
The 1968 problem, bought software that does not fit and a middle layer rewritten, is today's Romanian software without a connector.
Frequently asked questions
Ready-made middleware (Zapier, Make, n8n) or custom-built?
For existing connectors and standard flows, ready-made platforms win comfortably: small subscription, running in days. Custom builds earn their place when systems are exotic (local software without connectors), volumes are high (platform per-operation pricing grows with volume) or business logic is complicated. Self-hosted n8n Community Edition is free for your own internal business use under the Sustainable Use License, so you pay for the server, not per execution; n8n Cloud is billed per workflow execution.
What happens to data when one system goes down — do orders get lost?
This is exactly the test separating serious middleware from a fragile script: a correct implementation uses persistent queues, so messages wait out the outage safely and are processed on recovery, with automatic retries and alerts when something stays stuck. Asking “what do you do with a message if the ERP doesn’t respond?” is worth it on every integration proposal.
Doesn’t middleware become a new single point of failure?
It does if treated as an accessory — which is why it should be treated as infrastructure: monitored with alerts rather than discovered down by customers, backed up with a documented restart procedure, and maintained under contract. Concentrating integrations in one well-kept middle still beats the realistic alternative: ten direct links, each fragile in its own way, each known to a different person.
What are examples of middleware?
RabbitMQ and Apache Kafka (messaging), an API gateway, the platforms Zapier, Make or n8n, the ODBC and JDBC database drivers, the middleware functions in Express or ASP.NET Core, and the IDPlugManager application for the Romanian electronic identity card.
Let’s talk about your project
Book a free 30-minute call or send us an email. We reply the same working day.
office@northdan.com · +40 750 252 851