Showing posts with label SOA. Show all posts
Showing posts with label SOA. Show all posts

Monday, August 15, 2011

Mainframe Enablement for SOA: Part IV


Over the last two decades, CEOs of large corporations are finding themselves locked in a vicious cycle. Maintenance of legacy system are taking a bigger share in their IT budgets each year, as a result of which only very less is available for developmental upgrades.  But without developmental upgrades, maintenance on outdated systems is only going to create more problems in the long run. Now the industry has found a solution though Service Oriented Architecture (SOA), which offers a low-cost methodology to integrate, update, and manage data, applications, and utilize effectively any existing legacy system.

By moving to a SOA environment, you can gain a significant return on the investment by reusing components of your legacy systems. However, migrating to an SOA environment is neither automatic nor easy.  First step in moving towards SOA consists of providing access to mission critical business data and application in a technology neutral way. As pointed out in a  previous blog “Mainframe Enablement for SOA: Part I “of mine, Mainframe still enjoys a special status in many Fortune 500 companies and world’s largest corporations, including banking, finance, health care and insurance companies as they still run the business and contain critical business logic that is unique, difficult and costly to replicate. So in this blog we will explore the ways to enable mainframe application so that they can be part of the SOA world.

There are many solution approaches to enablement including few we have discussed in “Mainframe Enablement for SOA: Part I and Part II”. However, the making use of ESB is a better way. It provides many advantages in the area of governance, flexibility, quality of service (QoS).

Architecture


Note that ESB such as WebSphere Enterprise Service Bus supports z/OS and other distributed platforms like Linux for System, AIX and Windows. This approach requires the following software:  IMS Version 9 and IMS Connect Version 9 or above and for IMS enablement, CICS Transaction Server and CICS Transaction Gateway for CICS enablement. Other things required is J2C connectors like IMS TM Resource Adapter which implements the J2C Common Client Interface (CCI), a programming interface that allows your application to communicate with IMS Transaction Manager and CICS TG Resource Adapter, which allows communication with CICS Gateway.

Advantages of this approach

There are many advantages in using ESB as part of the solution since ESB are designed to avoid the point-to-point connectivity between services provider and service consumer, whereby it provides location transparency. 

ESB routes messages between services thereby removing the direct one-to-one relationship between end points.

ESB also provides built-in transformation capabilities for both message formats (for example binary into XML) as well as transport protocol transformation (example SOAP to MQ). 
And with CICS TG and IMS Connect providing two-phase commit, advanced security and system management, and the fact that no change is required in the CICS programs or IMS programs it turns out to be, the ideal way to enable Mainframe for SOA.

Sunday, July 17, 2011

Mainframe Enablement for SOA: Part II

My previous blog, discussed the approach one could adopt if the organization’s portfolio comprises of CICS applications; now let us discuss the one of the simplest approach to expose IMS application as service.

IMS SOAP Gateway 


 IMS Enterprise Suite SOAP Gateway is a web services solution that enables IMS applications to interoperate outside of the IMS environment through the SOAP protocol.

The IMS application can be exposed as Web services, by first creating a Web Service Description Language (web service interface) for the IMS application followed by deploying the web service interface to IMS SOAP Gateway and defining the connection and correlation information by using the deployment utility. Once deployed, any client application (Java or Microsoft .NET based) can send a SOAP message to invoke the IMS application. SOAP Gateway is compliant with the industry standards for web services, including SOAP/HTTP 1.1 and Web Services Description Language (WSDL) 1.1

Tools like Rational Developer for System z can be used to generate the WSDL file that is needed to enable the IMS application to run as a Web service provider.  All that is required to generate the WSDL file is the COBOL copybook for the IMS application that describes the input and output message format.

Architecture

Note that SOAP Gateway supports various z/OS, other distributed platform like Linux for System, AIX and Windows. This approach requires the following software:  IMS and IMS Connect Version 10 or above and IMS SOAP Gateway.

Advantages of this approach

  • Simple and easy way to enable IMS application. 
  • Existing transactions can be retained with no change.

Even though this is an easy way to enable IMS transaction, this approach has many many drawbacks such as no support for MFS-based transactions and two-phase commit.  So exploring the options which make use of Enterprise Service Bus is suggested.  Will look at the ESB based enablement in a subsequent blog.

Thursday, July 14, 2011

Mainframe Enablement for SOA: Part I

Even today, mainframe computers play a pivotal role in the daily operations of many of the world’s largest industries, including banking, finance, health care and insurance companies. While many other forms of computing are also being used, mainframe occupies special place in e-business dominated world. 

All began in 1960s, when IBM introduced S/360 followed by S/370 and S/390 with Multiple Virtual Storage support (MVS) OS to the current z9 and z10 with z/OS (A 64-bit operating system). Mainframe computing remains relevant even today  due to its high reliability, availability, and serviceability (RAS), security, scalability, continuing compatibility, evolving architecture, extensibility, and  lower total cost of ownership (TCO) 

The advantages of mainframe computing are often overshadowed by the need for premium hardware and labor costs, costly software licensing and maintenance expenses. In the face of all these difficulties, some organizations wish to   migrate to open systems. But there are many problems.  Mainframe cannot be dropped or replaced easily because: they still run the business and contain critical business logic that is unique, difficult and costly to replicate.  Reusing existing application will always leverage previous IT investments.  Since these systems has not become useless but has only limited business agility and flexibility in the current scenario, effort should be made to modernize these systems to meet the additional business needs. 

There are many ways to enablement including exposing the data on z/OS as a service and exposing the programs on z/OS as a service. When we say, exposing data on z/OS, it includes the following, VSAM data, IMS data and DB2 data. And when we say, exposing programs on z/OS, it includes the following, CICS program, IMS programs and DB2 stored procedures.  

Below we will discuss an approach which can be adopted if the organization whose application portfolio comprises of well designed CICS applications and uses 3270 displays as the user interface to the CICS application.

CICS Transaction Gateway 

The CICS application can be exposed as Web services, implemented in WebSphere Application Server via CICS TG.  These Web services can be accessed directly from a Web service consumer using the Web Service protocols.

The CICS Transaction Gateway (CICS TG) is a set of client and server software components that allow an application based on Java to invoke services in a CICS region. CICS TG currently supports the following platforms: z/OS, OS/390, Linux for System, AIX, Sun Solaris and Windows.

Architecture


Note that both CICS TG and WebSphere Application Server can run on z/OS or other distributed platform.  This approach requires the following software:  CICS Transaction Server, CICS Transaction Gateway and WebSphere Application Server or a J2EE server supporting the CICS TG resource adapter.

Advantages of this approach
  • CICS TG is a mature connector supporting two-phase commit, advanced security and systems management.
  • No changes to the existing CICS programs are required.
  • Performance extremely good, especially when all three (WebSphere Application Server, CICS TG, and CICS) run on z/OS. 

One of the drawbacks of this approach is that, the connection between WebSphere Application Server and CICS is not totally coupled loosely, for this exploring alternatives which make use of Enterprise Service Bus is suggested.  We will look at the ESB based enablement in a subsequent blogs.