You can create/call stored procedure from
java program.While calling stored procedure,first get Connection,then connection.prepareCall("{ call <name of stored procedure>(?,?) }");"?" represents IN parameter if you want to pass argument to stored procedure if any.connection.prepareCall() will return CallableStatement which is subinterface of PreparedStatement.