Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Weblogic, Microservices Expo

Weblogic: Article

A Look Ahead to the Service-Oriented World

Defining SOA when there's no single, official definition

BEA recently announced that it is broadening its SOA consulting practice, and that it has created a tool companies can use to learn about SOA and figure out how prepared they are to transition to the new architectural model.

While BEA and other major vendors, such as IBM and Microsoft, continue to deepen their investments in SOA, many of us are still struggling to understand what SOA actually is.

How well do you know SOA? If you were asked to write a definition right now, what would it be? One of the challenges has always been to distinguish SOA from a standard distributed architecture that use Web Services. Another has been to pinpoint exactly what the well-publicized service-orientation paradigm includes.

To help with these questions, we asked noted SOA expert Thomas Erl to provide some clarity. Thomas wrote "Service-Oriented Architecture: A Field Guide to Integrating XML and Web Services," last year's top-selling book in both Web Services and SOA. He is releasing his second book, a 700 page effort entitled, "Service-Oriented Architecture: Concepts, Technology, and Design," later this year.

Below is an excerpt from his upcoming book introducing us to the basics of SOA and service-orientation.

Service-Oriented Architecture
There is no single, official definition of service-oriented architecture. Because the term "service-oriented" has existed for some time, it has been used in different contexts and for different purposes. One constant through its existence, though, is that it represents a paradigm based on the concept of decomposition. Something, anything that can be better constructed or carried out or managed if it is done so as a well-defined collection of related units. Service-orientation is therefore not always a technical paradigm. The Yellow Pages are full of service-oriented businesses. Individual companies are service-oriented in that each provides a distinct service that can be used by multiple consumers. Collectively, these businesses comprise a business community. It makes perfect sense for a business community not to be served by a single business outlet providing all services. By decomposing the community into specialized, individual outlets, we achieve an environment in which these outlets can be distributed. Even in a distributed model, if we impose overbearing dependencies, we could inhibit the potential of individual businesses. Although we want to allow outlets to interact and leverage each other's services, we want to avoid a model in which outlets form tight connections that result in constrictive inter-dependencies. By empowering businesses to self-govern their individual services, we allow them to evolve and grow relatively independent from each other. Though we encourage independence within our business outlets, we must still ensure that they agree to adhere to certain baseline conventions. For example, a common currency for the exchange of goods and services, a building code that requires signage to conform to certain parameters, or perhaps a requirement that all business employees speak the same language as the native consumers. These conventions standardize key aspects of each business for the benefit of the consumers without significantly imposing on the business's ability to exercise its self-governance.

When coupled with "architecture" service-orientation takes on a technical connotation. "Service-oriented architecture" is a term that represents a model in which automation logic is decomposed into smaller, distinct units of logic. Collectively, these units comprise a larger piece of business automation logic. Individually, these units can be distributed. Service-oriented architecture (SOA) encourages individual units of logic to conform to a set of design principles, one of which is to exist autonomously. This allows units to evolve independently from each other, while still maintaining a sufficient amount of commonality. It also results in a business automation environment with distinct characteristics and benefits.

SOAs can be extremely sophisticated. Current development tools and server platforms are constantly broadening the feature set and capabilities in support of the creation of service-oriented solutions. However, before we can discuss the many ways in which SOA can support enterprise-level automation, we must first look at SOA in its most fundamental form. This primitive model establishes the core architecture that underlies all variations of SOA. It consists of three primary components that form a unique relationship to achieve automation.

Services
Every business process consists of a series of steps. Larger processes typically include one or more sub-processes that support the parent process. These sub-processes also consist of a series of steps that reside within a logical boundary. The boundary encloses a distinct task or function provided by the sub-process.

Services represent real-life actions. The size or scope of the action is not pertinent to the task or function being encapsulated within a service. What's relevant is that the boundary of the task or function be distinct. Therefore, a service can represent any part of a process. It is important to note that in doing so the service establishes a standardized entry point into the process's business logic.

An extension of this concept into a physical implementation environment establishes a service as a self-contained unit of processing logic. The service also has a distinct functional boundary, and is designed to perform a specific task. Its task may be elaborate or limited. For example, a service may execute a series of actions involving other services. Or, a service's sole function may be to provide access to a fixed resource, such as a repository. Regardless, its most fundamental characteristic is that it is relatively independent or loosely coupled from other services.

