SlideShare ist ein Scribd-Unternehmen logo
1 von 38
© 2014 IBM Corporation
Interfaces Using JSPs,
Servlets, & PHP with CICS
Transaction Server V5
Fraser Bohm – IBM STSM, CICS TS
Lead Architect
Please Note
IBM’s statements regarding its plans, directions, and intent are subject to change
or withdrawal without notice at IBM’s 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 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 results
similar to those stated here.
3 © 2012 IBM Corporation
Agenda

The CICS Java Web Container based on WAS Liberty
technology

What is a Hybrid Application anyway and why would I want
one?

Options for Hybrid Applications and when to use them

Nought to Web App
4 © 2012 IBM Corporation
Introduction to the JVM Server & CICS use of the Liberty Profile
5
JVM Server Architecture
CICS TS V4
JVM
LE enclave
CICS
Task PThread
JVM
thread
CICS
Task PThread
JVM
thread
CICS
Task PThread
JVM
thread
Can attach multiple
pthreads/CICS
tasks to the JVM at
the same time
Therefore serve
more requests
using a single JVM
Result is increased
tasks per region –
up to 256 programs
simultaneously on
T8 TCBs
For 3rd
party JVM
technology (CICS
TS V4.1)
and user programs
(CICS TS V4.2)
Heap &
Classes
An alternative to pooled JVMs, not a replacement (yet)
JCICS
API
JVM
thread
JVM
thread
JVM
thread
JVM
thread
7 © 2012 IBM Corporation
Configuration by Exception
 This is the entire configuration needed to run Liberty as a Web-container
with Servlet support.
Convergence
Of features, fix packs and timing
10 © 2012 IBM Corporation
What is a Hybrid Application anyway and why would I want one?
Liberty in CICS – a Hybrid Runtime
What do you see, CICS or
Liberty?
...It's all a matter of
perspective
05/22/1412 © 2012 IBM Corporation
Hybrid Threads
JVM
task
T8 TCB
Worker thread
attach
change-mode
attachCurrentThread
LE enclave
CICS
Task
Same Task Context
JDBC
Link to COBOL
Etc.
Liberty – Web Feature
(CICS)ExecutorService.execute
(Runnable)
HttpListener
Thread Dispatcher
(task generator)
XMATURIMAP
13 © 2012 IBM Corporation
 Each 'Invocation' (think Servlet Request) on a Hybrid Thread is also a CICS
Transaction (Has a Tranid, Task Context etc).
 This gives you
