How can I use Java and SQL together?

A guiding principle for the design of Java in the database is that it provides a natural, open extension to existing SQL functionality.

You can use classes that are part of the Java API, and classes created and compiled by Java developers.