Working with Java and SQLJ Stored Procedures

A stored procedure is a compiled program that can execute SQL statements and is stored at a local or remote Db2 server. A Java™ stored procedure is a stored procedure program written in Java™ that can contain SQL statements. A SQLJ stored procedure is also a stored procedure program written in Java with additional features that enable the embedding of static SQL statements.