вот еще поиск по DriverManager:
PHP код:
String connectionUrl = "jdbc:sqlserver://MIDDLECOMP\\ETIS:1433; databaseName=EtisDisp;User=sa;Password=20";
// Declare the JDBC objects.
Connection con = null;
Statement stmt = null;
try {
// Establish the connection to the principal server.
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
con = DriverManager.getConnection(connectionUrl);