Can I pass a database connection using RMI?
We assume you mean: java.sql.Connection from java.sql.DriverManager.getConnection(). The answer is that you cannot. You cannot pass a reference to something other than a RemoteObject() with RMI, only copies, (serializable), of data.
What you can pass are the data fields, (String, int, etc.), within the database after a Select.