You can connect to as many different databases as you need to. It doesn't matter of which type they are, and by which means you acquire them. Also, you can call the Class.forName() methods all before you make the connection.
By the way, a database server does not have a type, the JDBC driver for a database has a type.
Ping & DNS - updated with new look and Ping home screen widget