Mobile access to the existing z/vse application

Similar documents
z/vse Connectors Update

IBM Client Center z/vm 6.2 Single System Image (SSI) & Life Guest Relocation (LGR) DEMO

IBM z Systems z/vse VM Workshop z/vse Connectors Introduction, Use Cases, and News. Ingo Franzki IBM Corporation

IBM Z z/vse VM Workshop z/vse Connectors. with focus on CICS Connectivity and Web Services. Ingo Franzki IBM Corporation

z/vm 6.3 Installation or Migration or Upgrade Hands-on Lab Sessions

z/vse 5.2 Tapeless Initial Installation

z/vm 6.3 A Quick Introduction

CSI TCP/IP for VSE Update

IBM z Systems z/vse VM Workshop z/vse Wellness. How to keep your z/vse in good shape. Ingo Franzki, IBM IBM Corporation

IBM Mainframe Life Cycle History

Running Docker applications on Linux on the Mainframe

z/os Data Set Encryption In the context of pervasive encryption IBM z systems IBM Corporation

z/osmf 2.1 User experience Session: 15122

zmanager: Platform Performance Manager Hiren Shah IBM March 14,

IBM Application Runtime Expert for i

z/vm Data Collection for zpcr and zcp3000 Collecting the Right Input Data for a zcp3000 Capacity Planning Model

IBM Multi-Factor Authentication in a Linux on IBM Z environment - Example with z/os MFA infrastructure

zpcr Capacity Sizing Lab

Run vsphere in a box on your laptop, to learn, demonstrate, and test vcenter, ESX4/ESXi4, VMotion, HA, and DRS.

Greg Daynes z/os Software Deployment

Encryption Update on z/vse

Behind the Glitz - Is Life Better on Another Database Platform?

z/osmf 2.1 Advanced Programming

Active Energy Manager. Image Management. TPMfOSD BOFM. Automation Status Virtualization Discovery

z/vse Latest News Ingolf Salm -

Oracle PeopleSoft Applications for IBM z Systems

Advanced Technical Skills (ATS) North America. John Burg Brad Snyder Materials created by John Fitch and Jim Shaw IBM Washington Systems Center

VIOS NextGen: Server & Storage Integration

HiperSockets for System z Newest Functions

z/vse VSAM Enhancements

z/vse CMT and SCRT Update

Getting Started with z/osmf Resource Monitoring

V6R1 System i Navigator: What s New

z/vm Live Guest Relocation - Planning and Use

Setting up DB2 data sharing the easy way

Oracle Solutions for IBM z Systems

ZVM20: z/vm PAV and HyperPAV Support

IBM Lifecycle Extension for z/os V1.8 FAQ

Java on z13 A Performance Update

IBM z/os Early Support Program (ESP)

VSE/VSAM Fundamentals, Hints &Tips and Best Practices

Framework for Doing Capacity Sizing on System z Processors

IBM Systems Director Active Energy Manager 4.3

Server for IBM i. Dawn May Presentation created by Tim Rowe, 2008 IBM Corporation

WAVV 2005 Colorado Springs, CO. Connecting VSE to the World. Page 1. Trademarks. Agenda. Copyright 2005 illustro Systems International, LLC

z/vm Live Guest Relocation Planning and Use

Mary Komor Development Tools Subcommittee

z/vm Evaluation Edition

SHARE in Pittsburgh Session 15801

Managing your Red Hat Enterprise Linux Guests With RHN Satellite Session ID: 9204

CPU MF Counters Enablement Webinar

Overview of cryptography and enhancements on z/vse 4.3

Setting up IBM zaware Step by Step

64 bit virtual in z/vse V5.1

z/vm Paging with SSD and Flash- Type Disk Devices

zpcr Capacity Sizing Lab

Scalability and stability of libvirt: Experiences with very large hosts

A Pragmatic Path to Compliance. Jaffa Law

The Basics of Using z/vm

Enterprise Workload Manager Overview and Implementation

Release Notes. IBM Tivoli Identity Manager Rational ClearQuest Adapter for TDI 7.0. Version First Edition (January 15, 2011)

Open Source on IBM I Announce Materials

zpcr Capacity Sizing Lab

Framework for Doing Capacity Sizing for System z Processors

Lab Exercise: z/osmf Incident Log Session ID: Part of 15814, 15815, and 15604

The Art of the Possible Linux Workload Consolidation on System z Increasing Operational Efficiencies and Driving Cost Savings

IBM System z Live Virtual Class. z/vse Connectors Update. Ingo Franzki, IBM IBM Corporation

z/vm Single System Image and Guest Mobility Preview

