Developing Java applications for high availability
DB2 provides high availability solutions (also known as HA) to handle site failures. HA involves two clone servers that act as primary and secondary. When the primary server goes down, DB2 allows the secondary server to take over automatically. Once the secondary server takes over, the entire database traffic is automatically routed to the secondary server. This rerouting is implemented at the server and client side. In this recipe, we will discuss how we can make our Java applications use high-availability features to reroute to the secondary server.
Getting ready
The client applications can use the following features to achieve high availability:
- Automatic client reroute: The rerouting information ...
Get IBM DB2 9.7 Advanced Application Developer Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.