Skip to main content

Connect JDBC connection pool to replication DB setup

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
itdude
Offline
Joined: 2008-02-20

Running Glassfish (3.1.2) with a JDBC pool connecting to 1 DB instance.

Now I created a replication setup with a second DB node. I like to loadbalance the DB by allowing read access to the replication slave.

Can I do this by GF configuration or does my application implementation need to take care of this ?

Thanks for any feedback
Sven