Loose Coupling
Within SOA, loose coupling represents the basis of a communications agreement between services. The agreement consists of an understanding that in order for services to communicate with each other, they must be aware of each other. This awareness is achieved through the use of service descriptions. A service description, in its most basic format, establishes:

  • the name of the service
  • a description of the data expected by the service
  • a description of any data returned by the service
For example, service A is aware of service B because service A has gained access to service B's service description. If service A could somehow communicate with service B without even knowing of service B's existence, there would be no communication agreement, and the services would be considered decoupled. (Decoupled communication is often made possible through the use of middleware or intermediary components that reside between two programs.)

An additional part of the loosely coupled agreement is that communication between services be self-contained as well. Meaning, each transmission of a unit of communication passed between services should occur independently from others.

So, having acquired service B's service description, service A communicates with service B. Service B receives the (unit of) communication but may not be obligated to respond to service A. Further, the communication itself occurred without any direct connection to service B. If service A had established a direct connection to service B, upon which it would have transferred data and received a response, the services would be considered tightly coupled.

Another characteristic of tight coupling is a dependency between units of processing logic. The logic is programmed in such a way that a change to one piece of logic could easily affect others that it references or that are referencing it. Therefore, if service A and B are tightly coupled, changes to one may require changes to the other. In a loosely coupled architecture, changes to either service would not affect the other as long as the original communication agreement (as expressed by the service descriptions) is preserved.

How do we achieve loose coupling? We need a communications framework that is based solely on the aforementioned "independent units of communication." This is where messaging comes in.

Messaging
Messages are a cornerstone technology of SOA. They are what implement and make many service-orientation principles possible, and form the basis for all inter-service communication. As with the concept of SOA itself, messaging-based communication is nothing new. It's been used by middleware products for years.

However, the preferred way to implement messaging in SOA is very specific. Once a service sends a message on its way, it loses control of what happens to the message thereafter. That is why we require independent units of communication to achieve true loose coupling. Messages, like services, need to be relatively self-contained. That means putting as much intelligence in a message as required. This includes the actual structure and typing of the message data.

Messaging provides SOA with the option of communicating synchronously or asynchronously. While SOA fully supports synchronous message exchanges, its emphasis on loose coupling and communication independence encourages asynchronous interaction scenarios. The net result is the ability to support a variety of communication models ("message exchange patterns"). Service-oriented messaging in contemporary environments relies on a sophisticated framework that supports the transmission and runtime processing of information-heavy messages. Messages can be equipped with a variety of composable features that can handle everything from security and reliable delivery to routing and the processing of polices.

Note how we just discussed the components of the primitive SOA model without referencing Web Services, WSDL, or SOAP. These technologies, of course, have become the most successful means by which to deliver service-oriented solutions. In today's SOA, services exist as Web Services, service descriptions are primarily realized through WSDL definitions, and messaging is standardized through the SOAP format. It is important to remember, though, that SOA, in a primitive form, is technology-agnostic. The same applies to the principles of service orientation.

Principles of Service Orientation
So far, we established that a fundamental SOA consists of a set of services that use service descriptions to remain loosely coupled and rely on messaging as a means of communication. These core characteristics are shaped and supported by the principles of service orientation, which form the basis for service-level design.

Earlier we established that there is no formal definition of SOA. There is also no single governing standards body that defines the principles behind service orientation. Instead, there are many opinions, originating from public IT organizations to vendors and consulting firms, about what constitutes service orientation. (See www.serviceorientation.org/ for more information.)

Service orientation is said to have its roots in a software engineering theory known as "separation of concerns." This theory dictates that it is beneficial to break down a problem into a series of individual concerns. By doing so, complexity is reduced and the overall quality of the collective concerns is increased. This theory has been implemented in different ways with different development platforms. Object-oriented programming and component-based programming approaches, for example, achieve a separation of concerns through the use of objects, classes, and components.

Serviceorientation can be viewed as a distinct manner in which to realize a separation of concerns. The principles of service orientation provide a means of supporting this theory while achieving a foundation paradigm for SOA as a distinct architectural model.