Managing LDAP Workloads via Tivoli Directory Services and z/os WLM IBM. Kathy Walsh IBM. Version Date: July 18, 2012

z/vse Live Virtual Class 2013

IBM System Storage DS8870 Release R7.3 Performance Update

IBM Tivoli Directory Server for z/os. Saheem Granados, CISSP IBM Monday, August 6,

KVM on s390: The good, the bad and the weird

Running KVM for Dynamic Infrastructure Creation

Red Hat Update for IBM System z

What's New in BCPii in z/os 2.1? Full REXX Support and Faster Data Retrieval Steve Warren

IBM System Storage IBM :

Computing as a Service

Release Notes. IBM Security Identity Manager GroupWise Adapter. Version First Edition (September 13, 2013)

z/vse Live Virtual Class 2013

9387: Setting up DB2 data sharing the easy way

ZVM17: z/vm Device Support Overview

IBM Blockchain IBM Blockchain Developing Applications Workshop - Node-Red Integration

Using WebSphere Application Server Optimized Local Adapters (WOLA) to Integrate COBOL and zaap-able Java

Linux on z Systems Distribution Validation for z13

zpcr Capacity Sizing Lab

DFSMS Basics: Just How Does DFSMS System Managed Storage (SMS) Select Volumes?

Requirements Supplement

zpcr Capacity Sizing Lab

Lawson M3 7.1 Large User Scaling on System i

IBM i Version 7.2. Systems management Logical partitions IBM

IBM i Upgrade V6R1 Planning

Kdump on the Mainframe

Installing WDI v3.3 on z/os

TPF Users Group - Fall 2009 TPF Toolkit Updates

IBM zenterprise Unified Resource Manager Overview

IBM Security Access Manager for Versions 9.0.2, IBM Security App Exchange Installer for ISAM

Infor M3 on IBM POWER7+ and using Solid State Drives

IBM. Avoiding Inventory Synchronization Issues With UBA Technical Note

Release Notes. IBM Tivoli Identity Manager Universal Provisioning Adapter. Version First Edition (June 14, 2010)

Transcription:

z/vse Live Virtual Class 2015 Mobile access to the existing z/vse application Alina Glodowski http://www.ibm.com/zvse http://twitter.com/ibmzvse 2015 IBM Corporation

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 www.ibm.com/legal/copytrade.shtml: *, AS/400, e business(logo), DBE, ESCO, e, FICON, IBM, IBM (logo), iseries, MVS, OS/390, pseries, RS/6000, S/30, VM/ESA, VSE/ESA, z/vse, 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. Cell Broadband Engine is a trademark of Sony Computer Entertainment, Inc. in the United States, other countries, or both and is used under license therefrom. 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. * 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. 2

Notice Regarding Specialty Engines (e.g., ziips, zaaps and IFLs): Any information contained in this document regarding Specialty Engines ("SEs") and SE eligible workloads provides only general descriptions of the types and portions of workloads that are eligible for execution on Specialty Engines (e.g., ziips, zaaps, and IFLs). IBM authorizes customers to use IBM SE only to execute the processing of Eligible Workloads of specific Programs expressly authorized by IBM as specified in the Authorized Use Table for IBM Machines provided at www.ibm.com/systems/support/machine_warranties/machine_code/aut.html ( AUT ). No other workload processing is authorized for execution on an SE. IBM offers SEs at a lower price than General Processors/Central Processors because customers are authorized to use SEs only to process certain types and/or amounts of workloads as specified by IBM in the AUT. 3 3

Agenda Introduction IBM MobileFirst z/vse Connectors How to use z/vse Web Services in a Mobile App MobileFirst Project MobileFirst Adapter Mobile Application How to use z/vse Connectors in a Mobile App Use Java in MobileFirst Adapter MobileFirst Adapter Mobile Application 4

IBM MobileFirst Foundation Device Runtime MobileFirst Studio MobileFirst Console MobileFirst MobileFirst Application Center 5

MobileFirst Platform Studio MobileFirst Studio is an Eclipse plug-in that supports the development of rich, mobile web, native, and hybrid apps. It contains an embedded version of MobileFirst. You use MobileFirst Studio to: Create and modify applications Deploy applications to the embedded MobileFirst Preview and manage applications by using MobileFirst Console Create custom server-side Java code that can be used by MobileFirst adapters Create and modify MobileFirst adapters Deploy MobileFirst adapters to the embedded MobileFirst Test MobileFirst adapter procedures 6

Multi-tier mobile applications Linux on z z/vse Client Tier Devices Middle Tier Back-end Data & Services Mobile-specific challenges: Lots of device targets Provisioning rules and artifacts Curated App Stores Dependent upon backend service versions The Mobile-specific challenges are mainly: 1. Dealing with the specific issues in the Mobile Client tier 2. And subsequently coordinating separate pipelines for each tier: Mobile Client Middleware Back-end data and services 7

