To access a MaxDB database instance from a Java application with SQL statements through JDBC, use the MaxDB JDBC driver.
See also:
Java Manual, JDBC Driver