Seriously? JSON parsing and HTTP services in native z/OS? Absolutely!

Seriously? JSON parsing and HTTP services

in native z/OS? Absolutely!

Steve Warren

z/OS Client Web Enablement Toolkit Technical Lead IBM

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or in part without the prior written permission of IBM.

Trademarks

The following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.

Not all common law marks used by IBM are listed on this page. Failure of a mark to appear does not mean that IBM does not use the mark nor does it mean that the product is not actively marketed or is not significant within its relevant market. Those trademarks followed by ? are registered trademarks of IBM in the United States; all others are trademarks or common law marks of IBM in the United States.

For a complete list of IBM Trademarks, see legal/copytrade.shtml:

*, AS/400?, e business(logo)?, DBE, ESCO, eServer, FICON, IBM?, IBM (logo)?, iSeries?, MVS, OS/390?, pSeries?, RS/6000?, S/30, VM/ESA?, VSE/ESA, WebSphere?, xSeries?, z/OS?, zSeries?, z/VM?, System i, System i5, System p, System p5, System x, System z, System z9?, BladeCenter?

The following are trademarks or registered trademarks of other companies.

Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States, and/or other countries. BMC Mainview AutoOPERATOR is a trademark of the BMC Software Corporation CA Ops/MVS is a trademark of the CA Technologies corporation. Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both. Intel, Intel logo, Intel Inside, Intel Inside logo, Intel Centrino, Intel Centrino logo, Celeron, Intel Xeon, Intel SpeedStep, Itanium, and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. UNIX is a registered trademark of The Open Group in the United States and other countries. Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. ITIL is a registered trademark, and a registered community trademark of the Office of Government Commerce, and is registered in the U.S. Patent and Trademark Office. IT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency, which is now part of the Office of Government Commerce. zCostManagement is a trademark of the zCostManagement Corporation. zPrice Manager is a trademark of the zIT Consulting Corporation

* All other products may be trademarks or registered trademarks of their respective companies. Notes: Performance is in Internal Throughput Rate (ITR) ratio based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput that any user will experience will vary depending upon considerations such as the amount of multiprogramming in the user's 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 throughput improvements equivalent to the performance ratios stated here. IBM hardware products are manufactured from new parts, or new and serviceable used parts. Regardless, our warranty terms apply. All customer examples cited or described in this presentation are presented as illustrations of the manner in which some customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics will vary depending on individual customer configurations and conditions. This publication was produced in the United States. IBM may not offer the products, services or features discussed in this document in other countries, and the information may be subject to change without notice. Consult your local IBM business contact for information on the product or services available in your area. All statements regarding IBM's future direction and intent are subject to change or withdrawal without notice, and represent goals and objectives only. Information about non-IBM products is obtained from the manufacturers of those products or their published announcements. IBM has not tested those products and cannot confirm the performance, compatibility, or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. Prices subject to change without notice. Contact your IBM representative or Business Partner for the most current pricing in your geography.

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

2

in part without the prior written permission of IBM.

Agenda

? Web applications (quick overview)

? What and why of JSON? ? What is REST? ? What is missing on z/OS?

? Introduction to the toolkit ? z/OS JSON Parser details

? Usage

? z/OS HTTP/HTTPS protocol enabler details

? Usage ? Problem determination

? Reference material

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

3

in part without the prior written permission of IBM.

Web applications (JSON, HTTP and REST)

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

4

in part without the prior written permission of IBM.

Moving Beyond the Browser

Businesses Are Evolving

stores

(800) ###s

web sites

Web APIs are the new, fast-growing business channel

Not having an API today is like not having a Web Site in the 90s

""$$77bbn nwowrthorotfhiteomfsioten meBsayothnroeugBhaAyPItsh"rough APIs"

MMaarkrkCaCrgaersg(eEsba(yECbTaOy) CTO)

The API which has easily 10 times more traffic then the website, has been really very important to us."

Biz Stone (Co-founder, Twitter)

""TThheeaaddopotpiotnioonf Aomf Aazmoan'zsoWn'esbWseervbicsees risviccuersreinstlycurrently driving more network darcivtiinvgitymtohreenneetwveorrkytahcitnivgityAtmheanzeovnerdytoheinsg tAhmroauzgonh their traditional web sites."

dJeofef sBathr r(oAumgahzothneeirvatrnagdeiltiisot)na/ Dl wioenbHsinitcehsc.l"iffe (Journalist)

Jeff Bar (Amazon evangelist) / Dion Hinchcliffe (Journalist)

Web 1994 was the "get me a domain and a page" era. Web 2000 was the "make my page(s) interactive and put people on it" era. Web 2010 is the "get rid of pages and glue APIs and people together" era.

Robert Scoble (Author of tech blog Scobleizer)

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

5

in part without the prior written permission of IBM.

Growth in Publically Published Web APIs

16000 14000 12000 10000

8000 6000

Public WebAPIs Available

14037 12534

10302 8226

5018

WebAPIs

4000

2000 1

0

2418 299 593 865 1546

2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015

Source: Programmable Web (some intermediate numbers extrapolated)

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

6

in part without the prior written permission of IBM.

JSON : The Exchange Notation For Mobile Devices

JSON Sample {"name" : "Adele", "breed": "Poodle", "dob": 2011-05-01}

Client JavaScript

Web API

Protocol HTTP (REST)

JSON JSON

JSON

JSON standardized as part of ECMAScript in December 1999 JSON has reached all tiers

Middle Tier

Relational Store

XML /JSON Store / Persistence layer

? With the increased popularity of Web APIs (literally thousands of Web APIs) and the use of Mobile Devices

? User Interfaces usually have a JavaScript component

? JSON is the data structure for JavaScript

? JSON is integrated with JavaScript and Java and other languages (through libraries)

? The JSON trend is developer driven and is reaching all tiers (UI, Middle Tier, Data Tier)

Aspects of JSON:

No namespaces

No schemas

No mixed content support Mixed content example: hello Adelehow are you

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

7

in part without the prior written permission of IBM.

JSON Penetration: Web API Trend Towards JSON

? "As more and more Web and mobile applications utilize APIs to drive their respective front ends, performance becomes an emerging concern. XML, long used as a method for exchanging data, is giving way to JSON, now considered the gold standard. " Programmable Web 2013

? "JSON's simplicity has made it a favored data exchange format" ? Mashery 2014

? "In general, JSON wins the battle on brevity which is why many web applications are using JSON for RESTful data transfer." ? GCN 2014

zExchange presentation, October 20 and 22

? Copyright IBM Corporation 2015. Materials may not be reproduced in whole or

8

in part without the prior written permission of IBM.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download