Click here to Skip to main content
12,357,105 members (75,951 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Java
Hi All,

Right now iam developing one application that is using java and mainframes. the databse is residing at at mainframe server, if i want to access DB, first i need to login into mainframeserver from there i can able to access my db, iam using DB2. this is working fine.

NOW I WANT TO ACCESS MY db2 THRU JAVA, HOW CAN I DO THIS, PLZ HELP ME ON THIS
Posted 6-Jan-13 4:59am
Comments
Sandeep Mewara 6-Jan-13 11:04am
   
Tried anything so far?
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

The answer may depend on how the mainframe system is accessed. However, take a look at the JDBC interface[^] which may provide you with a solution.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

 iam developing one application that is using java and mainframes

Please be aware that the name "mainframe" is taken. I suppose you are talking about JFrame components of your application.

I would suggest a decent RMI Connection[^] (Tutorial @ oracle.com). That is well documented and often used.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 6 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100