–A single common Transaction (UOW) and CICS Managed JDBC
• Which can cross between Java and Cobol
–Full JCICS API Access
• In particular, LINK and access to VSAM
–WLM (CICS WLM, Performance Classes etc).
–Monitoring / Statistics
–CICS Transaction Tracking / Association Data
Benefits of Hybrid Threads
14 © 2012 IBM Corporation
Options for Hybrid Applications and when to use them
Presentation
Complex
Services
Simple
As CICS has got smarter, the
level of complexity has
increased.
CICS TS V5 will continue to
deliver more advanced
capabilities.
Hybrid Applications can
both be about presentation
logic and services, as well
as Java or PHP
When to use what and customer use cases
a vision for an easier to use application server
15
Presentation
Servlet
JAX-RSJAX-WS
Dynamic Scripting
JSP
JSF
CICS Dynamic Scripting
Java EE /
CICS
Traditional Liberty CICS Dynamic Scripting
StrategicValue,Cost,Complexity,Usage
Number of applications
Time to value is more
important than
enduring value
Strategic, long-
lived applications
Enterprise
Applications
Team/Project
Applications Personal
Applications
Creating reports, dashboards and widgets
Quickly front ending existing applications
Exposing CICS assets in mash-ups
Creating productivity applications
Quickly trying out new business ideas
Introducing new IT staff to CICS via PHP
Developing without a dedicated budget
Porting existing unmanaged PHP into CICS
Departmental
Applications
Can be used to develop and deploy lightweight, ‘fit for
purpose’, situational applications that meet departmental,
team, project and personal requirements, e.g.:
Structure of CICS Dynamic Scripting 2.0
JVM
CICS Transaction Server
HTTP
Request
HTTP
Response
Liberty Server CICS
Assets
JCICS
API
PHPServlet PHPWrapper
PHP
P8 Engine
Ext1 Ext2 Ext3 Extn
Web Container
DS FP V2.0 OSGI BundleApp1
App2
App3
App4
JVM
PHP In Action
PHP code in Sample
<?php
java_import("com.ibm.cics.server.Region");
echo "Your CICS Dynamic Scripting Example (PHP) is now running in CICS Region
" . Region::getAPPLID() . ".";
?>
19 © 2012 IBM Corporation
Nought to Web-App
20 © 2012 IBM Corporation
1) Create a JVM server resource in Explorer, CEDA, or CPSM.
21 © 2012 IBM Corporation
2) Configure the JVMProfile
- Copy the sample DFHWLP
- Check JAVA_HOME is correct.
- Ensure Auto Configure option is set to true for first time
- Point your JVM server definition at the new JVMProfile
22 © 2012 IBM Corporation
3) Enable the JVM server
23 © 2012 IBM Corporation
4) Liberty is running! (check the logs).
Server defaultServer created.
Launching defaultServer (wlp-1.0.0.20120428-1251/websphere-kernel_1.0.0) on IBM J9 VM, version pmz6470sr1-
20120302_01 (SR1) (en_US)
[AUDIT ] CWWKE0001I: The server defaultServer has been launched.
[AUDIT ] CWWKG0028A: Processing included configuration resource:
file:/u/ivanh/IYK3ZIH1/LIBERTY1/wlp/usr/servers/defaultServer/installedApps.xml
[AUDIT ] CWWKG0028A: Processing included configuration resource:
file:/u/ivanh/IYK3ZIH1/LIBERTY1/wlp/usr/servers/defaultServer/cicsSecurity.xml
[AUDIT ] CWWKZ0058I: Monitoring dropins for applications.
[AUDIT ] CWWKF0011I: The server defaultServer is ready to run a smarter planet.
24 © 2012 IBM Corporation
5) Install Eclipse 3.6.2 - preferably JEE version, but Classic will suffice.
http://www.eclipse.org/downloads/packages/release/helios/sr2
25 © 2012 IBM Corporation
6) Install IBM CICS SDK for WebSphere Application Server Liberty profile v5.1
26 © 2012 IBM Corporation
7) Create a Dynamic Web Project, or choose one of the Examples
27 © 2012 IBM Corporation
8) Export the CICS bundle project
28 © 2012 IBM Corporation
9) Pick a zFS location for the CICS bundle project
29 © 2012 IBM Corporation
10) Create a CICS bundle definition to control the life-cycle of the Application
30 © 2012 IBM Corporation
11) Install the CICS bundle definition
31 © 2012 IBM Corporation
12) Run the application!
[AUDIT ] CWWKT0016I: Web application available (default_host):
http://winmvs2c.hursley.ibm.com:27245/com.ibm.cics.server.example.wlp.tsq.web/
32 © 2012 IBM Corporation
zFS
zOS
App
App
App
CICS
Liberty
JVM server
Deploy
Eclipse with Liberty Tools
Use
CICS
Resources
Enable
Putting it all together
33 © 2012 IBM Corporation
Summary and Future
34 © 2012 IBM Corporation
Summary of Key Benefits
Local. Lightweight. Fast. Web Applications run
locally in CICS with direct access to CICS data and
resources. No adapters, no converters, same address
space.
Standard tools for developers. Familiar, industry
standard tools with Eclipse and Dynamic Web Projects.
CICS Explorer SDK enhances the deployment
experience.
Portable. Presentation logic in Servlets, business logic
in OSGi bundles. Servlets are portable across runtimes.
Bundles provide componentization.
Modular design. Architected in a modular way using
OSGi, the server only enables and starts the features
required by the applications and configuration. If
you're not using a feature, it won't start in your server
runtime
Dynamic runtime. Features can be added to the
server dynamically, using the OSGi framework, while
the server is running, with zero downtime and server
restarts. Similarly server and application config can be
updated without the need to restart.
Eclipse based tools. The eclipse tools for the Liberty
Profile are small and very well integrated with the
Liberty Profile environment
Questions?
We Value Your Feedback
Don’t forget to submit your Impact session and speaker
feedback! Your feedback is very important to us – we use it to
continually improve the conference.
Use the Conference Mobile App or the online Agenda Builder to
quickly submit your survey
• Navigate to “Surveys” to see a view of surveys for sessions
you’ve attended
36
Thank You
Legal Disclaimer
• © IBM Corporation 2014. All Rights Reserved.
• The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained
in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are
subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing
contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and
conditions of the applicable license agreement governing the use of IBM software.
• References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or
capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to
future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you
will result in any specific sales, revenue growth or other results.
• If the text contains performance statistics or references to benchmarks, insert the following language; otherwise delete:
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 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 results similar to those stated here.
• If the text includes any customer examples, please confirm we have prior written approval from such customer and insert the following language; otherwise delete:
All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs
and performance characteristics may vary by customer.
• Please review text for proper trademark attribution of IBM products. At first use, each product name must be the full name and include appropriate trademark symbols (e.g., IBM
Lotus® Sametime® Unyte™). Subsequent references can drop “IBM” but should include the proper branding (e.g., Lotus Sametime Gateway, or WebSphere Application Server).
Please refer to http://www.ibm.com/legal/copytrade.shtml for guidance on which trademarks require the ® or ™ symbol. Do not use abbreviations for IBM product names in your
presentation. All product names must be used as adjectives rather than nouns. Please list all of the trademarks that you use in your presentation as follows; delete any not included in
your presentation. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International
Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both.
• If you reference Adobe® in the text, please mark the first use and include the following; otherwise delete:
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.
• If you reference Java™ in the text, please mark the first use and include the following; otherwise delete:
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
• If you reference Microsoft® and/or Windows® in the text, please mark the first use and include the following, as applicable; otherwise delete:
Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both.
• If you reference Intel® and/or any of the following Intel products in the text, please mark the first use and include those that you use as follows; otherwise delete:
Intel, Intel Centrino, 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.
• If you reference UNIX® in the text, please mark the first use and include the following; otherwise delete:
UNIX is a registered trademark of The Open Group in the United States and other countries.
• If you reference Linux® in your presentation, please mark the first use and include the following; otherwise delete:
Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of
others.
• If the text/graphics include screenshots, no actual IBM employee names may be used (even your own), if your screenshots include fictitious company names (e.g., Renovations, Zeta
Bank, Acme) please update and insert the following; otherwise delete: All references to [insert fictitious company name] refer to a fictitious company and are used for illustration
purposes only.

