s108 - 1 billion smartphones a year and counting – how is your cics connected?

Download S108 - 1 Billion Smartphones a year and counting – How is your CICS connected?

If you can't read please download the document

Upload: nickgarrod

Post on 04-Aug-2015

22 views

Category:

Technology


0 download

TRANSCRIPT

1. One Billion Smartphones Dan Millwood & Russ Teubner CICS S108 2. 2015 IBM Corporation IBMs statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBMs sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion. Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the users job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here. Please note 3. 2015 IBM Corporation Agenda Its a Mobile world And then there is the API Economy What are REST and JSON? CICS integration architectures What are the options? Where can the data transformation be done? An introduction to zOS Connect Summary HostBridgeTechnologies An ISV perspective on Mobile and the Mainframe 4. 2015 IBM Corporation Mobile: Another stage in computing history Host/Mainframe Client/Server Web/Desktop Mobile/Wireless/Cloud Mobile is different: Ubiquitous computing Mixed models web/native/hybrid A different type of app context aware Revolutionary to business models 5. 2015 IBM Corporation 6. 2015 IBM Corporation The way organisations reach customers is evolving 7. 2015 IBM Corporation 8. 2015 IBM Corporation and growth is accelerating dramatically By End of 2014, 75% of the Fortune 1000 will offer public Web APIs By 2016, 50% of B2B collaboration will take place through Web APIs Sources: Gartner, Predicts 2012: Application Development, 4Q, 2011; Gartner, Govern Your Services and Manage Your APIs with Application Services Governance, 4Q 2012; Gartner, Open for Business: Learn to Profit by Open Data, 1Q 2012 APIs represent a new, fast-growing channel opportunity Business models are evolving Branch Toll-free Website Web APIs APIs are a path to new business opportunities 9. 2015 IBM Corporation API Economy 10. 2015 IBM Corporation Success in the API economy Your company benefits from applications calling your services Developers could pay for high value services Developers could be paid for driving business to your services Services could benefit both the developers application and the providers business Make it easy for the developers to call those services Provide developers with services that use technologies they understand and can easily work with 11. 2015 IBM Corporation Example from the web eBay provides APIs to allow applications to drive traffic into its auction sites Input and Output to the services can be: HTTP GET with URL specifying name-value pairs HTTP POST with JSON request HTTP POST with XML request HTTP POST with SOAP request (both SOAP 1.1 and 1.2) Source: http://developer.ebay.com/Devzone/finding/Concepts/MakingACall.html 12. 2015 IBM Corporation So why JSON and REST Provide developers with services that use technologies they understand and can easily work with JSON is Easy to integrate into JavaScript applications A preferred data format for many mobile application developers REST is liked as its easy to describe typical data operations Create, Read, Update, Delete 13. 2015 IBM Corporation What is JSON? JavaScript Object Notation Its another data format Lightweight, human-readable, text based format for data Simple structure Native JavaScript support Widely adopted by the industry var customer = { name: John Smith, age: 30 }; 14. 2015 IBM Corporation A RESTful Web service uses the HTTP verbs GET, PUT, POST and DELETE to describe different actions on a set of data Issue HTTP GET to http://myapp/photos List all photos Issue HTTP GET to http://myapp/photos/photo1 Get individual photo Issue HTTP POST to http://myapp/photos Add a new photo Issue HTTP DELETE to http://myapp/photos/photo1 Delete individual photo What is a RESTful Web service 15. 2015 IBM Corporation What does JSON/REST mean to CICS? JSON Just another format for the data REST Most CICS linkable programs are request/response and not really RESTful. Probably means writing a new CICS application that is aware of the HTTP verbs JSON and REST don't have to be used together! What are you trying to achieve? Re-use of existing assets? Use WSBind tooling to provide JSON request/response services or write a custom implementation New applications? Provide JSON/REST applications from WSBind tooling or JAX-RS Invoking JSON services? Use CICS WEB and JSON transform capabilities to invoke JSON/REST services 16. 2015 IBM Corporation The message here is that CICS is a piece of the Mobile architecture, but in most cases will not be the only component: CICS Context within Mobile Architecture CICS z/OS Connect IMS Batch Firewall Firewall IBM MobileFirst Platform DMZ Device Linux for z Systems 17. 2015 IBM Corporation Two models of CICS integration CICS TS Web service Client CICS Program Business logic B Requester connector Web services end-point Service Provider D Integration logic I A CICS TS Web service Client CICS Web services support Integration logic Data access Business Function DI Business logic B Requester (Service Provider) A JSON conversion outside CICS 17 JSON conversion in CICS 18. 2015 IBM Corporation Bespoke integration Zero-code solution Simplicity Flexibility WSBind-based solutions Based upon tooling not coding Creates re-usable assets Ideal for top-down / bottom up Simple to use with fast ROI Less flexible in terms of data transformation options Custom adapter / RESTful web app Based upon bespoke integration code Can always integrate between independent SoE and SOR worlds Code must be written somewhere e.g. JAX-RS application in WAS or CICS Liberty profile The level of friction between SoE & SoR data models determine the complexity of the enablement solution Simplicity vs Flexibility Composite solutions might also use MobileFirst adapters, or CICS-COBOL wrapper with any of the above CICS mobile enablement solution complexity 19. 2015 IBM Corporation Web Service provider: CICS Liberty Data transform: Bespoke/custom user code CICS integration: Direct LINK Base release: CICS TS V5.1 z/OS CICS TS z/OS Connectz/OS Connect Liberty JVM server Bespoke transform Direct LINK Binary data JSON data JAX-RS application PROGX JSON transform JSON data Binary data Bespoke integration example HTTP(S) Bespoke transformation e.g. JZOS classes for Data Access 20. 2015 IBM Corporation CICS web services and JSON assistants offline tooling What are WSBind files and the assistants? WSDL WSBind file Language Structures JSON schema Language Structures Language Structures WSDL or JSON schema Bottom-up existing SOR applications For the SoR developer e.g. COBOL, C, PL/1 developer Top-down SOAP/XML web services Top-down JSON web services For the consumer of the web service e.g. mobile app developer Generated by off-line tooling e.g. DFHLS2JS Stored on zFS Maps data between a web service and an SOR language structure representation at run time e.g. JSON schema to COBOL copybook 21. 2015 IBM Corporation JSON transform logic uses WSBind file to tell it how to do the transformation z/OS CICS TS z/OS Connectz/OS Connect JSON transform Direct LINK Binary data HTTP(S) JSON data PROGX JSON transform JSON data Binary data Using WSBind for JSON transformation WSBind file 22. 2015 IBM Corporation Where can the JSON transformation be done? In CICS Support for both inbound and outbound JSON requests In the CICS Transaction Gateway Transform data off platform and then call into CICS CTG can add JSON capabilities to any release of CICS supported by CTG including TX Series and CICS/VSE A centralised z/OS service (z/OS Connect) Expose access to services on CICS, IMS, Batch etc from a common point of entry 23. 2015 IBM Corporation Web Service provider: CICS TS V4.2+ Data transform: WSBind files CICS integration: Direct LINK z/OS CICS TS z/OS Connectz/OS Connect JVM Server JSON transform Direct LINK Binary data JSON data PROGX JSON transform JSON data Binary data JSON transformation in CICS HTTPS WSBind file 24. 2015 IBM Corporation Web Service provider: CICS TG Data transform: WSBind files CICS integration: Standard CICS communications enables z/VSE, TXSeries and i integration Base release: CICS TG V9.1 z/OS CICS TS CICS comms Binary data PROGX CICS TG V9.1 z/OS Connectz/OS Connect JVM JSON transform Dedicated web app Multiplatforms OS or z/OS JSON data JSON transform JSON data Binary data JSON transformation using CICS Transaction Gateway HTTP(S) WSBind file 25. 2015 IBM Corporation Web Service provider: WebSphere Liberty on z/OS Data transform: WSBind files CICS integration: WebSphere Optimized Local Adapter (WOLA) JSON transform JSON data Binary data z/OS Connect a centralised z/OS service IMS z/OS WebSphere Liberty z/OS Connect z/OS Connect z/OS Connect JSON transform WOLA Binary data CICS TSHTTP JSON data WOLA service provider PROG A JSON transform IMS Connect IMS service provider TRAN B Binary data WSBind file 26. What is z/OS Connect? 27. 2015 IBM Corporation Its about getting REST and JSON into your mainframe environment in a way that enables you to best take advantage of the assets that exist there: Mobile Ecosystem CICS IMS Batch Other Where z/OS Connect fits Liberty Profile Server Function IBM wrote to run in Liberty Profile No charge function provided with license entitlement for WAS z/OS, CICS or IMS customers z/OS Connect z/OS Connect What is it? 28. 2015 IBM Corporation This represents another component to configure and maintain in your environment. So what value does it bring? Provides a common and consistent entry point for mobile access to one or many backend systems Java, so runs on specialty engines Shields backend systems from requiring awareness of JSON data formatting Provides point for authorization of user to invoke backend service Provides point for capturing usage information using SMF Simplifies front-end functions by allowing them to pass JSON rather than be aware of or involved in data transformation You could enable Mobile access without z/OS Connect z/OS Connect simplifies and makes the environment more consistent and manageable Why z/OS Connect? 29. 2015 IBM Corporation The message here is that z/OS Connect is a piece of the Mobile architecture, but in most cases will not be the only component: CICS z/OS Connect IMS Batch Firewall Firewall IBM MobileFirst Platform DMZ Device z/OS Connect would be behind the secure firewall, and on LPARs along with backend systems IBM MobileFirst Platform to provide application management, security and operational governance for mobile applications Users of z/OS Connect would access through normal corporate firewall infrastructure Linux for z Systems Context within Mobile Architecture 30. 2015 IBM Corporation Summary JSON and REST provide a simple lightweight representation of data and actions on data Used heavily by mobile app developers and in the API economy To minimise data transformations, consider JSON CICS commarea or data structures Tooling based approach for simplicity WSBind based zOS Connect, CICS or CTG Bespoke integration for flexibility e.g. JAX-RS In my next session I'll look at WSBind and JAX-RS in more detail 31. 2015 IBM Corporation Questions 32. 2015 IBM Corporation