5.Step to load driver:To load the driver we are using syntax:Class.forName("com.mysql.jdbc.Driver").newInstance();

6.Steps to make connection:We are using getConnection("url/database","user","password")
method to create a connection.Connection conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/employee","root","root");

7.Step to call procedure:We are using CallableStatement to
execute a stored procedure into java code. The following syntax is used to create an
object of CallableStatement interface.
CallableStatement calstat=conn.prepareCall("{call empproc(?,?,?)}");

8.Step to pass the values into procedure: To set the values we are using setXXX(). Here XXX is data type
Object class name, e.g setString() to pass string in procedure.