Welcome!

Microservices Expo Authors: Pat Romanski, Liz McMillan, Elizabeth White, Yeshim Deniz, Zakia Bouachraoui

Related Topics: Microservices Expo

Microservices Expo: Article

SOA Design Patterns in the Cloud

Amazon EC2 and Oracle SOA Suite

Service Oriented Architecture (SOA) is a software design approach in which an application consists of software services and  software service consumers. Some of the attributes of SOA being

  • Loose Coupling
  • Contracts between service provider and service consumer
  • Allows co working of multiple technologies

There may be  some  confusion in the air about the applicability of SOA in a Cloud  managed environment and whether  Cloud is the next generation of SOA, however SOA as a design approach is complimentary to the attributes of Cloud and together they further strengthen the delivery of services over the network.   This articles  explains some of the design patterns of SOA and their usage in a Cloud environment.

For the sake of case study, Oracle SOA 11g Suite is  used as the SOA development platform and Amazon EC2 Suite of products is used for the Cloud platform.

While there is not a specific AMI within Amazon EC2 at this time that also host the Oracle SOA Suite, however Oracle SOA suite can very much be installed be on the  AMI that  contain Windows 2008 Server or  Red hat Enterprise  Linux .

Applicability Of SOA Design Patterns In a Cloud Platform

The following  chart  explains the various  SOA patterns, especially as applicable to Oracle SOA Suite and their  fitment to a Cloud platform.

SOA Pattern

Applicability To  Cloud Platform

Adapter Pattern : It allows to connect to multiple technologies like messaging , databases without knowing much of the internals of them. For example Database Adapter is basically to service enable databases without having to  write SQL.

 

Oracle 11g SOA Suite supports database adapters to multiple databases.

Amazon RDS (Relational Database Services) exposed as an SOAP based interface which can be connected as a Adapter pattern using the regular Services Interface as part of Oracle SOA Suite.

Amazon Simple DB is a non relational database service, which can be connected using the regular SOAP interface and can satisfy the needs of Adapter pattern in SOA.

Amazon EBS and S3 based instances  can satisfy the needs of  File Adapter in a SOA.

Mediator Pattern : Mediator is the component in charge of interconnecting the other components within a composite application.

Oracle SOA suite uses mediator pattern for intra composite  mediation.

With Multiple EC2 Instances can run different services like  basic compute services, storage services like EBS,  database services like  RDS, Simple DB,  it is very much possible to have a mediator  that inter connects the multiple services towards a business process realization.

Binding Pattern : The binding can be used expose the SOA composite applications over SOAP .

With Elastic IP,  Services  can be exposed to outside Cloud Consumers that will act as a Binding.

Business Process Orchestration Pattern : This pattern aims at realizing long running business process through  orchestration  of multiple individual  services.

 

Oracle 11g Suite support BPEL Component to perform orchestration .

With various  services exposed as Services as explained above, a Business process can be orchestrated in a cloud platform much similar  in a  normal data center.

Proxy Pattern : A business service describes the end point being virtualized, its policies and interfaces. A proxy service is what the service bus exposes to service consumers and implements the virtualization logic.

With Elastic IP acting as a proxy interface to multiple virtual machines and abstracts from issues like Virtual machine failure or migration of Virtual machines, Cloud platform adapts the Proxy pattern to support virtualization.

Asynchronous Pattern : In a real world scenario Asynchronous pattern is helpful when

  • When the response might not come back instantly from the service provider
  • When a given request needs to be send to multiple providers or vice versa
  • When the service consumer did not know who will provide the service
  • When consumer and provider will not be online at the same due to geographical and time zone constraints

Amazon SQS is a distributed queue system that enables web service applications to quickly and

reliably queue messages that one component in the application generates to be consumed by another component.

Using Amazon SQS, you can decouple the components of an application so they run independently, with Amazon SQS easing message management between components. Any component of a distributed application can store any type of data in a fail-safe queue. Any other component can then later receive the data programmatically using the SQS API.

Summary

With SOA is fundamentally a loosely coupled computing paradigm, with the following attributes :

  • Loose Coupling
  • Discoverability
  • Location Transparency

The Cloud Platform  is a ideal platform for implementing  SOA based Business Process Realization and the above mentioned supporting Services in Amazon EC2 will help to realize the Same.

 

A similar comparison is also possible in the Windows Azure platform with the support from Microsoft framework.  So as we see,   Cloud Platform further compliments to the benefits of SOA platform.

More Stories By Srinivasan Sundara Rajan

Highly passionate about utilizing Digital Technologies to enable next generation enterprise. Believes in enterprise transformation through the Natives (Cloud Native & Mobile Native).

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.


Microservices Articles
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible. In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true ...
In his session at 20th Cloud Expo, Scott Davis, CTO of Embotics, discussed how automation can provide the dynamic management required to cost-effectively deliver microservices and container solutions at scale. He also discussed how flexible automation is the key to effectively bridging and seamlessly coordinating both IT and developer needs for component orchestration across disparate clouds – an increasingly important requirement at today’s multi-cloud enterprise.
Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine for resource management. As container adoption grows beyond stateless applications to stateful workloads, the need for persistent storage is foundational - something customers routinely cite as a top pain point. In his session at @DevOpsSummit at 21st Cloud Expo, Bill Borsari, Head of Systems Engineering at Datera, explored how organizations can reap the bene...
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.
Most DevOps journeys involve several phases of maturity. Research shows that the inflection point where organizations begin to see maximum value is when they implement tight integration deploying their code to their infrastructure. Success at this level is the last barrier to at-will deployment. Storage, for instance, is more capable than where we read and write data. In his session at @DevOpsSummit at 20th Cloud Expo, Josh Atwell, a Developer Advocate for NetApp, will discuss the role and value...
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City. Digital Transformation (DX) is a major focus with the introduction of DXWorldEXPO within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term.
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.
Consumer-driven contracts are an essential part of a mature microservice testing portfolio enabling independent service deployments. In this presentation we'll provide an overview of the tools, patterns and pain points we've seen when implementing contract testing in large development organizations.
Adding public cloud resources to an existing application can be a daunting process. The tools that you currently use to manage the software and hardware outside the cloud aren’t always the best tools to efficiently grow into the cloud. All of the major configuration management tools have cloud orchestration plugins that can be leveraged, but there are also cloud-native tools that can dramatically improve the efficiency of managing your application lifecycle. In his session at 18th Cloud Expo, ...
Using new techniques of information modeling, indexing, and processing, new cloud-based systems can support cloud-based workloads previously not possible for high-throughput insurance, banking, and case-based applications. In his session at 18th Cloud Expo, John Newton, CTO, Founder and Chairman of Alfresco, described how to scale cloud-based content management repositories to store, manage, and retrieve billions of documents and related information with fast and linear scalability. He addresse...