title: How to create multiple database connections for different databases in java
body: <p>I have an application which uses four databases in different geographical locations. All the databases contains same tables and only the database name is different according to the location.
  I have to create some reports in my application which uses data from each database. What would be the proper way to create those database connection from a java application and is there a suitable design pattern for this task which I could use?</p>