z/vse Connectors overview VSE Script VSE Navigator Maptool VSE Health Checker VSE Connector Client VSAM / JDBC Java TCP/IP VSE Connector VSAM LIBR POWER Console DL/I ICCF DB2 VSAM Redirector TCP/IP VSAM Redirector Client VSE Print TCP/IP Auto FTP POWER TCP/IP Config Tool TCP/IP Auto email Auto LPR POWER Keyman VSE TCP/IP TCP/IP for VSE Virtual Tape TCP/IP Virtual Tape CICS Transaction Gateway Web Service TCP/IP + SNA TCP/IP (SOAP) CICS Web Support Web Service CICS Transaction Oracle MS SQL DB2 JDBC DB2 Connect WebSphere MQ DBCLI TCP/IP (DRDA) TCP/IP TCP/IP DB2 MQ DBCLI API DB2 DL/I VSAM 8

z/vse and MobileFirst To start mobile development with z/vse, you need to have the following applications: The IBM MobileFirst Platform Developer Edition The z/vse Connector Client The z/vse Connector (part of VSE/ESA 2.5 and later releases) 9

Web Services in z/vse XML Parser SOAP Decoder (IESSOAPD) User Program (SOAP aware) Proxy code (generated) CICS Web Support SOAP (IESSOAPS) urn:iessoapd:myproxy User Program (COMMAREA) urn:iesoasrv:rules SOAP Extension (IESOASRV) Mapping Rules (generated) xpath 10

Existing z/vse application 03 FSTIO-MAP. 05 ACTION PIC 9(8) COMP. 05 RETURN-CODE PIC 9(8) COMP. 05 FILE-NAME PIC X(8). 05 STORE-ID PIC X(6). 05 STORE-NAME PIC X(25). 05 LOC-STREET PIC X(25). 05 LOC-CITY PIC X(25). 05 LOC-ZIP PIC X(10). 05 LOC-COUNTRY PIC X(25). 05 LOC-REP PIC X(20). 05 VAL1 PIC 9(8) COMP. 05 VAL2 PIC 9(8) COMP. 05 DATE PIC X(10). 05 WEB-PIC1 PIC X(20). 05 WEB-PIC2 PIC X(20). 05 A-CODE PIC X(10). 05 FILLER PIC X(6). 11

z/vse MobileFirst Mobile Client Web Services for mobile Mobile Application Adapter Web Service Web Service CICS Transaction 12

z/vse MobileFirst Mobile Client Web Services for mobile Mobile Application Adapter Web Service Create a project Create an adapter SOAP adapter Pure HTTP adapter Web Service CICS Transaction 13

z/vse MobileFirst Mobile Client Web Services for mobile Mobile Application Adapter Web Service Create a project Create an adapter SOAP adapter Pure HTTP adapter Web Service CICS Transaction 14

z/vse MobileFirst Mobile Client Web Services: create adapter Mobile Application 1. <your project name> services "Discover Back end " Adapter Web Service Web Service CICS Transaction 2. <your project name> adapters New MobileFirst Adapter MobileFirst will automatically create a simple adapter for you. You need to change files: <your project name> adapters <your adapter name>.xml <your project name> adapters <your adapter name>-impl.xml 15

Web Services: test adapter <your adapter name> Run As Invoke MobileFirst Procedure 16

z/vse MobileFirst Mobile Client Web Services: create mobile application Mobile Application User Interface <your project name> apps <your app name> common index.html Adapter Web Service Logic <your project name> apps <your app name> common js main.js Web Service CICS Transaction 17

Web Services: test and debug <your mobile app name> Run As Run on MobileFirst Development <your mobile app name> Run As Preview 18

z/vse Connectors for mobile Skeleton in lib 59: SKVSSAMP 19

z/vse MobileFirst Mobile Client Using Java in MobileFirst adapters Mobile Application Adapter Java Code VSE Connector Client VSE Connector VSAM DL/I LIBR ICCF POWER Console 20

z/vse MobileFirst Mobile Client Using Java in MobileFirst adapters VSE Connector Mobile Application Adapter Java Code VSE Connector Client VSAM LIBR POWER Console DL/I ICCF 1. Create a project 2. Add VSEConnector.jar, cci.jar, ibmjsse.jar, ibmpkcs.jar to your mobile project: copy these libraries to <your project name> server lib 3. Your java source code for adapter will be located under <your project name> server java 21

