Return
to Homepage Return
to SOA Industry Papers
The SOA Gateway, for ‘Green’ Integration
Organizations the world over are beginning to see the benefits of the ‘Green’ agenda whereby IT infrastructure and application decisions can have a significant impact on the environment. This is not just being driven by good intentions but also by sound financial principles. In many cases, organizations have expanded based on cost of equipment but never took the cost of running that equipment into account. In hard financial terms, it is possible to get significant financial savings from running less equipment or more energy efficient equipment without even taking into account the impact on the environment.
Organizations are now more aware than ever that adopting green policies for their IT decisions can save money as well as the environment. These costs are often measured in a ‘carbon count’ which currently is a virtual cost but many governments are moving towards the concept of ‘carbon taxes’ which will result in organizations being charged based on their carbon emissions. By adopting a green agenda, organizations can save money today in hard energy usage terms and such policies will also lead to savings down the road as governments begin to penalize companies that have not adopted a green agenda.
All companies have IT integration issues to some degree and this document will show how using the SOA Gateway can considerably simplify a number of integration scenarios while also adhering to the green agenda. So not only does an organizations get a quick and cost effective implementation, they can also immediately reduce their carbon count and have the potential to reduce this even further going forward.
The use of standards bases web services (i.e. using SOAP or REST) is widely accepted to provide the flexibility required to move work loads based. In many instances, workloads cannot be moved as they are architecturally integrated in such a way that the must run on a specific hardware and/or software platform. When integration occurs through the use of a loose coupling standard like SOAP, or using the REST based approach which provides access to resources using URLs, it is possible to easily move those workloads to a greener, more energy efficient platform. As the Web Services will operate in an identical way on any software or hardware platform, the software using these services will operate unchanged.
The SOA Gateway exposes resources as SOAP and REST based web services and thus offers the ultimately flexibility to an organization as to where those services are run. It offers the potential to have a slow migration of these services one by one or application by application to avoid the pitfalls that can occur with a big bang approach. With this approach, the organization can choose the most appropriate platform on which to run these services thus offering the potential to move to greener technologies.
It is clear from the previous section that SOAP and REST based Web Services provide a flexible integration approach which offers the potential to reduce energy consumption by moving loads to more efficient platforms. This next section discusses how Web Services are being used today in integration projects and illustrates how Web Services can be created by the SOA Gateway and offer significant opportunities to save energy and reduce the overall cost of the traditional Web Services integration scenario.
Note that for the purposes of illustration, a COBOL application is used in this example, however, the same concept applies for integration with applications in other languages such as Natural or PL1, other environments, such as CICS or IMS/DC and other databases such as DB2, ADABAS, VSAM and others.
MQ Series can be configured in various ways, however, in order to provide the flexibility offered by the use of Web Services, the configuration required to make COBOL services available with SOAP is used here as an example.
In order to achieve the above configuration, the following steps are required:
3.1.2. Creating a Web Service for your COBOL program
In order to make a Web Service available for a COBOL program with such a configuration, it is necessary to proceed as follows:
3.1.3. Using the COBOL Web Service
The Web Service may now be called from a Web Services consumer as follows:
The SOA Gateway equivalent configuration to the above is as follows:
In order to achieve the above configuration, the following steps are required:
Contrast the above with the installation and configuration steps required with the traditional solution. The task of installation involves less steps, less hardware and less software thus reducing the effort to get the solution installed. This is effort that is saved during initial installation and configuration and periodically as maintenance is required to keep the technology up to date.
In order to make a Web Service available for a COBOL program with such a configuration, it is necessary to proceed as follows:
1. The COBOL program is defined as a service to the SOA Gateway using the Eclipse based Control Centre
Creating Web Services from the legacy artifacts is a point and click exercise and thus takes minutes instead of hours, days or even weeks to set up and configure the web service for the traditional scenario. In this way, effort can be saved each and every time integration of data or an application is required.
The Web Service may now be called from a Web Services consumer as follows:
a
SOAP over MQ Series
1
Client machine
Web Services Consumers
When using the TCP/IP transport, usage occurs as follows:
When using the MQ transport, usage occurs as follows:
a) The Web Services consumer will send the SOAP request to the MQ series Server as payload using the MQ transport protocol.
b) The MQ Series server will send the SOAP request payload to the SOA Gateway Server.
c) The SOA Gateway Server will interpret the SOAP request, call the COBOL program and get the result. It will then map the result back into a SOAP response.
d) The SOA Gateway Server will send the SOAP response payload back to the output queue using the MQ transport protocol.
e) The SOA Gateway Server will send the SOAP response back to the Web Services Consumer using MQ.
The above logic illustrates how less effort, hardware and software is requiredforeachrequestthus reducing the carbon cost of the day to day use of the integrated data or business logic.
4. Summary
This document shows that using the Web Services and the SOA Gateway can make a real difference to your carbon footprint when integrating existing data or business logic. The green benefits that can be achieved by using this methodology are as follows:
No additional hardware and software is required to complete the integration effort.
A simpler initial installation and configuration means less effort is required to get the software installed and configured.
Simple, single step creation of Web Services saves time and effort over the traditional approach.
No installation and maintenance of software is required on the client systems thus saving effort on an ongoing basis.
Savings are made with each invocation
of the service due to the two tiered approach to the solution avoiding
energy consuming hardware and software required by 3 tiered integration
solutions.
For more information visit: www.risaris.com
or email john.power@risaris.com
© Risaris 2008
Soagateway.com - Soa Gateway is a
software tool used in soa projects, data application, soa gateway projects,
data application, web applications, php applications, legacy migration,
legacy data, legacy systems and data access integration.
www.soagateway.com
Return
to Homepage Return
to SOA Industry Papers