I have database file (MS Access file) containing username and password on a remote server. How to access this database in my Java Program?

Following is the Java code if "myDB.mdb" file is present in the application directory

String database =
"jdbcdbcriver={Microsoft Access Driver (*.mdb)};DBQ=myDB.mdb;";
Connection conn = DriverManager.getConnection(database, "", "");

If the "myDB.mdb" is on a server then what is the code to access the file?
Any suggestions? Or Is it possible with other database?