z/vse MobileFirst Mobile Client Using Java in MobileFirst adapters VSE Connector Mobile Application Adapter Java Code VSE Connector Client VSAM LIBR POWER Console DL/I ICCF 1. Create a project 2. Add VSEConnector.jar, cci.jar, ibmjsse.jar, ibmpkcs.jar to your mobile project: copy these libraries to <your project name> server lib 3. Your java source code for adapter will be located under <your project name> server java 22

z/vse MobileFirst Mobile Client z/vse Connectors: server Java code Mobile Application Adapter Java Code VSE Connector Client <connector client folder> samples com ibm vse samples VsamDisplayExample.java <project> server java new Class... Main java file is called skvssampjava.java with the predefined package com.ibm.zvse.adapter addnewcar( ), changecar( ), deletecar( ), getinfo() VSE Connector VSAM DL/I LIBR ICCF POWER Console Code sample: ftp://public.dhe.ibm.com/eserver/zseries/zos/vse/ download/skvssampprj.zip 23

z/vse MobileFirst Mobile Client z/vse Connectors: create adapter Mobile Application Adapter Java Code Create a HTTP adapter <your adapter name>.xml change connetivity <your adapter name>-impl.js change logic VSE Connector Client VSE Connector VSAM LIBR POWER Console DL/I ICCF function getinfo() { var ccinstance = new com.ibm.zvse.adapter.skvssampjava(); return { result: ccinstance.getinfo( ) }; } 24

z/vse Connectors: test adapter <your adapter name> Run As Invoke MobileFirst Procedure 25

z/vse MobileFirst Mobile Client z/vse Connectors: create mobile application Mobile Application Adapter UI : <your project name> apps <your app name> common index.html Logic : <your project name> apps <your app name> common js main.js Java Code function getinfo( ){ // call adapter with predefined procedure VSE Connector Client var invocationdata = { adapter : 'connectorsadapter', procedure : 'getinfo', VSE Connector VSAM LIBR POWER Console DL/I ICCF parameters : [] }; WL.Client.invokeProcedure(invocationData,{ onsuccess : showresultsuccess, onfailure : showresultfailure } }); 26

z/vse Connectors: create mobile application (cont) function showresultsuccess(result) arr = JSON.parse(result.invocationResult.result) arr.list[i].manufacturer.model etc 27

z/vse Connectors: test and debug <your mobile app name> Run As Run on MobileFirst Development <your mobile app name> Run As Preview 28

Add MobileFirst environment <your mobile app name> New MobileFirst Environment 29

Running app in MobileFirst Environments 30

Interested in mobile with z/vse and z Systems? Next steps Boeblingen Client Center is European Center of Competence (CoC) for Mobile Request a Briefing, Demo or workshop Industry independent Read our Point-of-View paper. Read the Mobile Solution Guide System z Mobile home page Customer case studies Analyst reports Customer Videos Contact us: zvse@de.ibm.com tmcc@de.ibm.com 31

Resources MobileFirst Foundation http://www-03.ibm.com/software/products/en/mobilefirstfoundation MobileFirst Platform https://developer.ibm.com/mobilefirstplatform/ z/vse Connectors Tools http://www-03.ibm.com/systems/z/os/zvse/downloads/index.html How to use Web Services with z/vse ftp://public.dhe.ibm.com/eserver/zseries/zos/vse/pdf3/howtousewebserviceswithzvse.pdf Getting started with Mobile Development for z/vse ftp://public.dhe.ibm.com/eserver/zseries/zos/vse/download/gettingstartedwithmobiledevelopmentforvse.pdf Samples source code ftp://public.dhe.ibm.com/eserver/zseries/zos/vse/download/skvssampprj.zip IBM white paper: An overview of IBM MobileFirst Platform http://public.dhe.ibm.com/common/ssi/ecm/en/wsw14181usen/wsw14181usen.pdf IBM white paper: Native, web or hybrid mobile-app development ftp://public.dhe.ibm.com/software/pdf/mobileenterprise/wsw14182usen.pdf IBM MobileFirst Strategy Software Approach http://www.redbooks.ibm.com/redbooks/pdfs/sg248191.pdf User interface design for the mobile web http://www.ibm.com/developerworks/web/library/wainterface/index.html 32

Thank You Please forward your questions or remarks to zvse@de.ibm.com Alina.Glodowski@de.ibm.com 33

z/vse Live Virtual Classes z/vse LINUX + z/vm + z/vse @ http://www.ibm.com/zvse/education/ @ http://www.vm.ibm.com/education/lvc/ Read about upcoming LVCs on @ http://twitter.com/ibmzvse Join the LVC distribution list by sending a short mail to zvse@de.ibm.com 34