File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Interaction of Java with Mainframes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Interaction of Java with Mainframes" Watch "Interaction of Java with Mainframes" New topic

Interaction of Java with Mainframes

Chidananda Sulur

Joined: May 10, 2000
Posts: 14
I would like to know the ways possible for interaction b/w Java applications and mainframes other than MQ series(if any)?

Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
You can use a DB2 database just like an Oracle database with JDBC:ODBC calls. Well. . . I've SEEN this done, I personally have never done it.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Brett Spell
Ranch Hand

Joined: Feb 24, 2001
Posts: 107
There's also at least one Type 4 (i.e., 100% Java) driver available that will allow you to use JDBC to interact with a DB2 database on a mainframe. It's available from HiT Software (, but I don't know how expensive it is.
Brett Spell
Author, Professional Java Programming
Johannes de Jong

Joined: Jan 27, 2001
Posts: 5089
Thanks for the tip Brett.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
We use Neon ShadowDirect.
Other interactions between java applications: sockets, RMI, EJB, CORBA
mainframes: CORBA, JDBC, ITOC

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Travis Gibson
Ranch Hand

Joined: Oct 17, 2000
Posts: 100
Howdy Fellow Ranchers,

We use DB2 Connect with the (TYPE 4) drivers to access DB2 tables on a IBM 3494 Mainframe. It's pretty cool. We have Batch COBOL/DB2 programs which still run nighty and do all kinds of updates from data entry. Then we have server-side JSP and Servlets which produce web content.
Go to:
Travis M. Gibson, SCJP

Regards,<BR>Travis M. Gibson, SCJP<BR>Java Developer<BR><BR>
Tom Caldwell
Ranch Hand

Joined: Oct 09, 2000
Posts: 39
We use Websphere,
We can bring up about 1000 rows in hmtl table format of a select from a million row DB2 table on an IBM mainframe in about 2 seconds, using a jdbc servlet.
It takes me about a minute just to get TO db2 on the mainframe.
I agree. Here's the link:
subject: Interaction of Java with Mainframes
It's not a secret anymore!