Weitere ähnliche Inhalte

Was ist angesagt?

Dynacache in WebSphere Portal Server
Dynacache in WebSphere Portal ServerDynacache in WebSphere Portal Server
Dynacache in WebSphere Portal Server
Rohit Kelapure
 
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Bruce Elgort
 
Improve your Developer Experiece using the WAS Liberty Profile with JRebel
Improve your Developer Experiece using the WAS Liberty Profile with JRebel Improve your Developer Experiece using the WAS Liberty Profile with JRebel
Improve your Developer Experiece using the WAS Liberty Profile with JRebel
Anton Arhipov
 

Was ist angesagt? (20)

Improving Software Delivery with DevOps & Software Defined Environments
Improving Software Delivery with DevOps & Software Defined EnvironmentsImproving Software Delivery with DevOps & Software Defined Environments
Improving Software Delivery with DevOps & Software Defined Environments
 
DevOps for IBM Commerce
DevOps for IBM CommerceDevOps for IBM Commerce
DevOps for IBM Commerce
 
Converting to the latest COBOL Compiler made simple with the right tools
Converting to the latest COBOL Compiler made simple with the right toolsConverting to the latest COBOL Compiler made simple with the right tools
Converting to the latest COBOL Compiler made simple with the right tools
 
Creating Production-Ready, Secure and Scalable Applications in IBM Cloud Priv...
Creating Production-Ready, Secure and Scalable Applications in IBM Cloud Priv...Creating Production-Ready, Secure and Scalable Applications in IBM Cloud Priv...
Creating Production-Ready, Secure and Scalable Applications in IBM Cloud Priv...
 
IBM Bluemix hands on
IBM Bluemix hands onIBM Bluemix hands on
IBM Bluemix hands on
 
Deployment Automation for Hybrid Cloud and Multi-Platform Environments
Deployment Automation for Hybrid Cloud and Multi-Platform EnvironmentsDeployment Automation for Hybrid Cloud and Multi-Platform Environments
Deployment Automation for Hybrid Cloud and Multi-Platform Environments
 
The Bluemix Quadruple Threat
The Bluemix Quadruple ThreatThe Bluemix Quadruple Threat
The Bluemix Quadruple Threat
 
IBM WebSphere Liberty and Docker Deep Dive
IBM WebSphere Liberty and Docker Deep DiveIBM WebSphere Liberty and Docker Deep Dive
IBM WebSphere Liberty and Docker Deep Dive
 
IBM Application Delivery Foundation for z Systems
IBM Application Delivery Foundation for z SystemsIBM Application Delivery Foundation for z Systems
IBM Application Delivery Foundation for z Systems
 
Dynacache in WebSphere Portal Server
Dynacache in WebSphere Portal ServerDynacache in WebSphere Portal Server
Dynacache in WebSphere Portal Server
 
IBM Softlayer Bluemix Marketplace
IBM Softlayer Bluemix MarketplaceIBM Softlayer Bluemix Marketplace
IBM Softlayer Bluemix Marketplace
 
Introduction to IBM Cloud Private - April 2018
Introduction to IBM Cloud Private - April 2018Introduction to IBM Cloud Private - April 2018
Introduction to IBM Cloud Private - April 2018
 
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
Client Deployment of IBM Cloud Private (Think 2019 Session 5964A)
 
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
Apps, Apps, and More Apps: Meet the Very Best Open Source Apps from OpenNTF -...
 
Turning up the HEAT with IBM MobileFirst for iOS Apps (Interconnect 2016)
Turning up the HEAT with IBM MobileFirst for iOS Apps (Interconnect 2016)Turning up the HEAT with IBM MobileFirst for iOS Apps (Interconnect 2016)
Turning up the HEAT with IBM MobileFirst for iOS Apps (Interconnect 2016)
 
Bluemix summary
Bluemix summaryBluemix summary
Bluemix summary
 
IBM Think 2019 session 2116 - Best practices for operating and managing a pro...
IBM Think 2019 session 2116 - Best practices for operating and managing a pro...IBM Think 2019 session 2116 - Best practices for operating and managing a pro...
IBM Think 2019 session 2116 - Best practices for operating and managing a pro...
 
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds - UrbanCod...
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds - UrbanCod...Elevate Your Continuous Delivery Strategy Above the Rolling Clouds - UrbanCod...
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds - UrbanCod...
 
DevOps within the Hybrid Cloud Deploying to the VMware Platform on the IBM Cloud
DevOps within the Hybrid Cloud Deploying to the VMware Platform on the IBM CloudDevOps within the Hybrid Cloud Deploying to the VMware Platform on the IBM Cloud
DevOps within the Hybrid Cloud Deploying to the VMware Platform on the IBM Cloud
 
Improve your Developer Experiece using the WAS Liberty Profile with JRebel
Improve your Developer Experiece using the WAS Liberty Profile with JRebel Improve your Developer Experiece using the WAS Liberty Profile with JRebel
Improve your Developer Experiece using the WAS Liberty Profile with JRebel
 

Andere mochten auch

IBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphoneIBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphone
nick_garrod
 
2014 multimuntanya powerpoint_mare de deu_sise_ (2)
2014 multimuntanya powerpoint_mare de deu_sise_ (2)2014 multimuntanya powerpoint_mare de deu_sise_ (2)
2014 multimuntanya powerpoint_mare de deu_sise_ (2)
mercedaries2014
 
Oumh1303 20130712 155801
Oumh1303 20130712 155801Oumh1303 20130712 155801
Oumh1303 20130712 155801
kuok kuoklin
 

Andere mochten auch (19)

Share cics policy (2844)
Share cics policy (2844)Share cics policy (2844)
Share cics policy (2844)
 
3983 cics java real life projects
3983   cics java real life projects3983   cics java real life projects
3983 cics java real life projects
 
IBM Impact session Ed addison nuts and bolts ws
IBM Impact session Ed addison nuts and bolts wsIBM Impact session Ed addison nuts and bolts ws
IBM Impact session Ed addison nuts and bolts ws
 
Share seattle liberty
Share seattle libertyShare seattle liberty
Share seattle liberty
 
IBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphoneIBM Impact session 1654-how to move an existing cics application to a smartphone
IBM Impact session 1654-how to move an existing cics application to a smartphone
 
"Не угаснет свет его таланта"
"Не угаснет свет его таланта""Не угаснет свет его таланта"
"Не угаснет свет его таланта"
 
2014 multimuntanya powerpoint_mare de deu_sise_ (2)
2014 multimuntanya powerpoint_mare de deu_sise_ (2)2014 multimuntanya powerpoint_mare de deu_sise_ (2)
2014 multimuntanya powerpoint_mare de deu_sise_ (2)
 
Theories of power
Theories of powerTheories of power
Theories of power
 
Estrategia de Comunicacion Lectora-mirna-a
Estrategia de Comunicacion Lectora-mirna-aEstrategia de Comunicacion Lectora-mirna-a
Estrategia de Comunicacion Lectora-mirna-a
 
S102 cics the future is closer abridged
S102 cics the future is closer abridgedS102 cics the future is closer abridged
S102 cics the future is closer abridged
 
2014 1 pr커뮤니케이션세미나 강의록 3월4월
2014 1 pr커뮤니케이션세미나 강의록 3월4월2014 1 pr커뮤니케이션세미나 강의록 3월4월
2014 1 pr커뮤니케이션세미나 강의록 3월4월
 
IBM Impact session CICS & java a tale of liberty
IBM Impact session CICS & java a tale of libertyIBM Impact session CICS & java a tale of liberty
IBM Impact session CICS & java a tale of liberty
 
Impact 2014 Best practices for_cics_soa_co
Impact 2014 Best practices for_cics_soa_coImpact 2014 Best practices for_cics_soa_co
Impact 2014 Best practices for_cics_soa_co
 
GPS Traces in HERE Map Creator
GPS Traces in HERE Map CreatorGPS Traces in HERE Map Creator
GPS Traces in HERE Map Creator
 
Oumh1303 20130712 155801
Oumh1303 20130712 155801Oumh1303 20130712 155801
Oumh1303 20130712 155801
 
InterConnect session 2819 1_billion_smart Phones
InterConnect session 2819  1_billion_smart PhonesInterConnect session 2819  1_billion_smart Phones
InterConnect session 2819 1_billion_smart Phones
 
Características Físicas
Características FísicasCaracterísticas Físicas
Características Físicas
 
Learning art of singing
Learning art of singingLearning art of singing
Learning art of singing
 
SHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applicationsSHARE 2014, Pittsburgh CICS and Liberty applications
SHARE 2014, Pittsburgh CICS and Liberty applications
 

Ähnlich wie IBM Impact Session 2351 hybrid apps

IBM Pulse session 2727: Continuous delivery -accelerated with DevOps
IBM Pulse session 2727: Continuous delivery -accelerated with DevOpsIBM Pulse session 2727: Continuous delivery -accelerated with DevOps
IBM Pulse session 2727: Continuous delivery -accelerated with DevOps
Sanjeev Sharma
 

Ähnlich wie IBM Impact Session 2351 hybrid apps (20)

Containerize, PaaS, or Go Serverless!?
Containerize, PaaS, or Go Serverless!?Containerize, PaaS, or Go Serverless!?
Containerize, PaaS, or Go Serverless!?
 
IBM Software Defined Networking for Virtual Environments (IBM SDN VE)
IBM Software Defined Networking for Virtual Environments (IBM SDN VE)IBM Software Defined Networking for Virtual Environments (IBM SDN VE)
IBM Software Defined Networking for Virtual Environments (IBM SDN VE)
 
Revolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere ConnectRevolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere Connect
 
OpenWhisk Introduction
OpenWhisk IntroductionOpenWhisk Introduction
OpenWhisk Introduction
 
3298 microservices and how they relate to esb api and messaging - inter con...
3298   microservices and how they relate to esb api and messaging - inter con...3298   microservices and how they relate to esb api and messaging - inter con...
3298 microservices and how they relate to esb api and messaging - inter con...
 
Java Development on Bluemix
Java Development on BluemixJava Development on Bluemix
Java Development on Bluemix
 
WebSphere Liberty and IBM Containers: The Perfect Combination for Java Micros...
WebSphere Liberty and IBM Containers: The Perfect Combination for Java Micros...WebSphere Liberty and IBM Containers: The Perfect Combination for Java Micros...
WebSphere Liberty and IBM Containers: The Perfect Combination for Java Micros...
 
S108 - 1 Billion Smartphones a year and counting – How is your CICS connected?
S108 - 1 Billion Smartphones a year and counting – How is your CICS connected?S108 - 1 Billion Smartphones a year and counting – How is your CICS connected?
S108 - 1 Billion Smartphones a year and counting – How is your CICS connected?
 
IBM Pulse session 2727: Continuous delivery -accelerated with DevOps
IBM Pulse session 2727: Continuous delivery -accelerated with DevOpsIBM Pulse session 2727: Continuous delivery -accelerated with DevOps
IBM Pulse session 2727: Continuous delivery -accelerated with DevOps
 
InterConnect 2015: 3962 Docking DevOps
InterConnect 2015: 3962 Docking DevOpsInterConnect 2015: 3962 Docking DevOps
InterConnect 2015: 3962 Docking DevOps
 
Enable rapid service provisioning with cics, microservices and the z/OS Provi...
Enable rapid service provisioning with cics, microservices and the z/OS Provi...Enable rapid service provisioning with cics, microservices and the z/OS Provi...
Enable rapid service provisioning with cics, microservices and the z/OS Provi...
 
WebSphere sMash June Product Review
WebSphere sMash June Product ReviewWebSphere sMash June Product Review
WebSphere sMash June Product Review
 
The new developer experience
The new developer experienceThe new developer experience
The new developer experience
 
S103 cics cloud and dev ops agility
S103 cics cloud and dev ops agilityS103 cics cloud and dev ops agility
S103 cics cloud and dev ops agility
 
