You have established a connection to the database.
More information: Connecting to a Database
Proceed as described in the JDBC specification.
More information: http://java.sun.com/products/jdbc