What book for JAVA on zOS you recommend?

Registered Members can share Internet Links and/or Documents on Mainframe Technologies here.
Post Reply
Rahul Chandra
New Member
Posts: 6
Joined: Fri Aug 01, 2014 10:12 am

What book for JAVA on zOS you recommend?

Post by Rahul Chandra »

Hi,

I was searching this forum and could not find a book refernce for Java for zOS. What book for JAVA on zOS you recommend?
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: What book for JAVA on zOS you recommend?

Post by Anuj Dhawan »

Hi,

You might want to start from this: https://sar.informatik.hu-berlin.de/sum ... Guide_.pdf

Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Vadim Shchukin
New Member
Posts: 3
Joined: Tue Nov 18, 2014 3:06 pm

Re: What book for JAVA on zOS you recommend?

Post by Vadim Shchukin »

Depends on the tasks you want to accomplish with Java.
I would recommend:
- Java Stand-alone Applications on z/OS, especially volume II:
http://www.redbooks.ibm.com/abstracts/sg247291.html
If you need to work with DB2 via Java then you might want to read:
- DB2 for z/OS and OS/390: Ready for Java, it will get you familiar with z/OS-specific JDBC and SQLJ: http://www.redbooks.ibm.com/abstracts/sg246435.html
Rahul Chandra
New Member
Posts: 6
Joined: Fri Aug 01, 2014 10:12 am

Re: What book for JAVA on zOS you recommend?

Post by Rahul Chandra »

Thanks for thr quick replies.

I am learningJAVA on zOS and mightneedto work with DB2 using it also, so thanks for the link Vadim.
Rahul Chandra
New Member
Posts: 6
Joined: Fri Aug 01, 2014 10:12 am

Re: What book for JAVA on zOS you recommend?

Post by Rahul Chandra »

Hello,

As it's JAVA on mainframes, is there any way I can practice writing some programs at home which will work on zOS too? :geek:
Vadim Shchukin
New Member
Posts: 3
Joined: Tue Nov 18, 2014 3:06 pm

Re: What book for JAVA on zOS you recommend?

Post by Vadim Shchukin »

Hi,

Sure. Since Java compiles to a bytecode, which is processor-independent, you can write your programs and even compile them on your local PC and then transfer that compiled binaries to a mainframe and they would work there. But some Java libraries use native code libraries, for example IBM JZOS library which has an ability to work with data sets. So you could compile an application that uses IBM JZOS library but you won't be able to run it on your local PC since it's missing IBM native libraries.
Rahul Chandra
New Member
Posts: 6
Joined: Fri Aug 01, 2014 10:12 am

Re: What book for JAVA on zOS you recommend?

Post by Rahul Chandra »

Thanks Vadim.

Then if I try to write a JAVA program on PC which should be able to do file handling, that means it can not be executed without a mainframe?
Vadim Shchukin
New Member
Posts: 3
Joined: Tue Nov 18, 2014 3:06 pm

Re: What book for JAVA on zOS you recommend?

Post by Vadim Shchukin »

java.io.File will work perfectly on a mainframe, because it's a part of the Java standard, so it's also platform-independent. However if you want to use some third-party libraries for your file handling, they might not work on a mainframe.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “User Contributions.”