WebSphere Application Server - Meeting Your Cloud and On-Premise Demands
WebSphere Application Server - Meeting Your Cloud and On-Premise DemandsWebSphere Application Server - Meeting Your Cloud and On-Premise Demands
WebSphere Application Server - Meeting Your Cloud and On-Premise Demands
 
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
 
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...
Elevate Your Continuous Delivery Strategy Above the Rolling Clouds (Interconn...
 
S111 cics connectivity in devops
S111   cics connectivity in devopsS111   cics connectivity in devops
S111 cics connectivity in devops
 
Cloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer ConsoleCloud Native Patterns with Bluemix Developer Console
Cloud Native Patterns with Bluemix Developer Console
 
A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix
 

Mehr von nick_garrod

Mehr von nick_garrod (20)

2844 inter connect cics policy (2844)
2844  inter connect cics policy (2844)2844  inter connect cics policy (2844)
2844 inter connect cics policy (2844)
 
Cics ts v4 and v5 recap, and the new cics ts v5.3 open beta (1)
Cics ts v4 and v5 recap, and the new cics ts v5.3 open beta (1)Cics ts v4 and v5 recap, and the new cics ts v5.3 open beta (1)
Cics ts v4 and v5 recap, and the new cics ts v5.3 open beta (1)
 
Enhanced cics cloud enablement and dev ops capabilities
Enhanced cics cloud enablement and dev ops capabilitiesEnhanced cics cloud enablement and dev ops capabilities
Enhanced cics cloud enablement and dev ops capabilities
 
Api management customer
Api management customerApi management customer
Api management customer
 
Anz cics ts v5 technical update seminar intro (half day event)
Anz cics ts v5 technical update seminar intro (half day event)Anz cics ts v5 technical update seminar intro (half day event)
Anz cics ts v5 technical update seminar intro (half day event)
 
S110 gse - liberte egalite fraternite
S110 gse - liberte egalite fraterniteS110 gse - liberte egalite fraternite
S110 gse - liberte egalite fraternite
 
S109 cics-java
S109 cics-javaS109 cics-java
S109 cics-java
 
S107 5 compelling reasons for using cics in the cloud
S107 5 compelling reasons for using cics in the cloudS107 5 compelling reasons for using cics in the cloud
S107 5 compelling reasons for using cics in the cloud
 
S106 using ibm urban code deploy to deliver your apps to cics
S106 using ibm urban code deploy to deliver your apps to cicsS106 using ibm urban code deploy to deliver your apps to cics
S106 using ibm urban code deploy to deliver your apps to cics
 
S105 performance
S105 performanceS105 performance
S105 performance
 
S104 twist and cloud
S104 twist and cloudS104 twist and cloud
S104 twist and cloud
 
S101 cics what's in it for you
S101   cics what's in it for you S101   cics what's in it for you
S101 cics what's in it for you
 
Share seattle health_center
Share seattle health_centerShare seattle health_center
Share seattle health_center
 
SHARE Seattle 2015 Taming the Beast – Best Practices for zFS with CICS
SHARE Seattle 2015 Taming the Beast – Best Practices for zFS with CICSSHARE Seattle 2015 Taming the Beast – Best Practices for zFS with CICS
SHARE Seattle 2015 Taming the Beast – Best Practices for zFS with CICS
 
Share seattle cics cloud
Share seattle cics cloudShare seattle cics cloud
Share seattle cics cloud
 
SHARE 2015 SeattleShare cics ts 52 technical overview
SHARE 2015 SeattleShare cics ts 52 technical overviewSHARE 2015 SeattleShare cics ts 52 technical overview
SHARE 2015 SeattleShare cics ts 52 technical overview
 
Share multi versioning scenarios
Share  multi versioning scenariosShare  multi versioning scenarios
Share multi versioning scenarios
 
16370 cics project opening and project update f
16370  cics project opening and project update f16370  cics project opening and project update f
16370 cics project opening and project update f
 
z Technical Summit Track 3 Session 4 Developing mobilefirst app for z
z Technical Summit Track 3 Session 4 Developing mobilefirst app for zz Technical Summit Track 3 Session 4 Developing mobilefirst app for z
z Technical Summit Track 3 Session 4 Developing mobilefirst app for z
 
Session 3 _exposing_mainframe_applications_services_v4
Session 3 _exposing_mainframe_applications_services_v4Session 3 _exposing_mainframe_applications_services_v4
Session 3 _exposing_mainframe_applications_services_v4
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 

IBM Impact Session 2351 hybrid apps

  • 1. © 2014 IBM Corporation Interfaces Using JSPs, Servlets, & PHP with CICS Transaction Server V5 Fraser Bohm – IBM STSM, CICS TS Lead Architect
  • 2. Please Note IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s 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 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 results similar to those stated here.
  • 3. 3 © 2012 IBM Corporation Agenda  The CICS Java Web Container based on WAS Liberty technology  What is a Hybrid Application anyway and why would I want one?  Options for Hybrid Applications and when to use them  Nought to Web App
  • 4. 4 © 2012 IBM Corporation Introduction to the JVM Server & CICS use of the Liberty Profile
  • 5. 5 JVM Server Architecture CICS TS V4 JVM LE enclave CICS Task PThread JVM thread CICS Task PThread JVM thread CICS Task PThread JVM thread Can attach multiple pthreads/CICS tasks to the JVM at the same time Therefore serve more requests using a single JVM Result is increased tasks per region – up to 256 programs simultaneously on T8 TCBs For 3rd party JVM technology (CICS TS V4.1) and user programs (CICS TS V4.2) Heap & Classes An alternative to pooled JVMs, not a replacement (yet) JCICS API JVM thread JVM thread JVM thread JVM thread
  • 6.
  • 7. 7 © 2012 IBM Corporation Configuration by Exception  This is the entire configuration needed to run Liberty as a Web-container with Servlet support.
  • 8.
  • 9. Convergence Of features, fix packs and timing
  • 10. 10 © 2012 IBM Corporation What is a Hybrid Application anyway and why would I want one?
  • 11. Liberty in CICS – a Hybrid Runtime What do you see, CICS or Liberty? ...It's all a matter of perspective
  • 12. 05/22/1412 © 2012 IBM Corporation Hybrid Threads JVM task T8 TCB Worker thread attach change-mode attachCurrentThread LE enclave CICS Task Same Task Context JDBC Link to COBOL Etc. Liberty – Web Feature (CICS)ExecutorService.execute (Runnable) HttpListener Thread Dispatcher (task generator) XMATURIMAP
  • 13. 13 © 2012 IBM Corporation  Each 'Invocation' (think Servlet Request) on a Hybrid Thread is also a CICS Transaction (Has a Tranid, Task Context etc).  This gives you –A single common Transaction (UOW) and CICS Managed JDBC • Which can cross between Java and Cobol –Full JCICS API Access • In particular, LINK and access to VSAM –WLM (CICS WLM, Performance Classes etc). –Monitoring / Statistics –CICS Transaction Tracking / Association Data Benefits of Hybrid Threads
  • 14. 14 © 2012 IBM Corporation Options for Hybrid Applications and when to use them
  • 15. Presentation Complex Services Simple As CICS has got smarter, the level of complexity has increased. CICS TS V5 will continue to deliver more advanced capabilities. Hybrid Applications can both be about presentation logic and services, as well as Java or PHP When to use what and customer use cases a vision for an easier to use application server 15 Presentation Servlet JAX-RSJAX-WS Dynamic Scripting JSP JSF
  • 16. CICS Dynamic Scripting Java EE / CICS Traditional Liberty CICS Dynamic Scripting StrategicValue,Cost,Complexity,Usage Number of applications Time to value is more important than enduring value Strategic, long- lived applications Enterprise Applications Team/Project Applications Personal Applications Creating reports, dashboards and widgets Quickly front ending existing applications Exposing CICS assets in mash-ups Creating productivity applications Quickly trying out new business ideas Introducing new IT staff to CICS via PHP Developing without a dedicated budget Porting existing unmanaged PHP into CICS Departmental Applications Can be used to develop and deploy lightweight, ‘fit for purpose’, situational applications that meet departmental, team, project and personal requirements, e.g.:
  • 17. Structure of CICS Dynamic Scripting 2.0 JVM CICS Transaction Server HTTP Request HTTP Response Liberty Server CICS Assets JCICS API PHPServlet PHPWrapper PHP P8 Engine Ext1 Ext2 Ext3 Extn Web Container DS FP V2.0 OSGI BundleApp1 App2 App3 App4 JVM
  • 18. PHP In Action PHP code in Sample <?php java_import("com.ibm.cics.server.Region"); echo "Your CICS Dynamic Scripting Example (PHP) is now running in CICS Region " . Region::getAPPLID() . "."; ?>
  • 19. 19 © 2012 IBM Corporation Nought to Web-App
  • 20. 20 © 2012 IBM Corporation 1) Create a JVM server resource in Explorer, CEDA, or CPSM.
  • 21. 21 © 2012 IBM Corporation 2) Configure the JVMProfile - Copy the sample DFHWLP - Check JAVA_HOME is correct. - Ensure Auto Configure option is set to true for first time - Point your JVM server definition at the new JVMProfile
  • 22. 22 © 2012 IBM Corporation 3) Enable the JVM server
  • 23. 23 © 2012 IBM Corporation 4) Liberty is running! (check the logs). Server defaultServer created. Launching defaultServer (wlp-1.0.0.20120428-1251/websphere-kernel_1.0.0) on IBM J9 VM, version pmz6470sr1- 20120302_01 (SR1) (en_US) [AUDIT ] CWWKE0001I: The server defaultServer has been launched. [AUDIT ] CWWKG0028A: Processing included configuration resource: file:/u/ivanh/IYK3ZIH1/LIBERTY1/wlp/usr/servers/defaultServer/installedApps.xml [AUDIT ] CWWKG0028A: Processing included configuration resource: file:/u/ivanh/IYK3ZIH1/LIBERTY1/wlp/usr/servers/defaultServer/cicsSecurity.xml [AUDIT ] CWWKZ0058I: Monitoring dropins for applications. [AUDIT ] CWWKF0011I: The server defaultServer is ready to run a smarter planet.
  • 24. 24 © 2012 IBM Corporation 5) Install Eclipse 3.6.2 - preferably JEE version, but Classic will suffice. http://www.eclipse.org/downloads/packages/release/helios/sr2
  • 25. 25 © 2012 IBM Corporation 6) Install IBM CICS SDK for WebSphere Application Server Liberty profile v5.1
  • 26. 26 © 2012 IBM Corporation 7) Create a Dynamic Web Project, or choose one of the Examples
  • 27. 27 © 2012 IBM Corporation 8) Export the CICS bundle project
  • 28. 28 © 2012 IBM Corporation 9) Pick a zFS location for the CICS bundle project
  • 29. 29 © 2012 IBM Corporation 10) Create a CICS bundle definition to control the life-cycle of the Application
  • 30. 30 © 2012 IBM Corporation 11) Install the CICS bundle definition
  • 31. 31 © 2012 IBM Corporation 12) Run the application! [AUDIT ] CWWKT0016I: Web application available (default_host): http://winmvs2c.hursley.ibm.com:27245/com.ibm.cics.server.example.wlp.tsq.web/
  • 32. 32 © 2012 IBM Corporation zFS zOS App App App CICS Liberty JVM server Deploy Eclipse with Liberty Tools Use CICS Resources Enable Putting it all together
  • 33. 33 © 2012 IBM Corporation Summary and Future
  • 34. 34 © 2012 IBM Corporation Summary of Key Benefits Local. Lightweight. Fast. Web Applications run locally in CICS with direct access to CICS data and resources. No adapters, no converters, same address space. Standard tools for developers. Familiar, industry standard tools with Eclipse and Dynamic Web Projects. CICS Explorer SDK enhances the deployment experience. Portable. Presentation logic in Servlets, business logic in OSGi bundles. Servlets are portable across runtimes. Bundles provide componentization. Modular design. Architected in a modular way using OSGi, the server only enables and starts the features required by the applications and configuration. If you're not using a feature, it won't start in your server runtime Dynamic runtime. Features can be added to the server dynamically, using the OSGi framework, while the server is running, with zero downtime and server restarts. Similarly server and application config can be updated without the need to restart. Eclipse based tools. The eclipse tools for the Liberty Profile are small and very well integrated with the Liberty Profile environment
  • 36. We Value Your Feedback Don’t forget to submit your Impact session and speaker feedback! Your feedback is very important to us – we use it to continually improve the conference. Use the Conference Mobile App or the online Agenda Builder to quickly submit your survey • Navigate to “Surveys” to see a view of surveys for sessions you’ve attended 36
  • 38. Legal Disclaimer • © IBM Corporation 2014. All Rights Reserved. • The information contained in this publication is provided for informational purposes only. While efforts were made to verify the completeness and accuracy of the information contained in this publication, it is provided AS IS without warranty of any kind, express or implied. In addition, this information is based on IBM’s current product plans and strategy, which are subject to change by IBM without notice. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this publication or any other materials. Nothing contained in this publication is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. • References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in this presentation may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results. • If the text contains performance statistics or references to benchmarks, insert the following language; otherwise delete: 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 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 results similar to those stated here. • If the text includes any customer examples, please confirm we have prior written approval from such customer and insert the following language; otherwise delete: All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. • Please review text for proper trademark attribution of IBM products. At first use, each product name must be the full name and include appropriate trademark symbols (e.g., IBM Lotus® Sametime® Unyte™). Subsequent references can drop “IBM” but should include the proper branding (e.g., Lotus Sametime Gateway, or WebSphere Application Server). Please refer to http://www.ibm.com/legal/copytrade.shtml for guidance on which trademarks require the ® or ™ symbol. Do not use abbreviations for IBM product names in your presentation. All product names must be used as adjectives rather than nouns. Please list all of the trademarks that you use in your presentation as follows; delete any not included in your presentation. IBM, the IBM logo, Lotus, Lotus Notes, Notes, Domino, Quickr, Sametime, WebSphere, UC2, PartnerWorld and Lotusphere are trademarks of International Business Machines Corporation in the United States, other countries, or both. Unyte is a trademark of WebDialogs, Inc., in the United States, other countries, or both. • If you reference Adobe® in the text, please mark the first use and include the following; otherwise delete: 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. • If you reference Java™ in the text, please mark the first use and include the following; otherwise delete: Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. • If you reference Microsoft® and/or Windows® in the text, please mark the first use and include the following, as applicable; otherwise delete: Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. • If you reference Intel® and/or any of the following Intel products in the text, please mark the first use and include those that you use as follows; otherwise delete: Intel, Intel Centrino, 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. • If you reference UNIX® in the text, please mark the first use and include the following; otherwise delete: UNIX is a registered trademark of The Open Group in the United States and other countries. • If you reference Linux® in your presentation, please mark the first use and include the following; otherwise delete: Linux is a registered trademark of Linus Torvalds in the United States, other countries, or both. Other company, product, or service names may be trademarks or service marks of others. • If the text/graphics include screenshots, no actual IBM employee names may be used (even your own), if your screenshots include fictitious company names (e.g., Renovations, Zeta Bank, Acme) please update and insert the following; otherwise delete: All references to [insert fictitious company name] refer to a fictitious company and are used for illustration purposes only.

