Welcome!

Recurring Revenue Authors: Yeshim Deniz, Elizabeth White, Xenia von Wedel, Liz McMillan, Carmen Gonzalez

Related Topics: IBM Cloud, Microservices Expo, Weblogic, Microsoft Cloud, Recurring Revenue, Artificial Intelligence, Log Management, Server Monitoring, Government Cloud

IBM Cloud: Article

ESB Pattern: What Is the ESB?

An ESB can mean vastly different things to different people

ESB products emerged around 2002 from message-oriented middleware (MOM). Faced with market domination by IBM, MOM vendors were the first to jumpstart the ESB concept with the aim of developing a unique selling proposition. They added Web service and EAI capabilities on top of existing message broker capabilities, and with analyst support coined the term ESB. ESB was positioned as a low-cost alternative to EAI and panacea for all integration needs - tell-tale signs of hype. Unfortunately, the standards community was too late to get on the bandwagon. In the absence of standards guidance and the lack of a clear definition, each vendor interpreted ESB to its advantage. As a result, comparing ESBs is like comparing apples and oranges. No two products are compatible today with severe consequences (in terms of vendor lock-in) for end users. SCA promises alleviation here, and market forces play in the favor of users too, with significant consolidation, convergence and commoditization taking place.

Pattern or Product?
An ESB can mean vastly different things to different people, and given the ESB market, most people think of ESB in terms of an ESB product with which they are familiar. The essence of an ESB can be much more easily grasped by talking about the ESB as a pattern: the pattern of applying an intermediate proxy to service communication. The ESB pattern is about performing integration tasks and adding value to client-service communication in an SOA - all completely transparent to the participants. As described in SOA Design Patterns, the ESB is a compound pattern that pulls together many enablement and enforcement capabilities that come in handy to the SOA practitioner (see figure below). Reliable Messaging, Message Manipulation, Data Format and Data Model Transformation as well as Protocol Bridging are just some sub-pattern examples under the ESB umbrella. These are all enablement aspects where the ESB allows communication between endpoints not possible otherwise. The ESB can also restrict communication and enforce policies relating to security (such as authentication and coarse-grain authorization), SLA Monitoring, Message Inspection, Intermediate Validation and Service Governance. Having said that, we treat ESB as a pattern and product type, synonymously.

Modern ESB vs. Traditional ESB
The traditional ESB was positioned as the enterprise integration backbone and as a fundamental building block for an SOA. Pundits touted the ESB as the "last middleware" that would gradually grow; instead of a big-bang replacement, segments would be added to the ESB, and applications added step-by-step until SOA bliss: i.e., every stove-pipe application exposed as a service on the ESB or on-ramped as a client. It was the easy path to SOA - or so it seemed.

However, the vision of a single-vendor, enterprise-wide and infinitely scalable integration backbone remained a pipe dream. Many enterprises soon had two or more ESB products in house that now needed to be integrated somehow; company-wide data models proved elusive.

The modern ESB accepts heterogeneity as a fact of life. It supports and embraces the Domain Inventory pattern. A domain is internally highly cohesive and externally largely autonomous from other domains. The ESB supports domain-internal communication by mapping protocols and connecting via adapters into legacy applications. Inter-domain communication does occur occasionally. The ESB can model the external "cell membrane" of the domain, exposing a select few endpoints to other domains. It can normalize these endpoints in terms of data model, protocol binding and security models, therefore simplifying inter-domain communication. The modern ESB is also lightweight, modular and builds on standards, such as SCA, to avoid vendor lock-in.

Alternatives
One obvious alternative to using an ESB is to not use one. "Smart" endpoints could communicate in peer-to-peer fashion and use a standard protocol for addressing all functional and non-functional capabilities (such as SOAP and WS*). All endpoints must then support the same data model and provide lots of capabilities. Consider reliable messaging: trapped messages, persistence, redeliveries, queue sizes, dead letter queues, etc., are just some aspects that must be controlled and monitored in a decentralized fashion. And this is just for the reliable messaging capability! David Chappell coined the term "application servers everywhere" and lamented the operational overheads associated with this approach. While smart endpoints can work if there are few of them, they can lead to uncontrollable service sprawl and spaghetti-connections in the long run. Malicious and invalid payloads can only be detected by the endpoint itself in this scheme - rarely a best practice and something discouraged by the Multi-layer Security pattern.

Another alternative is the provision of standalone infrastructure services. Integration capabilities are then implemented as and when needed (for example with a message broker). No investment in an ESB is necessary and no unused capabilities exist. When further requirements come up (such as transformation, protocol bridging, adapters, etc.) they can be provisioned with additional standalone infrastructure services. Again, such an approach can be very practicable in a small service portfolio. For larger deployments the installation, configuration and operation of the various standalone infrastructure services can become challenging. Frequently you want to combine various integration capabilities. The ESB can do so declaratively using the Microflow pattern - various integration aspects can be arranged, combined and modified in a very agile manner. Microflows are performant because of internal optimization (not every capability is a first-class service invocation). From a maintenance, agility and performance point of view, standalone infrastructure services therefore draw the short straw.

•   •   •

The SOA Pattern of the Week series is comprised of original content and insights provided to you courtesy of the authors and contributors of the SOAPatterns.org community site and the book "SOA Design Patterns" (Thomas Erl et al., ISBN: 0136135161, Prentice Hall, 2009), the latest title in the Prentice Hall Service-Oriented Computing Series from Thomas Erl (www.soabooks.com).

More Stories By Thomas Rischbeck

Dr. Thomas Rischbeck is an IT architect and business developer with [ipt], a local SOA consulting boutique with a Java technology focus (see Gartner's Guide to SOA Consulting). He has a track record of successful SOA introduction and delivery projects with a number of Swiss blue-chip clients. He specializes in SOA reference architectures, SOA design patterns and SOA security. Prior to joining [ipt] Thomas worked as an architect with Arjuna Technologies and Hewlett Packard Middleware Labs where he gained extensive experience in Web Services architecture and development.

Thomas holds a PhD in Parallel Computing from the University of Newcastle upon Tyne. He engages with the world-wide SOA community, is a frequent speaker and book author (co-author of "SOA Design Patterns" and "Modern ESB Architecture for SOA" within the Prentice Hall SOA Series).

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


IoT & Smart Cities Stories
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Founded in 2000, Chetu Inc. is a global provider of customized software development solutions and IT staff augmentation services for software technology providers. By providing clients with unparalleled niche technology expertise and industry experience, Chetu has become the premiere long-term, back-end software development partner for start-ups, SMBs, and Fortune 500 companies. Chetu is headquartered in Plantation, Florida, with thirteen offices throughout the U.S. and abroad.
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time t...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
A valuable conference experience generates new contacts, sales leads, potential strategic partners and potential investors; helps gather competitive intelligence and even provides inspiration for new products and services. Conference Guru works with conference organizers to pass great deals to great conferences, helping you discover new conferences and increase your return on investment.
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...