Enterprise Service Bus vs. Traditional SOA
Think about the ideas behind SOA as the philosophy behind integration and the functionality of an ESB as the architectural pattern of how integration is achieved.
Join the DZone community and get the full member experience.Join For Free
service oriented architecture (soa) has been both hailed as a modern and agile approach to enterprise architecture and software development as well as deemed as a colossal waste of time and money. missed expectations for many soa projects have led to frustration and ultimately a slowdown in business innovation. many companies have turned to a standalone enterprise service bus (esb) for their integration needs.
what we propose instead is a new way of thinking about both soa and esbs . instead of thinking about them as solutions that you buy, it’s time to consider them as principles for enterprise application integration , from an architectural point of view. in other words, as organizations approach application integration , think about the ideas behind soa as the underpinning philosophy behind integration and the functionality of an enterprise service bus as the cornerstone architectural pattern of how integration is achieved.
the principles of soa are still valid
the key principle of soa was to design and build enterprise it architecture around services rather than complete applications. in an architecture like this, the idea is to create components called services—small, discrete units of software that provide a specific functionality and, importantly, are reusable in every application. in this type of service-oriented model, developers create new applications by combining a collection of services rather than building out an entire software program, which eliminates code redundancies across applications and saves developers a great deal of time. an example of an application created with soa principles might be a bank loan application; it would be composed of credit status check services, interest rate services, and customer data services.
in theory, soa should break down the separate silos of business logic and data that are scattered across multiple applications. these islands of logic and data might exist in on-premise or cloud-based software, saas applications, or in devices brought from home by employees. in its ideal form, soa should enable interoperability across all these business logic and data sources through integration, which should make it quicker and easier to automate business processes.
this service-oriented approach to enterprise architecture has numerous benefits. by making it systems and business processes more agile, enterprises can respond to changes in the market much faster and more efficiently. they can more easily innovate new products to stay competitive. and by implementing an soa architecture , they can reduce the bloat and complexity often found in legacy systems, lower it costs associated with maintenance and upgrades, and increase developer productivity by making software design more intuitive. the ideas behind soa aren’t bad ones. it’s just that the implementation did not live up to the promise.
a bottom-up approach to soa: the enterprise service bus
the reason many soa initiatives failed was that they were initiated in a “top-down” way–they were launched as a single, organization-wide initiative, were often vendor-specific (perhaps ibm or oracle) and entailed expensive, multi-year rollout plans often involving expensive consultants. they were laborious and time-consuming, and often the company’s development team would then need to learn and use the product to re-architect all existing systems as well as design new applications according to soa principles. these developers would have to throw out their existing tools, processes, and skill sets and be heavily retrained on the new solution, which had negative effects on being able to innovate quickly and keep up with the pace of change.
a different way to approach the problems soa was meant to solve is with a standalone enterprise service bus ( esb ) or integration platform as a service ( ipaas ) instead of a full proprietary stack. esbs can power the creation and orchestration of services without requiring an application server or another infrastructure component, eliminating the high upfront costs of implementing soa. instead of a years-long rollout period, an esb can be implemented and deployed in a very short period. this enables developers to build reusable interfaces with apis while also establishing a core framework for integrating a governance model for the future.
an enterprise service bus allows companies to adopt soa principles incrementally without needing to rip and replace their entire infrastructure. and because standalone esbs are typically built according to open standards, they give companies the flexibility to integrate a wide range of systems, cloud services, and applications. and unlike prior soa initiatives, esbs don’t impose vendor lock-in or architectural choices. in many ways, therefore, an enterprise service bus achieves what soa initiatives promise.
for modern integration needs, an esb is only part of the story
an enterprise service bus is great for current integration projects and can make connecting systems simple and fast, but there are numerous components of connectivity needs for today’s organizations. for example, organizations that use apis to compose their applications from reusable services will need a way to design, build, manage, and secure those apis quickly and easily. there will need to be a way for developers to easily self-serve the reusable services that are frequently used and needed. and there need to be mechanisms to accommodate the common toolchains for continuous integration/continuous deployment.
that’s why mule as an enterprise service bus is at the heart of anypoint platform , which offers not only enterprise-grade connectivity but full api lifecycle management on a single platform. anypoint platform provides capabilities at each of the stages in the api lifecycle: design, collaboration, build, test, deploy, publish, version, and retirement. organizational silos are broken down through anypoint exchange, the component of anypoint platform that captures all apis, connectors , and templates created by developers and offers them for self-service reuse by different groups inside or outside the business. and the platform is built for devops and agile development by utilizing the common toolchains used for continuous integration and continuous deployment (ci/cd) i.e. scm, maven, junit, jenkins and works well in devops environments to build and manage microservices , as the platform can be containerized.
a unified connectivity platform uses the principles behind soa and the functionality of an esb to make a truly reusable, service-oriented enterprise architecture that provides the agility and developer ease businesses need to stay competitive in today’s environment. take a look at anypoint platform to see how it can benefit your organization.
Published at DZone with permission of Shana Pearlman. See the original article here.
Opinions expressed by DZone contributors are their own.