Hinweis der Redaktion

  1. In our typical mainframe development, we normally only address mission-critical applications. Because these applications are normally high-volume and are very important to our business, we have surrounded them with procedures with tight controls that insure quality, consistency, availability and all of the other attributes needed for our main applications. These applications are normally written in COBOL running CICS or java running in WebSphere Application Server which provide industrial-strength environments for our applications. Besides these main applications. there are other applications our business needs for special situations, For example, I want to Creating report asap or create a dashboards to show some progress. This kind of application is commonly called ‘situational applications’. For most of the situational application, time to value is more important than enduring value. In another word, the quicker the better. The demand for situational applications at some companies becomes more and more important, but due to the procedures and development techniques we use, sometimes it is hard for people to address them. CICS Dynamic Scripting is intended to address some of these shortcomings. CICS Dynamic Scripting version 1.0 and 1.1, built on Project Zero technology provides a productive environment that can be used to address situational applications. CICS Dynamic Scripting is also a great way to introduce new IT staff to CICS via the PHP and Groovy dynamic scripting languages.
  2. After understand how Liberty runs in CICS. Let’s look at how CICS DS FP 2.0 works. It is packaged as a OSGi Bundle running in Liberty web container. You can see, Here is a CICS, a JVMSERVER runs in CICS. Liberty profile runs in the JVMSERVER, it provides a web container. CICS DF FP 2.0 runs in the web container. When a HTTP which may contains PHP comes into Liberty, it will go into DS FP if it is a PHP request, P8 engine will interpret the PHP and run it. Then send back response to Client. The PHP runs in Liberty can also access CICS assets like Cobol program , TSQ and so on
  3. After user deploy and install the CICS bundle, we can test the PHP page, input URL in a web browse, You will see page as following .It shows the region’s Applid. Let’s look at the code. In this PHP code, user import a java class first , this java class is part of JCICS jar which is provided by CICS. They PHP code can call JCICS API to get current region’s application id.