Page 1 of 1

What book for JAVA on zOS you recommend?

Posted: Tue Dec 02, 2014 3:16 pm
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?

Re: What book for JAVA on zOS you recommend?

Posted: Tue Dec 02, 2014 4:24 pm
by Anuj Dhawan
Hi,

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


Re: What book for JAVA on zOS you recommend?

Posted: Fri Dec 05, 2014 10:55 am
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

Re: What book for JAVA on zOS you recommend?

Posted: Fri Dec 05, 2014 11:41 am
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.

Re: What book for JAVA on zOS you recommend?

Posted: Fri Dec 05, 2014 11:43 am
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:

Re: What book for JAVA on zOS you recommend?

Posted: Tue Dec 09, 2014 11:34 am
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.

Re: What book for JAVA on zOS you recommend?

Posted: Tue Dec 09, 2014 11:45 am
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?

Re: What book for JAVA on zOS you recommend?

Posted: Tue Dec 09, 2014 2:31 pm
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.