As far as I understand, as soon as I execute
Class.forName(\"net.sourceforge.jtds.jdbc.Driver\");
I initialize the application to use JTDS
You need to use DataSource. Configure a DataSource for each type of connection and the use the appropriate DataSource each time (e.g. via the proper DAO)
DataSource
DAO