Java library for managing primary - secondary entities
<p>I am looking for a generic java library that solves the problem of primary - secondary entities (like a connection manager that manages connections to primary and secondary servers and returns connection object accordingly depending on availability). I searched but couldn't find relevant answers. Can some one give me a lead as to whether there exist such a library and if so please specify. Thank you</p>
