This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Welcome to JavaRanch, kit james! Using a java.sql.Statement, you can execute database server specific queries. I'm not familiar with MySQL's dump command, but have you tried to simply execute a query using the same dump command that would be used from a MySQL console?