Java stored procedures and user-defined functions
Like stored procedures and user-defined functions in any other language, Java stored procedures and user-defined functions are programs that can contain SQL statements. You invoke Java stored procedures from a client program that is written in any supported language.
The following topics contain information that is specific to defining and writing Java user-defined functions and stored procedures.
In these topics, the word routine refers to either a stored procedure or a user-defined function.