Skip to main content

developerWorks >  WebSphere  >  Forums  >  WebSphere Extended Deployment Compute Grid  >  developerWorks

XD Compute Grid and JZOS    Point your RSS reader here for a feed of the latest messages in this thread


Tags for this thread: 

     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 6 - Pages: 1 - Last Post: Feb 25, 2009 4:24 PM Last Post By: Snehal_Antani
Snehal_Antani

Posts: 124
Registered: Jan 22, 2008 10:44:45 AM
XD Compute Grid and JZOS
Posted: Jan 22, 2008 11:05:42 AM
Click to report abuse...   Click to reply to this thread Reply
Attachment Images.zip (31.1 KB)


JZOS is a technology for enabling java on z/OS to access and leverage traditional z/OS facilities. This technology is composed of two components: first is a launcher, whose job is to efficiently initialize a J2SE runtime from JCL; second are the programming interfaces available to applications for accessing traditional z/OS resources such as datasets.


The JZOS launcher technology initializes a J2SE runtime; a runtime that lacks features such as: transaction, security, and connection management; checkpoint and/or recoverability facilities for batch jobs; inherent high availability and other WebSphere qualities of service provided by enterprise middleware such as WebSphere. Furthermore, for each step executed, JZOS will initialize a Java virtual machine (JVM). For a few batch steps this may not be an issue, but when executing 10’s, 100’s, 1000’s of steps within a batch window, the overhead of JVM initialization and destruction will both dramatically decrease the overall performance of the system as well as significantly increase the CPU instructions executed which, on z/OS, directly impacts the monetary cost of the system.


The JZOS programming interfaces (API’s) serve a different purpose than the launcher. With the JZOS programming interfaces, programs can access traditional z/OS resources like HFS/ZFS files, VSAM files, etc.


Since Compute Grid is hosted within an application server, there is no need to initialize the batch runtime; therefore the JZOS launcher isn't used within the Compute Grid environment. The JZOS programming interfaces however can be leveraged by Compute Grid applications, enabling these applications to access traditional z/OS artifacts such as ZFS, HFS, VSAM, and others. The JZOS programming interfaces coupled with Compute Grid delivers a strong integration point for enterprise java batch applications and traditional z/OS.

Message was edited by: Snehal Antani
Christopher P. ...

Posts: 94
Registered: Dec 17, 2004 11:27:02 AM
Re: XD Compute Grid and JZOS
Posted: May 04, 2008 08:12:23 AM   in response to: Snehal_Antani in response to: Snehal_Antani's post
Click to report abuse...   Click to reply to this thread Reply
JZOS is easy to use and free. The programming interfaces are very useful. JZOS truly makes the Java programming language a first class
citizen for z/OS batch application development.

But remember to use the right tool for the job: JZOS creates a new JVM on each job step. This overhead is significant. So JZOS is best used
for occasional or very long running batch. As use of Java for batch programming on z/OS increases, larger, mixed duration Java batch workloads emerge and cause dissatisfaction among customers who ask why they are spending so many MIPs (even offloaded to zAAPs) on JVM startup - this is non-productive use of z/OS MIPs. XD Compute Grid offers a reusable JVM environment for hosting Java batch workloads. This is game changing.

Moral of the story: JZOS is a great entry point for Java batch on z/OS. XD Compute Grid is the solution for hosting Java batch (on any
WebSphere platform, especially z/OS) for enterprise-scale Java batch workloads. So what's needed is a good portability story for JZOS to Compute Grid.
Christopher P. ...

Posts: 94
Registered: Dec 17, 2004 11:27:02 AM
Re: XD Compute Grid and JZOS
Posted: May 04, 2008 08:20:50 AM   in response to: Christopher P. Vignola in response to: Christopher P. Vignola's post
Click to report abuse...   Click to reply to this thread Reply
Ok, so I probably should have continued that last thread. Here's a continuing thought on JZOS-to-ComputeGrid portability:

An interesting approach would be to use the XD Compute Grid Batch Simulator to supply a portable programming model for JZOS applications. Read about the Compute Grid programming model and download the Batch Simulator here. Using this approach, one could write JZOS applications today that can easily port to the XD Compute Grid environment tomorrow, as the Java batch workload grows.
Snehal_Antani

Posts: 124
Registered: Jan 22, 2008 10:44:45 AM
Re: XD Compute Grid and JZOS
Posted: Jun 25, 2008 10:07:33 AM   in response to: Christopher P. Vignola in response to: Christopher P. Vignola's post
Click to report abuse...   Click to reply to this thread Reply

I've created a package based on our sample Eclipse workspace that makes it simpler to try out our J2SE version of WebSphere XD Compute Grid (aka WebSphere Batch). We are working on the JCL to get this invoked using the JZOS launcher, but in the meantime, you can try the package and eclipse workspace out.




There are two .zip files within the attached package:
  1. j2seCG.6.1.0.2.3.EBCDIC.zip, which contains an EBCDIC version of the files so you can run on z/OS
  2. j2seCG.6.1.0.2.3.ASCII.zip, which contains an ASCII version of the files so you can run on linux/unix/windows/etc


To run the sample, unzip the version of the batch runtime you want (ASCII or EBCDIC), and invoke the batch.sh (or batch.bat if you're on windows). Note: this is based on Java 5.
Christopher P. ...

Posts: 94
Registered: Dec 17, 2004 11:27:02 AM
Re: XD Compute Grid and JZOS
Posted: Jul 14, 2008 04:06:12 PM   in response to: Snehal_Antani in response to: Snehal_Antani's post
Click to report abuse...   Click to reply to this thread Reply
Attachment jzosCG.zip (321.3 KB)
Here's the same application packaged with a sample JCL so you can to run the Echo application in z/OS batch through JZOS. Directions for use:

1) upload jzosCG.zip binary to z/OS USS file system

2) unzip (jar -xf works, too) and check README
Snehal_Antani

Posts: 124
Registered: Jan 22, 2008 10:44:45 AM
Re: XD Compute Grid and JZOS
Posted: Oct 23, 2008 02:30:54 AM   in response to: Christopher P. Vignola in response to: Christopher P. Vignola's post
Click to report abuse...   Click to reply to this thread Reply
I've attached a short (4 slides) .ppt that better articulates the role of JZOS and our approach for using JZOS as an on-ramp to WebSphere XD Compute Grid for batch processing.

thanks,
Snehal
Snehal_Antani

Posts: 124
Registered: Jan 22, 2008 10:44:45 AM
Re: XD Compute Grid and JZOS
Posted: Feb 25, 2009 04:24:54 PM   in response to: Snehal_Antani in response to: Snehal_Antani's post
Click to report abuse...   Click to reply to this thread Reply

I'm working on an article that positions Compute Grid and JZOS. I've attached a draft with this post. Any comments are welcome.
thanks, Snehal
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums