You can ...
You'll have to configure ddf on the mainframe db2 ...
Then use a product like DB2 Connect to communicate with the mainframe ... DB2 connect provides jdbc drivers which can be used to access db2 ...
http://www-306.ibm.com/software/data...manualsv8.html
provides information ... Start with Quick Beginnigns and then follow on to the User's guide ... Also, refer the db2 installation guide for your version of mainframe db2 to setup ddf
HTH
Sathyaram