Salta ai contenuti

Objects Across the Wire

Questi contenuti non sono ancora disponibili nella tua lingua.

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 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.

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:

  1. 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.
  2. 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.
  3. 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.

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.

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.

In module 1 I said three ideas keep coming back. CORBA had all three, and you’ll recognize each one in Salesforce today.

CORBA hadThenToday, in Salesforce work
The contract: IDLThe WSDL (module 4)The OpenAPI file (chapter 3 module 2)
Code generated from the contract: stubs and skeletonsApex classes generated from a WSDLExternal Services, which reads an OpenAPI file and gives you actions to call (chapter 9)
Something in the middle: the ORBThe enterprise service busMiddleware and integration platforms (chapter 18)
A way to find what you can call: the naming serviceUDDI, 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?

The story of integration: objects across the wire The story of integration, with the wire and objects layers, on a timeline from 1970 to 2030 with a dashed line at today. The wire, from module 2: EDI from 1979, TCP/IP from 1983, HTTP from 1996, IPv6 from 1998, TLS 1.2 from 2008 and TLS 1.3 from 2018 still running; NetWare ended 2009; TLS 1.0 retired 2021. Objects across the wire: CORBA, from 1991, improved until 2012, and since then still published but no longer improved; Java RMI, from 1997, still running; CORBA inside Java, from 1998, removed in 2018; the enterprise service bus, from 2002, still running under newer names. The layers below are still empty. The legend: a blue bar for supported, amber for supported but no longer improved, red for retired or end announced. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "concept 1.7.0", "built": "2026-11-20", "id": "DGM-INT-IS-03", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "timeline 0.1.0", "theme": "stevetecharc 1.4.0"} The story of integration: objects across the wire NETWORKS GROW UP OBJECTS SERVICES REST AND JSON EVENTS AGENTS 1970 1980 1990 2000 2010 2020 2030 today THE WIRE · MODULE 2 EDI (X12) 1979 TCP/IP 1983 NetWare (IPX/SPX) 1983 2009 HTTP 1996 IPv6 1998 TLS 1.0 1999 2021 TLS 1.2 2008 TLS 1.3 2018 OBJECTS ACROSS THE WIRE · MODULE 3 CORBA 1991 Java RMI 1997 CORBA in Java 1998 2018 Enterprise service bus 2002 SERVICES · MODULE 4 SALESFORCE'S OWN DOORS · MODULE 5 SALESFORCE LEGACY · MODULE 6 AGENTS · CHAPTERS 22 AND 23 supported supported, no longer improved retired, or end announced © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

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.

  • 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.