Cics Web 2.0 With Atom Feeds And Php


Published on

Palestra do Latin America CICS Roadshow

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Cics Web 2.0 With Atom Feeds And Php

    1. 1. CICS and Web 2.0 Tom Grieve [email_address]
    2. 2. Outline <ul><li>What is Web 2.0 and what is a RESTful SOA? </li></ul><ul><li>Why is this relevant to CICS and CICS applications </li></ul><ul><li>How to use Atom to make CICS information available to more end-users </li></ul>
    3. 3. Outline <ul><li>What is Web 2.0 and what is a RESTful SOA? </li></ul><ul><li>Why is this relevant to CICS and CICS applications </li></ul><ul><li>How to use Atom to make CICS information available to more end-users </li></ul><ul><ul><li>What is Web 2.0 and what is a RESTful SOA? </li></ul></ul>
    4. 4. What is Web 2.0*? Simple to use Simple to access <ul><li>AJAX </li></ul><ul><li>Highly Interactive </li></ul><ul><li>Browser invoked services </li></ul><ul><li>JSON / XML / ATOM </li></ul><ul><li>Information exchange </li></ul><ul><li>JavaScript Friendly </li></ul><ul><li>REST </li></ul><ul><li>Easily invoked </li></ul><ul><li>HTTP-Centric Patterns </li></ul>* A term coined by Tim O‘Reilly ( ) ‏
    5. 5. What is Web 2.0? <ul><li>From Wikipedia... </li></ul><ul><ul><li>Web 2.0, a phrase coined by O'Reilly Media in 2003 and popularized by the first Web 2.0 conference in 2004, refers to a perceived second generation of web-based communities and hosted services — such as social-networking sites, wikis and folksonomies — which facilitate collaboration and sharing between users. O'Reilly Media titled a series of conferences around the phrase, and it has since become widely adopted. </li></ul></ul><ul><ul><li>Although the term suggests a new version of the World Wide Web, it does not refer to an update to Web technical specifications, but to changes in the ways systems developers have used the web platform. According to Tim O'Reilly, &quot;Web 2.0 is the business revolution in the computer industry caused by the move to the internet as platform, and an attempt to understand the rules for success on that new platform.&quot; </li></ul></ul><ul><ul><li>(continued) ‏ </li></ul></ul>
    6. 6. What is Web 2.0? <ul><ul><li>Advocates of the concept suggest that technologies such as weblogs, social bookmarking, wikis, podcasts, RSS feeds (and other forms of many-to-many publishing), social software, Web APIs, Web standards and online Web services imply a significant change in web usage. As used by its supporters, the phrase &quot;Web 2.0&quot; can also refer to one or more of the following: </li></ul></ul><ul><ul><ul><li>the transition of web sites from isolated information silos to sources of content and functionality, thus becoming computing platforms serving web applications to end-users; </li></ul></ul></ul><ul><ul><ul><li>a social phenomenon embracing an approach to generating and distributing Web content itself, characterized by open communication, decentralization of authority, freedom to share and re-use, and &quot;the market as a conversation&quot;; </li></ul></ul></ul><ul><ul><ul><li>enhanced organization and categorization of content, emphasizing deep linking; </li></ul></ul></ul><ul><ul><ul><li>a rise in the economic value of the Web, possibly surpassing the impact of the dot-com boom of the late 1990s. </li></ul></ul></ul>
    7. 7. Accessibility for Developers <ul><li>A RESTful Web service is formed like a sentence – it simplifies how developers access services </li></ul><ul><li>Verb = HTTP Action (GET, POST, PUT, DELETE) ‏ </li></ul><ul><li>Noun = the URI of the Service (the document) ‏ </li></ul><ul><li>Adjective = MIME type of the resulting document </li></ul>
    8. 8. RESTful SOA <ul><li>A RESTful SOA is an instance of SOA that uses concepts from the Web as the primary service architecture </li></ul><ul><ul><li>Limiting choices to make it easier to implement a SOA </li></ul></ul><ul><ul><li>Primarily uses REST to represent and access services </li></ul></ul><ul><ul><li>Data is encoded as JSON or XML (including XML schemas like ATOM) ‏ </li></ul></ul><ul><ul><li>May use alternate approaches like JSON-RPC when appropriate </li></ul></ul><ul><ul><li>Supports Rich User Interfaces built using AJAX </li></ul></ul><ul><li>Key aspects of building an effective RESTful SOA </li></ul><ul><ul><li>Take advantage of your existing infrastructure wherever possible </li></ul></ul><ul><ul><li>Use well-established, ubiquitous technologies for scalability, performance and security </li></ul></ul><ul><ul><li>Build rich UI’s that run in any commodity browser </li></ul></ul><ul><ul><li>Make content simple and human readable </li></ul></ul>
    9. 9. Where can a RESTful SOA apply? <ul><li>When building Widgets for use in Mashups or RIA’s, or building feeds ( ATOM or RSS) for use in a browser or by an aggregator </li></ul><ul><li>When you want to make assets available to the web </li></ul><ul><ul><li>In a form that it can be parsed by the widest range of technologies available </li></ul></ul><ul><ul><li>Where it may be consumed on either the client or server side </li></ul></ul><ul><li>When the asset you are exposing is naturally resource-oriented </li></ul>
    10. 10. What’s the philosophical difference? <ul><li>The key motivator of a RESTful SOA is its simplicity and its ubiquity </li></ul><ul><ul><li>It’s about delivering content in the simplest possible way </li></ul></ul><ul><ul><li>HTTP is available everywhere; it’s like the air around us </li></ul></ul><ul><li>With WS-* It’s not the body that matters, it’s the headers </li></ul><ul><ul><li>WS-Security is about choice in the decision of encryption, identity tokens and digital signatures </li></ul></ul><ul><ul><li>WS-Addressing is about transport-neutral mechanisms of describing addresses </li></ul></ul><ul><ul><li>Even the WS-I standards are about allowing maximum flexibility within a fully agreed-upon framework of standards </li></ul></ul><ul><li>You might want to choose WS* where you don’t have direct control of all the pipes. </li></ul><ul><ul><li>WS-ReliableMessaging and SOAP over JMS are about choice in how you obtain qualities of service </li></ul></ul>
    11. 11. Merging Enterprise SOA and RESTful SOA <ul><li>If you take the route of developing for both Enterprise SOA and RESTful SOA then you can take advantage of two separate content pools </li></ul><ul><ul><li>Services generated inside your enterprise </li></ul></ul><ul><ul><li>Services generated outside the enterprise </li></ul></ul><ul><li>This gives you the best of both worlds and allows you to take advantage of all the communities served by your business </li></ul>Services from Inside the Enterprise Services from outside the Enterprise New Content and New ways to reach Your communities
    12. 12. Attributes and advantages of a RESTful SOA <ul><li>Simplicity </li></ul><ul><ul><li>Many decisions pre-made, constrained choices </li></ul></ul><ul><ul><ul><li>Fixed protocol (HTTP) ‏ </li></ul></ul></ul><ul><ul><ul><li>Fixed encryption model (HTTPs) ‏ </li></ul></ul></ul><ul><ul><ul><li>Fixed identity token exchange (Basic-Auth or standard HTTP schemes) ‏ </li></ul></ul></ul><ul><li>Ubiquity </li></ul><ul><ul><li>Use the HTTP infrastructure and other technologies like JavaScript that already exist </li></ul></ul><ul><li>Effortless use of services </li></ul><ul><ul><li>Single, well-understood programming model (Javascript) ‏ </li></ul></ul><ul><ul><li>Lots of examples on the web </li></ul></ul><ul><ul><ul><li>Copy-cut-and-paste programming to use services </li></ul></ul></ul><ul><ul><li>Someone should be able to use a RESTful SOA Service without knowing they’re doing it! </li></ul></ul><ul><li>Cacheability, Scalability, Testability, Securability, Navigability </li></ul>
    13. 13. Intuitive User Experience – using AJAX In the typical web application, each request causes a complete refresh of the browser page An Ajax application begins the same way. After the initial page loads, Javascript code retrieves additional data in the background and updates only specific sections of the page <ul><li>AJAX is the acronym for A synchronous J avaScript a nd X ML </li></ul><ul><li>AJAX forces you to think about discrete services </li></ul><ul><li>Gives you a bottoms-up approach to defining services that can reveal new things about your enterprise </li></ul>Service
    14. 14. XML, JSON and ATOM <ul><li>XML is the standard representation for message format in RESTful services </li></ul><ul><ul><li>The key difference from SOAP is that the XML represents only the body of a message </li></ul></ul><ul><ul><li>Thus a RESTful service will carry as its content only a simple, human-readable document that represents the “noun” of the service </li></ul></ul><ul><li>JSON is an alternate standard format for succinct communication with AJAX clients </li></ul><ul><ul><li>The vast majority of the clients of a RESTful service will be written in JavaScript </li></ul></ul><ul><ul><li>In recognition of that, JSON (JavaScript Object Notation) allows for rapid exchange of JavaScript objects, but also in a simple, human-readable format </li></ul></ul><ul><ul><li>JSON is built up from a collection of name-value pairs and ordered lists of values </li></ul></ul><ul><li>ATOM is a key XML specification for content syndication </li></ul><ul><ul><li>ATOM allows for better support for podcasting, updating, and extension than RSS provided </li></ul></ul><ul><ul><li>ATOM is also human readable and is easy to understand and parse </li></ul></ul>
    15. 15. Extend your business processes <ul><li>For your services to be useful they have to be reused; one of the key promises of a SOA is that it enables your enterprise for BPM </li></ul><ul><li>Many businesses act as though their business processes end at the corporate firewall; to take advantage of your business communities you need to extend your business processes out to your communities. </li></ul><ul><li>This entails several aspects </li></ul><ul><ul><li>Make sure that you can expose your processes (and their results) to your communities </li></ul></ul><ul><ul><li>Make sure that you can consume RESTful services in your business processes </li></ul></ul><ul><li>This is possible today through existing tools and RESTful approaches; but can be made simpler in future products and product releases </li></ul>
    16. 16. WebSphere sMash for quickly delivering Web 2.0 applications, and enabling mashups. WebSphere sMash <ul><li>Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) ‏ </li></ul><ul><li>Leverages Web 2.0 technologies for service invocation, service composition and data interchange  </li></ul><ul><li>Visual tools for developers to build Widgets for use in Lotus Mashups </li></ul>
    17. 17. Outline <ul><li>What is Web 2.0 and what is a RESTful SOA? </li></ul><ul><li>Why is this relevant to CICS and CICS applications </li></ul><ul><li>How to use Atom to make CICS information available to more end-users </li></ul><ul><ul><li>Why is this relevant to CICS and CICS applications </li></ul></ul>
    18. 18. What does this mean to CICS? <ul><li>As far as CICS goes there are at least two ways that Web 2.0 can intersect with it: </li></ul><ul><ul><li>Customers wanting to employ CICS apps as part of their Web 2.0 solution (CICS Customer Web 2.0)‏ </li></ul></ul><ul><ul><li>Use of Web 2.0 technologies in the CICS portfolio of products and tools (CICS TS Web 2.0)‏ </li></ul></ul><ul><li>Elements of Web 2.0 that we ought to consider: </li></ul><ul><ul><li>Enabling CICS apps in Mashups - typically browser or portal based aggregations </li></ul></ul><ul><ul><li>Enabling CICS apps to be Web Feeds </li></ul></ul><ul><ul><li>Encouraging the building of RESTful access to CICS applications </li></ul></ul><ul><ul><ul><li>Using REST in our external APIs (e.g. systems management)‏ </li></ul></ul></ul>
    19. 19. URLs, RESTful and tagging <ul><li>“ Clean and meaningful URLs” </li></ul><ul><ul><li>For everything! </li></ul></ul><ul><li>REST </li></ul><ul><ul><li>REpresentational State Transfer - See </li></ul></ul><ul><ul><li>How the Web has always worked... </li></ul></ul><ul><ul><ul><li>HTTP POST|GET|PUT|DELETE are all the verbs you'll ever need </li></ul></ul></ul><ul><ul><ul><li>Everything else is a resource – with a representation of its state </li></ul></ul></ul><ul><li>Tagging </li></ul><ul><ul><li>“ Remembering in public” </li></ul></ul><ul><ul><li>Associating audience-defined terms to things so that dynamic collections are formed </li></ul></ul>
    20. 20. An example of CICS supporting a customer Web 2.0 application <ul><li>CICS applications as Atom Feeds </li></ul><ul><ul><li>Atom feeds provide access to data. CICS apps typically add some business level value over the top of raw database or file records. </li></ul></ul><ul><ul><li>Examples of what a feed could publish include: </li></ul></ul><ul><ul><ul><li>New entries in file or table </li></ul></ul></ul><ul><ul><ul><li>Contents of a queue </li></ul></ul></ul><ul><ul><ul><li>... what else? </li></ul></ul></ul><ul><li>These in turn could have business value as new orders, new customers.... </li></ul><ul><ul><li>An illustration of what could be useful would be to provide an Atom feed that represents a Temp Stg queue. A CICS app then has a very simple way to populate a feed - simply write to the queue. </li></ul></ul>
    21. 21. An example of CICS supporting a Web 2.0 application CICS COBOL APP EXEC CICS WRITEQ TS CICS TS v3 CICS Atom Server Simple HTTP application Atom (HTTP) ‏
    22. 22. WEB 2.0 and ATOM <ul><li>ATOM feeds are the basis for other Web 2.0 technology </li></ul><ul><ul><li>Mashups, feed aggregators, blogs all support ATOM </li></ul></ul><ul><li>Replaces previous RSS syndication standard </li></ul><ul><li>Comes in two flavours: </li></ul><ul><ul><li>RFC4287 - Atom Syndication Format (2005) ‏ </li></ul></ul><ul><ul><ul><li>Feeds and Entries </li></ul></ul></ul><ul><ul><ul><li>Targetted at producing feeds </li></ul></ul></ul><ul><ul><li>RFC5023 - Atom Publishing Protocol (2007) ‏ </li></ul></ul><ul><ul><ul><li>Services and Collections </li></ul></ul></ul><ul><ul><ul><li>Targetted to creating and updating resources </li></ul></ul></ul>
    23. 23. Using Atom Publishing Protocol to discover services and data AtomService Workspace Collection Entry <?xml version=&quot;1.0&quot; encoding='utf-8'?> <service xmlns=&quot;;> <workspace title=&quot;My blog&quot; > <collection title=&quot;My blog entries&quot; href=&quot; &quot; > <accept> entry </accept> </collection> <collection title=&quot;Pictures&quot; href=&quot; &quot; > <accept> image/* </accept> </collection> </workspace> </service> Service Document Finding and filtering Returning refs to 'real' things <feed xmlns=&quot;; xml:base=&quot;;> <id></id> <title>My Blog Entries</title> <updated>2006-08-12T13:40:03Z</updated> <link rel=&quot;self&quot; href=&quot;/blog/entries&quot; /> <link href=&quot;; /> <entry> <id>,2006:/blog/entries/1</id> <title>Atom-Powered Robots Run Amok</title> <link href=&quot;;/> <link rel=&quot;edit&quot; href=&quot;; /> <updated>2006-08-12T13:40:03Z</updated> <author><name>James</name></author> <summary>Some text.</summary> </entry> <entry> ... </entry> ... </feed>
    24. 24. Create, Read, Update, Delete with Atom <ul><li>HTTP defines the operations </li></ul><ul><ul><li>POST to create entries and specific resources </li></ul></ul><ul><ul><li>GET to read </li></ul></ul><ul><ul><ul><li>Service Documents </li></ul></ul></ul><ul><ul><ul><li>Collections </li></ul></ul></ul><ul><ul><ul><li>Specific resources </li></ul></ul></ul><ul><ul><li>PUT to update entries and specific resources </li></ul></ul><ul><ul><li>DELETE to delete entries and specific resources </li></ul></ul>
    25. 25. Create, Read, Update, Delete with Atom <ul><li>HTTP defines the operations </li></ul><ul><ul><li>POST to create entries and specific resources queue elements, records, rows, application objects,... </li></ul></ul><ul><ul><li>GET to read </li></ul></ul><ul><ul><ul><li>Service Documents </li></ul></ul></ul><ul><ul><ul><li>Collections of entries on a queue, records in a file, rows in a table, application defined objects, ... </li></ul></ul></ul><ul><ul><ul><li>Specific resources queue elements, records, rows, application objects,... </li></ul></ul></ul><ul><ul><li>PUT to update entries and specific resources queue elements, records, rows, application objects,... </li></ul></ul><ul><ul><li>DELETE to delete entries and specific resources queue elements, records, rows, application objects,... </li></ul></ul>
    26. 26. Coping with lots of data <ul><li>GET against a feed representing your customer database might return a very large number of entries! </li></ul><ul><li>Atom employs a simple, but powerful, paging scheme.... </li></ul><ul><ul><li><feed xmlns=&quot;;> </li></ul></ul><ul><ul><li><link rel=&quot;next&quot; href=&quot;; /> ! URI for the next page </li></ul></ul><ul><ul><li><link rel=&quot;previous&quot;href=&quot;; /> ! URI for the prev page </li></ul></ul><ul><ul><li>... </li></ul></ul><ul><ul><li><entry> ... </entry> </li></ul></ul><ul><ul><li><entry> ... </entry> </li></ul></ul><ul><ul><li>... </li></ul></ul><ul><ul><li></feed> </li></ul></ul><ul><li>Of course, the collection could be a subset defined by the URI </li></ul><ul><ul><ul><li> s=66666 </li></ul></ul></ul>
    27. 27. Outline <ul><li>What is Web 2.0 and what is a RESTful SOA? </li></ul><ul><li>Why is this relevant to CICS and CICS applications </li></ul><ul><li>How to use Atom to make CICS information available to more end-users </li></ul><ul><ul><li>How to use Atom to make CICS information available to more end-users </li></ul></ul>
    28. 28. CICS and Atom on Transaction Server V3 <ul><li>To get early exposure, a SupportPac (CA8K) ‏ </li></ul><ul><ul><li>Runs on CICS TS 3.1 and 3.2 </li></ul></ul><ul><ul><li>Category 2 </li></ul></ul><ul><ul><li>Released 20 th March 2008 </li></ul></ul><ul><ul><li>Prereqs: </li></ul></ul><ul><ul><ul><li>PTF UK34429 on CICS TS V3.1 or PTF UK34459 on CICS TS V3.2, for APAR PK58721 </li></ul></ul></ul><ul><ul><ul><li>PTF UA31443 on z/OS V1.7, for APAR OA16303, or a later release of z/OS </li></ul></ul></ul><ul><ul><li>See </li></ul></ul><ul><li>Peter Havercan gave a teleconference entitled &quot;Extending SOA and CICS with Web 2.0&quot; on 11 June 2008. This teleconference explained how, with SupportPac CA8K, you can use existing CICS Web support facilities to deliver Atom feeds containing data from CICS. </li></ul><ul><ul><li>To listen to the replay, go to </li></ul></ul>
    29. 29. Design for SupportPac CA8K <ul><li>The resource to be published is specified in an XML configuration file </li></ul><ul><li>Only a portion of the CICS resource needs to be exposed as an ATOM entry </li></ul><ul><ul><li>For example a single file record, or queue item, or a range of records or items </li></ul></ul><ul><li>The selection of the resource portion is identified by the URL querystring: </li></ul><ul><ul><ul><li> s=66666 </li></ul></ul></ul><ul><li>Any XML parsing exploits the z/OS XML System Services </li></ul>
    30. 30. Design for SupportPac CA8K (cont) ‏ PIPELINE: CONFIGFILE(/x/config/filea) ‏ <handler_parameter_list> <atomfeed xmlns=&quot;;> <atom:feed xmlns:atom=&quot;;> <atom:id></atom:id> <atom:title>My CICS feed</atom:title> <atom:link rel=“self” href=“/atom/cicsfile/filea”> <atom:entry> <atom:id></atom:id> <atom:title>Title for the entry</atom:title> </atom:entry> </atom:feed> </atomfeed> <cics_resource name=&quot;FILEA&quot; type=&quot;file&quot; key=&quot;NUMB&quot;> <layout>...</layout> </cics_resource> </handler_parameter_list> URIMAP: PATH(atom/*) ‏ USAGE(PIPELINE) ‏ TCPIPSERVICE: PROTOCOL(HTTP) ‏ IPADDRESS(nnn...) ‏
    31. 31. Mapping XML to resource data <ul><li>Data from Atom is character-based data imbedded within XML </li></ul><ul><li>Data in the CICS resource is in binary or packed-decimal form </li></ul><ul><li>Bi-directional conversion is needed </li></ul><ul><li>Similar to the problem that is already addressed in existing CICS Web Services support </li></ul>
    32. 32. Mapping XML to CICS resource binary data <ul><li>The CICS resource layout is described by a DFDL specification within the pipeline configuration file </li></ul><ul><li>DFDL (Data Format Description Language) ‏ </li></ul><ul><ul><li>Superset of XML schema language </li></ul></ul><ul><ul><li>Being specified by Open Grid Forum working group </li></ul></ul><ul><ul><li>See </li></ul></ul>
    33. 33. Example of DFDL specification <ul><li><xs:element name=&quot;sbyte&quot; type=&quot;xs:byte&quot; dfdl:length=&quot;1“ </li></ul><ul><li>/> </li></ul><ul><li><xs:element name=&quot;comment&quot; type=&quot;xs:string&quot; dfdl:length=&quot;16“ </li></ul><ul><li>/> </li></ul><ul><li><xs:element name=&quot;packnum&quot; type=&quot;xs:decimal&quot; dfdl:length=&quot;16&quot; </li></ul><ul><li>xs:fractionDigits=&quot;2&quot; </li></ul><ul><li>dfdl:decimalFormat=&quot;packed&quot; </li></ul><ul><li>dfdl:decimalSigned=&quot;false“ </li></ul><ul><li>/> </li></ul>
    34. 34. Implementing “Read for Update” <ul><li>READ for UPDATE cannot hold a lock over an HTTP GET/PUT sequence, so a “conditional PUT” has been implemented: </li></ul><ul><li>GET returns an HTTP Etag header </li></ul><ul><ul><li>Etag value uniquely identifies the response instance returned </li></ul></ul><ul><ul><li>In this implementation, it is a checksum value </li></ul></ul><ul><li>PUT request sends the same Etag value in an If-Match header </li></ul><ul><ul><li>If resource has changed, HTTP response 412 (Precondition failed) is returned, and update is not performed </li></ul></ul>
    35. 35. Requirement for D-type APAR <ul><li>Current PIPELINE support is SOAP oriented </li></ul><ul><ul><li>HTTP methods GET and DELETE diagnosed as errors </li></ul></ul><ul><ul><ul><li>Pipeline expects Content-Type header </li></ul></ul></ul><ul><ul><li>MEDIATYPE of HTTP response is assumed to be SOAP </li></ul></ul><ul><ul><ul><li>Needs new DFHMEDIATYPE container </li></ul></ul></ul><ul><ul><li>HTTP status code cannot be set within the handler application </li></ul></ul><ul><ul><ul><li>Needs new DFHHTTPSTATUS container </li></ul></ul></ul><ul><ul><li>Also need to recognize JavaScript and JSON mediatypes as text </li></ul></ul><ul><ul><ul><li>for correct codepage conversion </li></ul></ul></ul><ul><ul><li>Fixes for above will be available in CICS APAR PK58721 </li></ul></ul>
    36. 36. ATOM support in CICS TS 4.1 URIMAP PATH(atom/*) ‏ USAGE(ATOM) ‏ ATOMSERVICE ATOMTYPE(FEED) ‏ STATUS(ENABLED) ‏ RESOURCENAME(FILEA) ‏ RESOURCETYPE(FILE) ‏ BINDFILE CONFIGFILE XSDBIND file <cics:atomservice type=&quot;feed“ <cics:feed cics:window=&quot;window-size&quot;> <cics:resource name=“FILEA&quot; type=“FILE“/> . . . <atom:feed xmlns:atom=&quot;;> . . . . <atom:content cics:resource=&quot;cics-resource-name&quot; cics:type=&quot;cics-resource-type&quot;/> </atom:feed> </cics:atomservice>
    37. 37. AtomService CONFIGFILE <ul><li>Specify the CICS resource attributes of the feed </li></ul><ul><li><cics:atomservice type=“typevalue”> </li></ul><ul><ul><li>Root element for an Atom configuration file and the type of Atom document </li></ul></ul><ul><ul><ul><li>feed, collection, service, category </li></ul></ul></ul><ul><li>For feed documents: <cics:feed cics:window=&quot;window-size&quot;> </li></ul><ul><ul><ul><li>Specify the number of entries that CICS is to return in each feed document </li></ul></ul></ul><ul><ul><li><cics:resource> name=&quot;cics-resource-name&quot; type=&quot;cics-resource-type“> </li></ul></ul><ul><ul><ul><li>Specify name and type of CICS resource to be published </li></ul></ul></ul><ul><ul><ul><ul><li>tsqueue, file </li></ul></ul></ul></ul><ul><ul><ul><li>Or provide a program to create data from any source </li></ul></ul></ul><ul><ul><ul><ul><li>DB2, custom data store etc. </li></ul></ul></ul></ul><ul><ul><li><cics:fieldnames> </li></ul></ul><ul><ul><ul><li>Identify the CICS resource field names that provide items of metadata </li></ul></ul></ul>
    38. 38. AtomService BINDFILE <ul><li>CICS Utility DFHLS2SC </li></ul><ul><ul><li>Generates an XML schema and an XSD binding file from a language structure </li></ul></ul><ul><ul><li>XSD bind file will describe the record layout of the CICS resource used as a feed </li></ul></ul><ul><ul><ul><li>Maps the contents of the TS queue or File record etc. onto the Atom protocol XML. </li></ul></ul></ul>
    39. 39. Systems Programmer Interface for Atom Feeds <ul><li>CREATE ATOMSERVICE </li></ul><ul><li>DISCARD ATOMSERVICE </li></ul><ul><li>INQUIRE ATOMSERVICE </li></ul><ul><li>SET ATOMSERVICE </li></ul><ul><li>INQUIRE URIMAP </li></ul><ul><li>New CW2A Transaction ID </li></ul><ul><ul><li>Alias transaction for Atom feeds </li></ul></ul>
    40. 40. Summary and Lessons Learned <ul><li>We’ve seen: </li></ul><ul><ul><li>What is Web 2.0 and What is a RESTful SOA? </li></ul></ul><ul><ul><li>Extending the Reach of SOA with IBM Products and a RESTful SOA </li></ul></ul><ul><ul><ul><li>WebSphere App Server, WebSphere sMash, WebSphere MQ, WebSphere Commerce, DataPower,… </li></ul></ul></ul><ul><ul><li>How CICS is enabling your existing enterprise data and applications to participate in this TODAY! </li></ul></ul><ul><li>Principles for a RESTful SOA </li></ul><ul><ul><li>Unleash everything </li></ul></ul><ul><ul><li>Design with REST in mind first </li></ul></ul><ul><ul><li>Complements Enterprise SOA </li></ul></ul><ul><ul><li>Take advantage of your business communities </li></ul></ul>
    41. 41. References <ul><li>ATOM </li></ul><ul><ul><li> </li></ul></ul><ul><li>REST </li></ul><ul><ul><li> </li></ul></ul><ul><li>CICS Supportpac CA8K </li></ul><ul><ul><li> </li></ul></ul><ul><li>Tagging </li></ul><ul><ul><li> </li></ul></ul><ul><li>ProjectZero </li></ul><ul><ul><li> </li></ul></ul><ul><li>Google's Gdata </li></ul><ul><ul><li> </li></ul></ul><ul><li>Lotus Connections and Atom </li></ul><ul><ul><li> </li></ul></ul>
    42. 42. CICS news delivered to your Inbox <ul><li>Find out what’s on the mind of other CICS users, industry analysts and CICS decision makers </li></ul><ul><li>Learn about the latest CICS innovations and releases </li></ul><ul><li>Get information about up to date CICS training opportunities and events </li></ul><ul><li>Grab the CICS papers hot off the press </li></ul><ul><li>Feedback directly to CICS people </li></ul><ul><li>… for all these and more, join the growing list of people who subscribe to </li></ul><ul><li> cics/enews </li></ul>