DB Reconnect to an Available Database Instance (AS Java) for IBM DB2 for z/OS 
For AS Java with IBM DB2 z/OS, there is a similar mechanism to the DB reconnect functionality available for AS ABAP. A standby database configuration can be used to implement cascaded failover and reconnect to standby databases.
This setup uses parallel database technology, where AS Java instances are connected to one database instance with an additional database instance on another host available as a standby instance.
In the event of a failure of the database connection to the primary database instance, a reconnect is made to a standby instance.
Note
IBM DB2 z/OS implements this reconnect feature based on the native database failover feature of the IBM Data Server Driver for JDBC, which is packaged as part of DB2 Connect. For more information, see SAP note 1085521.