In this chapter, I explore the exciting new feature of Oracle8 i that allows a developer to call Java stored procedures (JSPs) from within PL/SQL. Java is a very powerful language, much more robust in many ways than PL/SQL. Java also offers hundreds of classes that provide clean, easy-to-use application programming interface (APIs) to a wide variety of functionality.
In Oracle8 i , Oracle includes a new product called JServer, which consists of the following elements:
Java in the Oracle database is a big topic; Java programming all by itself is an even bigger topic. Complete treatment of either is outside the scope of this book. My objectives for this chapter are limited to the following:
To access Java class methods from within Oracle, you must take the following steps:
Oracle8 i offers a variety of components and commands to work with Java. Table 9.1 summarizes these different elements.
The remainder of this chapter explains the steps outlined earlier and the components in Table 9.1 . For more thorough coverage of Java in the Oracle database, please consult the Oracle documentation.
Copyright (c) 2000 O'Reilly & Associates. All rights reserved.