Objects Across the Wire
Ta treść nie jest jeszcze dostępna w Twoim języku.
Module 3 of 8 in the chapter The Story of Integration: From CORBA to Today, chapter 17 of the Integration Architect course. Each module stands on its own. Previous: The Wire Itself · Next: SOAP, WSDL and UDDI
The question this module answers: Once every system was on the same road, how did programs start calling each other across it? And why did the first big answer, CORBA and the ORB, lose?
When My Hair Wasn’t Gray
Section titled “When My Hair Wasn’t Gray”When I teach middleware, I go back to the old days, back when my hair wasn’t gray. We had these things called CORBA and ORBs. Has anyone heard of them?
CORBA stands for Common Object Request Broker Architecture. You had an object request broker, the ORB, that sat in the middle, and the programs that used it became CORBA clients. It was a way of having middleware, one of the early ones, in the 1990s and just before 2000.
And it was always so complex. The contracts were complex. Setting it up was complex. That’s why it’s worth a module. It solved a real problem, it lost, and three of its ideas are still in every integration you’ll build.
The Promise: Call It as If It Were Here
Section titled “The Promise: Call It as If It Were Here”By the early 1990s, the road was there (module 2). Programs were being written as objects: a customer object, an order object, each with its data and the things you can ask it to do. The question was, what if the object you need lives on another machine?
CORBA’s answer was: call it as if it were here. Your program calls order.getStatus(), the same way it would call an object in its own memory. Underneath, something else does the work:
- The contract. Both sides agree on the object’s methods in a file written in IDL, the Interface Definition Language. It says what you can call, what you pass in, and what comes back.
- Generated code on both sides. A tool reads the IDL and generates a stub for the caller and a skeleton for the server. Your program talks to the stub as if it were the real object.
- The broker in the middle. The ORB finds where the object lives, packs the call up, sends it across the network, and brings back the answer. From version 2.0 in the mid-1990s, ORBs from different vendors could talk to each other over a common protocol, IIOP, which runs on TCP/IP.
The Object Management Group, a standards body, published CORBA 1.0 in 1991. Java added its own way to call remote objects, RMI, in 1997, and then shipped a CORBA broker inside Java itself in 1998. Microsoft had its own, DCOM. For a while, this was how serious systems talked to each other.
Why It Lost
Section titled “Why It Lost”So why don’t you build integrations this way today? I remember it the same way most people who used it do: it was so complex.
The contract held both sides tightly together. The caller and the server were compiled from the same IDL. Change the contract, and both sides had to be regenerated, rebuilt and deployed together. Across teams it was hard. Across companies it was nearly impossible.
The setup was heavy. You needed an ORB on each side, often from the same vendor to be safe, plus naming services to find objects, and people who understood all of it.
It didn’t go through the door that was open. CORBA traffic used its own ports. Companies had opened their firewalls for the web, ports 80 and 443, and not much else. When systems needed to talk across companies, HTTP was already allowed through. CORBA had to ask.
It made the network look like it wasn’t there. Calling a remote object the same way as a local one sounds like a gift. But a call across the network is slower, and it can fail halfway. A design that makes hundreds of small calls to remote objects works fine on one machine and crawls across a network. Today’s integrations do the opposite: fewer, larger calls, each one a clear message, and the possibility of failure is designed in (chapter 14).
Then web services arrived, on HTTP, through the open door (module 4). CORBA didn’t vanish. It’s still a published standard, and it still runs in telecoms and defence systems built in those years. But Java removed its CORBA broker in Java 11, in 2018, saying stand-alone versions were available elsewhere (JEP 320 (opens in a new tab), checked 2026-11-21). That’s a fair marker for the end of its time in mainstream development.
Then the Bus
Section titled “Then the Bus”The idea of a broker in the middle didn’t go away. It got a new name.
In the early 2000s, the middle became the enterprise service bus, the ESB. In class, when we talk about middleware, I ask: anybody know what an ESB is? It’s the same picture: every system connects to one thing in the middle, and that thing routes, translates and coordinates. What changed is what travelled on it. Not remote calls to objects, but messages and services, the web services of the next module.
And the same warning comes with it, the one I give about all middleware: “It’s kind of like putting all our eggs in one basket, and we’d better have a really strong basket.” Chapter 5 module 5 shows what the middle gives you and what it costs. Chapter 18 takes the story from the ESB to today’s integration platforms.
What It Left Us
Section titled “What It Left Us”In module 1 I said three ideas keep coming back. CORBA had all three, and you’ll recognize each one in Salesforce today.
| CORBA had | Then | Today, in Salesforce work |
|---|---|---|
| The contract: IDL | The WSDL (module 4) | The OpenAPI file (chapter 3 module 2) |
| Code generated from the contract: stubs and skeletons | Apex classes generated from a WSDL | External Services, which reads an OpenAPI file and gives you actions to call (chapter 9) |
| Something in the middle: the ORB | The enterprise service bus | Middleware and integration platforms (chapter 18) |
| A way to find what you can call: the naming service | UDDI, the phone book (module 4) | API catalogs, and lists of tools an agent can call (chapters 22 and 23) |
So when someone shows you a new integration tool, ask the questions CORBA teaches. What’s the contract? Is code generated from it, and what happens to that code when the contract changes? What’s in the middle, and how strong is the basket?
On the Timeline
Section titled “On the Timeline”Here’s the first amber bar on the timeline. CORBA is still a standard and still running somewhere. It’s still published, most recently as version 3.4 in 2021, but it changes slowly now, and new systems don’t choose it. That’s the state an architect has to recognize most often: not dead, not growing, and not what you’d choose today.
Test knowledge. The exam doesn’t ask about CORBA by name. It does ask when to put middleware in the middle, and what it gives you: routing, translation, orchestration and one place for credentials (chapter 5 module 5). Know that an ESB is an older name for that middle layer.
What an Architect Decides Here
Section titled “What an Architect Decides Here”- Whether a contract ties both sides together, so that one can’t change without the other.
- How chatty the design is: many small calls across the network, or fewer clear messages.
- What’s in the middle, and whether it’s strong enough to carry everything that depends on it.
- When you meet an old broker in a landscape: leave it behind middleware, and plan what replaces it.
Explore
Section titled “Explore”- History of CORBA (opens in a new tab), Object Management Group (checked 2026-11-26): the standard’s versions, from its own publisher.
- JEP 320: Remove the Java EE and CORBA Modules (opens in a new tab), OpenJDK (checked 2026-11-26): why Java removed its CORBA broker in Java 11.
- Point to Point, or Hub and Spoke?: chapter 5, what the middle gives you and what it costs.
