I've had success using the ResultSet class in java.sql. in the API specs on the java.sun page there are some examples and what not.
basicly what you do is
in psudo code*
// set Result rs = statemant.executeQuerry("SQL Querry");
//rs.next() will let you go through the rows
//String s = rs.getString(columnNo.);
that's a really simple and ugly overview, but once you start looking at the Java docs on
http://java.sun.com/reference/api/index.html you'll get the idea on what to do.
John Martinson