SOA Introductory: Part2 – SOA Technologies

Jan 01

Previously, we’ve introduced the idea behind SOA and how the architecture has been evolved over years to reach this refined design architecture and why we have the new need for a different type of architecture that aligned with business processes. Now, we’re going to talk a look at the technologies that go behind SOA.



Let’s first pointing to one thing before goes through SOA technologies. A lot of people struggle with when they are trying to understand what is SOA. Basically, SOA is a set of standards and technologies that work together to make business development easier. So, if we brought SOA suite (Oracle, IBM, TIBCO, JBOSS, WSO2, .. etc. ) which is a managed server that goes along with any application server like Weblogic perhaps, eventually it’s not something you just put in place and put the application into it and say make the SOA, that’s not the way it works!


You have actually to design your application in SOA framework and architecture that’s why it’s important to understand what SOA is basically aims to. Also, SOA server actually it enables all different technologies and the management of these technologies. So, when we’re ready to deploy our SOA application, we can go so relatively easy in monitoring them and setting up applications that use those technologies. That is what SOA suite is doing for us; it’s not going to turn an existing application into SOA application just to plug it in SOA suite.




Let’s now focus on the different technologies that make up SOA. One of the core technologies that goes along with SOA is what we’ve mentioned before: the Web service. A web service is something that you can think of as a kind of black box. A black box is something that you know the input, something happen in the box (business logic) and there is an output. In a large system like enterprise system, we’ve many modules and many different set of code for: Accounts payable, Account receivable, Warehousing, Purchase Orders, Human Resources,.. etc.  These systems have become so large and complex, it can be really challenge to go there and make a change.


If we can take the specific functionality that is in each one of those pieces breaking it into a Web service this gives us a whole bunch of advantages. From a developer stand point, imagine that we have something like credit check. If we have a large organization, we probably have a set of code for to different types of credit check: we might have credit check for individual consumer, another one for a vendor, another one in different organizations in terms of transferring, warehouse, Inventory numbers,.. etc. It’s really hard to maintain that at the business level, we might make a different role changes to the credit check. So, we have to go to all of these different places to: change their codes, test and redeploy them while we have different programming languages and different operating systems.




If we can consolidate all the codes that go along with Credit Check in one place and turn that into a Web Service which can be called by any other application, this would be a really nice advantage. We can think of a Web Service like a black box which has a discrete business function that takes an input and produce an output and can be exposable over the web. The question here, once we have this web service created, how I would know about it or how other developers and other programs make use of this web service?






We have something called WSDL (Web Service Description Language). It’s not more than XML file that describes the Web Service. So, if we need to describe the type of input/output fields the web service is expecting, then this should be defined in the WSDL. XML is similar to HTML, but the main difference is HTML has a pre-defined tags (p for paragraph, b for bold) while XML we can define our own tags (tags that describe data, tags that describe meta-data), we can have a complex structure. XML is kind of a standard language for SOA. So, when we have programming language that wants to call a web service, we should look at the WSDL in order to figure out how to call the piece of information and the code that should be written based on that. All most all modern programming languages allow us to create a web service out of the box as well as creating the web service client by providing the WSDL which describes all needed info.


It’s important to note that the Web Service, WSDL and XML are not specifically SOA technologies. Web Service and WSDL exist outside SOA environment while XML exists all over the web but all of these, but SOA can bring together in a philosophy of breaking down the application into small pieces and putting them together into what called composite application.


Once we have these entire web services can isolated, let’s say that we have a whole bunch of these different black boxes together, how can we link them all together? For example based of the output of the credit check we might go to some form ware: if it fail, we need to send an email and display something in the screen, if we succeed we need to go to the next step of the process in the credit check (going to inventory module). How can we link these different black boxes together? It can be done with something called BPEL (Business Process Execution Language). Most programming languages have graphical tool which allow us to manipulate the link between different pieces through graphical representation of how we want the flow to go, then they can generate the code automatically. SO, BPEL is a technology which allows us to link Web Services together.






We have another tool which comes as part of SOA called ESB (Enterprise Service Bus). It manages all messages between different web services, between different systems that we’re integrating through SOA. ESB has a whole bunch of different functions those monitoring and routing web services messages (in/out). Also, it resolves contention between web services that might happen during the interaction. ESB allows us to make version of the web services, for example if we create credit check and want to enhance it, we may add more input/output parameters, then what about the existing programs? The existing programs will not be able to use the enhanced ones because they have different input/output, that’s why ESB introduced versioning which resolves this issue, it will be smart enough to direct the caller to the correct version. ESB has other common services that are needed by the application like: event handling, data transformation, data mapping message queuing, message sequencing, security, exception handling, etc.






So the ESB handles a lot of different stuff, it can manipulate data transform, data that goes in/out of a web service depending on the type of the application that called it, we can queue events, sequence different events and more. Putting ESB in place can gives you a lot of flexibility and it becomes easier to make changes in terms of requirements in complex systems. It also scales from what called point-solution to enterprise-wide deployment. There is central role engine, there is no center broker and it’s very easy to implement patching, we can implement patch with Zero down time. With ESB, the enterprise becomes refactorable without need to break down the environment specially when we operate 24/7.





In the next part, we will talk about the business drivers and how each one of these makes a lot easier for businesses to implement SOA and gain some real benefits in short period of time.


See also:

Oracle SOA vs. IBM SOA
How to Navigate a Sea of SOA Standards



  1. Both part 1 and 2 are wonderful, Allah bless your effort Bassam. Waiting the 3rd part 🙂 .

  2. Thanks Mohammed 🙂

  3. Ahmed Hamza /

    Excellent insight. Simple, and straight to the point. Keep the good work. We are waiting for more articles to come.

  4. Thank you Ahmed for your encouraging words 🙂

  5. Karim Magdy /

    Awesome article

Leave a Reply