Writing RESTful web services using a CICS Liberty JVM server - Part 2
My name is Daniel Fitzgerald, I'm a trainee software developer in the CICS team based at IBM Hursley UK. I've been working for the last six months on the Mobile Extensions Feature Pack V1.0 for CICS Transaction Server. As part of the project we looked at using JAX-RS, JSON and RESTful designs within Liberty.
[Edit: This article was updated 11 September 2013 by Mark Cocker to clarify the pre-requisites and update the... [More]
Using JCA with the CICS TG in WebSphere Liberty Profile
The April betas of the WebSphere Liberty Profile provide an optional feature which enables support for the Java Connector Architecture (JCA) part of the Java Enterprise Edition (JEE) specification. As this has been one of the primary methods for connecting to CICS with the CICS TG, it made sense for me to check not only that it works in Liberty, but also how to make use of the CICS TG resource adapters from applications in a remote mode topology.
Getting the beta
Did you know the CICS Explorer SDK not only includes a great development environment for Java, but also a remote debugger?
Quick guide to starting a debug session:
Ensure the JVMSERVER resource used by your Java application is disabled, or not yet installed.
Add the following two lines to the JVM profile.
Change the "address=" option to a IP port number on z/OS that is not already being... [More]
Writing RESTful web services using a CICS Liberty JVM server - Part 1
My name is Daniel Fitzgerald, I'm a trainee software developer in the CICS team based at IBM Hursley UK. I've been working for the last six months on the Mobile Extensions Feature Pack V1.0 for CICS Transaction Server. As part of the project we looked at using JAX-RS, JSON and RESTful designs within Liberty. This article, coming in two parts is the result of these investigations.
The CICS Liberty server is a... [More]
Electronic mail has become an effective form of communication widely used in our private lives and dealings with businesses, governments, and other organizations. For example customers now expect confirmation and status of orders, account alerts, and availability of statements to be sent within minutes via email. Email strikes a balance between the expense and delay of physical post, and the more immediate but temporary nature of SMS.
As many of today's transactions are hosted in CICS Transaction Server (CICS), it is not surprising... [More]
On Friday June 14 we GAed z/OS Explorer V2.1 and CICS Explorer V5.1.1, that is to say, they became generally available for download. That wasn't all - we also made our new repository of compatible plug-ins available, with plug-ins for five CICS Tools, five IBM Problem Determination Tools, IBM Data Studio, Rational Team Concert, a 90-day trial version of Rational developer for System z.
I've been the marketing manager for CICS Explorer, and more recently, z/OS Explorer, for over five years now, so I obviously have an... [More]
In my previous article “What is CICS Application Multi-versioning?” I described how the new multi-versioning capability in the CICS TS V5.2 open beta could be used to eliminate name clashes when hosting independently developed applications on the same CICS platform. This allows you to take advantage of the increased operational efficiency and reduce the number of regions required. In this article I will explain how use to the multi-versioning capability to increase service agility.
Are you having trouble accessing the information that we are
making available to you through social media? Does your employer ban the use of
social media at work? Help is here!
Here in CICS we are embracing the power of Social media to
create a space for customers, IBMers, and people interested in CICS to
interact. Hearing news from us about product releases through facebook,
information about technical support through twitter and hints and tips through
videos on youtube and blog posts on CICSdev.
The content we are... [More]
[7/Oct - article updated to refer to CICS TS V5.2 and some WASDev links updated]
CICS TS V5.2 includes the latest WebSphere Application Server Liberty Profile (WLP) V8.5.5 that provides features for the Java API for XML Web Services ( JAX-WS ) and the Java Architecture for XML Binding ( JAXB ). Together these technologies enable you to write SOAP web services in Java as part of a CICS application.
You may be thinking, why not use the CICS TS native web services stack as it is fast, efficient and... [More]
If a customer finds a bug in your application, wouldn't it be great if you could build, test and deploy a fix in hours or days, rather than in weeks or months? Reducing turn-around time and aiming for continuous delivery allows your organization to constantly improve and evolve the applications and services provided to customers. There's no reason why your CICS-based applications and services shouldn't be included in the continuous delivery model.
Continuous integration and CICS
Let's say you have two... [More]
Memory leaks in Java programs are just as much of an issue as they are for programs written in any other language. Despite the garbage collector (GC), there are situations where the GC cannot remove objects because they are still referenced. The first problem is identifying a memory leak and the second problem is locating the class responsible. This post will show you, how to identify and locate a memory leak in a Java program running in the JVM server in CICS.
One of the advantages of using Java as a programming... [More]
CICS Developer Trial is an exciting new offering from IBM, a new try-before-you-buy version of CICS TS V4.2.
CICS TS Developer Trial V4.2 is free of charge and for evaluation (non-production) use only, offering a full set of features but with restricted performance and limited operational lifespan. CICS Developer Trial V4.2 will be updated, periodically, to include the latest service fixes, and to provide an evaluation period of at least 90 days. There is no limit to the number of copies and subsequent releases that... [More]
I've just got back from SHARE in Atlanta where it was great to see a lot of interest around the CICS Explorer.
One of the things that a lot of people wanted to know was simply how to get started and get connected to either a single CICS region or CICS Plex. So I decided to post a quick guide here which I hope you'll find useful!
Download and install the CICS Explorer from: www.ibm.com/cics/explorer
Set up the CICS Management Client... [More]
Java in CICS used to be a strange place. When I started working on CICS Transaction Server V3.1, having previously worked on WebSphere Application Server, I was frustrated to find an unusual Java environment inside CICS. It had strange options for its configuration and the idea that each CICS task had its own JVM (yes, a whole one) was baffling, and it didn’t understand Java threads. That was 10 years ago, but everything is different now.
The CICS JVM is a first-class enterprise Java environment. It’s so... [More]
Over the past five years the CICS Transaction Gateway team have released a number of SupportPacs to support the development of applications calling CICS using CICS TG APIs. This post provides a summary of these SupportPacs, including detail on the evolution of the API for .NET Framework-based applications.
Click the links to the specific SupportPacs to find further detail and API documentation.
CA5F: IBM CICS TG 'gateway' intercept plug-in support
We've just announced two new feature packs for you to explore...
CICS TS Feature Pack for Mobile Extensions V1.0 - visit http://www-01.ibm.com/software/htp/cics/mobile/
CICS TS Feature Pack for Modern Batch V1.0 - visit http://www-01.ibm.com/software/htp/cics/batch/
These will help to further enhance your operational efficiency and service agility.
For more information on these announcements, take a look at the announcement letter -
Many of us have used CICS Explorer to manage CICS. But did you know that you can use the underlying CICS Management Client Interface (CMCI) from your browser (or any other HTTP client)? The CMCI request structure consists of
an HTTP header with a method (GET, PUT, POST, DELETE)
followed by a URI (Universal Resource Identifier) and
an optional XML body containing details of any changes to be made to CICS or CICSPlex SM resources
To try out the examples you need to know the hostname (called yourHostName in this... [More]
An Interview with Danny Mace – New CICS Director
Since Danny Mace was announced in March 2012 as Dave
Andrews’ successor as the Director of CICS, there has been a buzz around the
Hursley Laboratory and the wider CICS community. We managed to find a little
bit of time in their busy schedules to find out a little bit more about them.
Danny has joined the CICS team straight from his role as
Director of Rational Client Support Strategy, prior to that he was development
leader in Rational Enterprise Modernization tools.... [More]
In the fall of 2012, I had the opportunity to return to the United Kingdom after 36 years. My initial visits were very quick, since the United States Navy would only allow you on shore for a short period. Nevertheless, my thoughts of the UK were still centered around the days of King Arthur ...leading up to the James Bond 007 era. Then there was my remembrance of William Shakespeare, the greatest poet and playwright ever and William Wilberforce, an English politician and philanthropist that led the movement to abolish the slave trade and most... [More]
In our recent blog post about the new mobile support in CICS Transaction Gateway (CICS TG) we discussed how easy it was to create a new application to access existing CICS resources. In this blog post I'll show you how I put together a sample application which makes use of the programs and data provided by the the GENAPP support pac .
The architecture of the completed solution looks like
Setting up CICS TG
Configuring the Gateway daemon for http requests
To allow the Gateway daemon to receive and process http... [More]
We are delighted to have announced support for the new Eclipse-based IBM z/OS Explorer V2.1. It provides you with a seamless user experience when working with mainframe products and z/OS .
For more information on this visit the webpage - http://www-01.ibm.com/software/htp/cics/ibmexplforzos/index.html or the announcement letter - http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=an&subtype=ca&supplier=897&letternum=ENUS213-141
IBM is now using a considerably more open and
transparent requirements system for CICS Transaction Server enhancement
requests. Everybody can now submit and track their CICS TS requirements
directly thorough this new web based system. The new system is called
the “Request for Enhancement” system – or RFE – and is located on the
developerWorks RFE site at the following link:
RFE has a lot of new capability that should benefit everybody out
there working with CICS TS, as well as everybody... [More]
It's SHARE time again already - well almost. This weekend a group of us from Hursley are heading to Atlanta, expecting another great week telling the SHARE crowd about all the great features we've put in Version 4.2, recent CICS Tools announcements and much more. I'm particularly looking forward to talking again about how CICS relates to the values of Cloud Computing. I also get to do the Project Opening with Geoff Pirie and Gene Hudders from C/TREK. You can look at the SHARE CICS Project Agenda for more details on all the sessions... [More]
One of the frequent questions we receive from customers is "How can I customize the CICS Explorer GUI, for instance by removing items that confuse my internal users?"
While removing GUI items is not something we provide support for, because CICS Explorer is built on top of Eclipse technology there is an Eclipse technique you can use to hide some elements of the GUI.
In this blog post I'll walk you through some using an activity to hide a GUI item, techniques for establishing whether a GUI item might be hideable, and... [More]
Over 600 of you registered for this event, if you unable to catch the
live broadcast you can now listen to the replay of CICS goes mobile by
Andy Armstrong of the Hursley CICS team. Check it out here: https://ibmsystemsmag.webex.com/ibmsystemsmag/lsr.php?AT=pb&SP=EC&rID=61585352&rKey=a726afea326f4f31
Abstract: CICS CMCI connections can only be defined manually in CICS Explorer. This is suitable if you have to create a small number of connections but does not fit if you have to define a large number of connections. This document will show you how to generate Connections.pref from an Open Office spread sheet. This article is based on CICS Explorer 5.1.1
Objective: Generate Connections.pref from Open Office spread sheet (See picture below)
How you will reach your objective: By following this guide you will define an XML... [More]
The Announcement Letter for the CICS TS V5.2 open beta says that “Lifecycle management of first-class applications, introduced in CICS TS V5.1, now supports multiple installed versions of applications.” What is this new capability, how does it work , and why should you be interested?
In CICS TS V5.1 we introduced the application resource with a nice long 64-character name and a proper version. So rather than just borrowing characters from an 8 character CICS resource definition name , it was... [More]
The CICS Transaction Gateway for z/OS V9.1 open beta includes new capabilities enabling HTTP clients to invoke COMMAREA or Channel-based CICS programs using JSON data, while benefiting from the established high availability and instrumentation features which CICS Transaction Gateway customers already rely upon.
Based upon the WS BIND data transformation technology and tooling already used for CICS Transaction Server web services, the proven reliability and scalability of CICS TG delivers further options for robust... [More]
CICS TS V5.1 delivers over 100 customer requirements. Here is the full list...
25974 CICS Automated time adjustment
25973 Enhancement to CICS to handle time change
25386 Timeout for long-time run transaction in CICS
25385 CICS container processing, relating to CICS Web Services
25384 Web Services validation in a JVMServer
25288 CEMT Logging
25287 SIT AUTORESETTIME parameter to... [More]