How to: call ms sql server stored procedure from jdbc

Recently, I needed to call a stored procedure with parameters for some debugging purposes. I use DbVisualizer, an awesome product, and with the SQL Commander utility I can write sql to any db that supports JDBC which is awesome because most do. Here is how you can call a stored proc from straight SQL over JDBC:{call pr_MyProcedureName @VarEndYear = 2007, @VarStartyear = 2005}