As previously mentioned, there is no official set of service-orientation principles. There are, however, a common set of principles most associated with service orientation. These are listed below and described in detail throughout this book.

  • Services are reusable - Regardless of whether immediate reuse opportunities exist, services are designed to support potential reuse.
  • Services share a formal contract - In order for services to interact, they need not share anything but a formal contract that defines the terms of information exchange and any supplemental service description information.
  • Services are loosely coupled - Services must be designed to interact on a loosely coupled basis, and they must maintain this state of loose coupling.
  • Services abstract underlying logic - The only part of a service that is visible to the outside world is what is exposed via the service's description. Underlying logic, beyond what is expressed in this description, is invisible and irrelevant to service requestors.
  • Services are composable - Services may compose other services. This allows logic to be represented at different levels of granularity and promotes reusability and the creation of abstraction layers.
  • Services are autonomous - The logic governed by a service resides within an explicit boundary. The service has complete autonomy within this boundary, and is not dependent on other services for it to execute this governance.
  • Services are stateless - Services should not be required to manage state information, since that can impede their ability to remain loosely coupled. Services should be designed to maximize statelessness even if that means deferring state management elsewhere.
  • Services are discoverable - Services should allow their descriptions to be discovered by and understood by humans and service requestors that may be able to make use of their logic.
Of these eight, autonomy, loose coupling, abstraction, and the need for a formal contract can be considered the core principles that form the baseline foundation for SOA.

Contemporary SOA
This introduction has only scratched the surface of this broad subject matter. The principles behind service orientation and the architectural paradigm established by SOA can be applied throughout an enterprise. When married with the open Web Services technology framework, it establishes an enormous benefit potential for increasing organizational agility and improving the lines of communication across previously disparate environments. Once taken to this level, a service-oriented architecture evolves into what we classify as "contemporary SOA." Implementing this comprehensive and complex model can significantly impact an organization. Business modeling, resource allocation, and technical infrastructure are just some of the areas that can be affected. The remainder of this book is dedicated to exploring the many aspects of contemporary SOA.

This has been an excerpt from: Service-Oriented Architecture: Concepts and Technology by Thomas Erl, approximately 700 pages, ISBN: 0131858580, Prentice Hall/PearsonPTR, Copyright 2005. (For more information, see www.serviceoriented.ws/.)

 

More Stories By Thomas Erl

Thomas Erl is a best-selling IT author and founder of Arcitura Education Inc., a global provider of vendor-neutral educational services and certification that encompasses the Cloud Certified Professional (CCP) and SOA Certified Professional (SOACP) programs from CloudSchool.com™ and SOASchool.com® respectively. Thomas has been the world's top-selling service technology author for nearly a decade and is the series editor of the Prentice Hall Service Technology Series from Thomas Erl, as well as the editor of the Service Technology Magazine. With over 175,000 copies in print world-wide, his eight published books have become international bestsellers and have been formally endorsed by senior members of many major IT organizations and academic institutions. To learn more, visit: www.thomaserl.com

Comments (1) View Comments

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.


Most Recent Comments
Timothy Caldwell 04/06/05 03:16:09 PM EDT

Excellent, concise introduction to SOA. Erl's is the clearest I have yet to read. I think this article should be also be posted in WSJ as I'm sure it applies to an audience beyond WebLogic users.

