Hi I have Java application which connects to different databases like DB2, MySQL etc. One way I can think of is in a configuration file we configure databases and create different JDBC Connection objects and connect to the databases.
Is this the best way to achieve this task? Or we can achieve this in a better way with minumum efficient code.
Please guide. Thanks in advance.