Java Virtual Machine used within Oracle Environment
There are numerous uses of Java beyond Oracle applications, and there are many features of the language that will not be used by most Oracle developers. The goal of this chapter is to
provide developers who have a background in SQL and PL/SQL with an understanding of the Java language structures. This is not an exhaustive review of Java (there are numerous resources that accomplish that goal) but rather a short
overview of the Java language components most commonly used by Oracle developers. Although there are many cases in which PL/SQL and Java correlate well to each other, there are significant differences in terminology and usage.
That should not be surprising, since the two programming languages were developed independently.
Furthermore, PL/SQL's object-oriented capabilities were not part of its initial implementation, whereas Java has been object-oriented since its inception.
To useJava effectively, you need to take a different approach than the one you may have taken in the past with PL/SQL.