@ThingsExpo Stories
"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.
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
We build IoT infrastructure products - when you have to integrate different devices, different systems and cloud you have to build an application to do that but we eliminate the need to build an application. Our products can integrate any device, any system, any cloud regardless of protocol," explained Peter Jung, Chief Product Officer at Pulzze Systems, in this SYS-CON.tv interview at @ThingsExpo, held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA
SYS-CON Events announced today that IBM has been named “Diamond Sponsor” of SYS-CON's 21st Cloud Expo, which will take place on October 31 through November 2nd 2017 at the Santa Clara Convention Center in Santa Clara, California.
Multiple data types are pouring into IoT deployments. Data is coming in small packages as well as enormous files and data streams of many sizes. Widespread use of mobile devices adds to the total. In this power panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists looked at the tools and environments that are being put to use in IoT deployments, as well as the team skills a modern enterprise IT shop needs to keep things running, get a handle on all this data, and deliver...
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...
SYS-CON Events announced today that Enzu will exhibit at SYS-CON's 21st Int\ernational Cloud Expo®, which will take place October 31-November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Enzu’s mission is to be the leading provider of enterprise cloud solutions worldwide. Enzu enables online businesses to use its IT infrastructure to their competitive advantage. By offering a suite of proven hosting and management services, Enzu wants companies to focus on the core of their ...
In his session at @ThingsExpo, Eric Lachapelle, CEO of the Professional Evaluation and Certification Board (PECB), provided an overview of various initiatives to certify the security of connected devices and future trends in ensuring public trust of IoT. Eric Lachapelle is the Chief Executive Officer of the Professional Evaluation and Certification Board (PECB), an international certification body. His role is to help companies and individuals to achieve professional, accredited and worldwide re...
With major technology companies and startups seriously embracing Cloud strategies, now is the perfect time to attend 21st Cloud Expo October 31 - November 2, 2017, at the Santa Clara Convention Center, CA, and June 12-14, 2018, at the Javits Center in New York City, NY, and learn what is going on, contribute to the discussions, and ensure that your enterprise is on the right path to Digital Transformation.
With the introduction of IoT and Smart Living in every aspect of our lives, one question has become relevant: What are the security implications? To answer this, first we have to look and explore the security models of the technologies that IoT is founded upon. In his session at @ThingsExpo, Nevi Kaja, a Research Engineer at Ford Motor Company, discussed some of the security challenges of the IoT infrastructure and related how these aspects impact Smart Living. The material was delivered interac...
IoT solutions exploit operational data generated by Internet-connected smart “things” for the purpose of gaining operational insight and producing “better outcomes” (for example, create new business models, eliminate unscheduled maintenance, etc.). The explosive proliferation of IoT solutions will result in an exponential growth in the volume of IoT data, precipitating significant Information Governance issues: who owns the IoT data, what are the rights/duties of IoT solutions adopters towards t...
New competitors, disruptive technologies, and growing expectations are pushing every business to both adopt and deliver new digital services. This ‘Digital Transformation’ demands rapid delivery and continuous iteration of new competitive services via multiple channels, which in turn demands new service delivery techniques – including DevOps. In this power panel at @DevOpsSummit 20th Cloud Expo, moderated by DevOps Conference Co-Chair Andi Mann, panelists examined how DevOps helps to meet the de...
When growing capacity and power in the data center, the architectural trade-offs between server scale-up vs. scale-out continue to be debated. Both approaches are valid: scale-out adds multiple, smaller servers running in a distributed computing model, while scale-up adds fewer, more powerful servers that are capable of running larger workloads. It’s worth noting that there are additional, unique advantages that scale-up architectures offer. One big advantage is large memory and compute capacity...
No hype cycles or predictions of zillions of things here. IoT is big. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, Associate Partner at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He discussed the evaluation of communication standards and IoT messaging protocols, data analytics considerations, edge-to-cloud tec...
"When we talk about cloud without compromise what we're talking about is that when people think about 'I need the flexibility of the cloud' - it's the ability to create applications and run them in a cloud environment that's far more flexible,” explained Matthew Finnie, CTO of Interoute, in this SYS-CON.tv interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
SYS-CON Events announced today that Silicon India has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Published in Silicon Valley, Silicon India magazine is the premiere platform for CIOs to discuss their innovative enterprise solutions and allows IT vendors to learn about new solutions that can help grow their business.
The Internet giants are fully embracing AI. All the services they offer to their customers are aimed at drawing a map of the world with the data they get. The AIs from these companies are used to build disruptive approaches that cannot be used by established enterprises, which are threatened by these disruptions. However, most leaders underestimate the effect this will have on their businesses. In his session at 21st Cloud Expo, Rene Buest, Director Market Research & Technology Evangelism at Ara...
Amazon started as an online bookseller 20 years ago. Since then, it has evolved into a technology juggernaut that has disrupted multiple markets and industries and touches many aspects of our lives. It is a relentless technology and business model innovator driving disruption throughout numerous ecosystems. Amazon’s AWS revenues alone are approaching $16B a year making it one of the largest IT companies in the world. With dominant offerings in Cloud, IoT, eCommerce, Big Data, AI, Digital Assista...
The current age of digital transformation means that IT organizations must adapt their toolset to cover all digital experiences, beyond just the end users’. Today’s businesses can no longer focus solely on the digital interactions they manage with employees or customers; they must now contend with non-traditional factors. Whether it's the power of brand to make or break a company, the need to monitor across all locations 24/7, or the ability to proactively resolve issues, companies must adapt to...
SYS-CON Events announced today that TMC has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo and Big Data at Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Global buyers rely on TMC’s content-driven marketplaces to make purchase decisions and navigate markets. Learn how we can help you reach your marketing goals.