Welcome!

Government Cloud Authors: Elizabeth White, Liz McMillan, Gopala Krishna Behara, Raju Myadam, Kevin Jackson

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
The many IoT deployments around the world are busy integrating smart devices and sensors into their enterprise IT infrastructures. Yet all of this technology – and there are an amazing number of choices – is of no use without the software to gather, communicate, and analyze the new data flows. Without software, there is no IT. In this power panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, Dave McCarthy, Director of Products at Bsquare Corporation; Alan Williamson, Principal ...
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Ben Perlmutter, a Sales Engineer with IBM Cloudant, demonstrated techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user e...
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear these words all day every day... lofty goals but how do we make it real? Add to that, that simply put, people don't like change. But what if we could implement and utilize these enterprise tools in a fast and "Non-Disruptive" way, enabling us to glean insights about our business, identify and reduce exposure, risk and liability, and secure business continuity?
The Founder of NostaLab and a member of the Google Health Advisory Board, John is a unique combination of strategic thinker, marketer and entrepreneur. His career was built on the "science of advertising" combining strategy, creativity and marketing for industry-leading results. Combined with his ability to communicate complicated scientific concepts in a way that consumers and scientists alike can appreciate, John is a sought-after speaker for conferences on the forefront of healthcare science,...
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
"The Striim platform is a full end-to-end streaming integration and analytics platform that is middleware that covers a lot of different use cases," explained Steve Wilkes, Founder and CTO at Striim, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
"MobiDev is a Ukraine-based software development company. We do mobile development, and we're specialists in that. But we do full stack software development for entrepreneurs, for emerging companies, and for enterprise ventures," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...