Testing a Second Application

Reflect for a moment on what we have done so far in the previous tests. We have an inner class in the OracleJavaSecure class that implements RevLvlClassIntfc, and we pass that to Oracle database for application validation. How does the Oracle JVM handle that inner class? Is it on the CLASSPATH or otherwise known to the Oracle JVM?

In this specific case, we actually loaded the class to Oracle Database when we loaded the outer class, OracleJavaSecure. If you have a SQL client application that lets you browse structures in Oracle, you can see the orajavsec.OracleJavaSecure.InnerRevLvlClass listed in the database. You can also execute this query to see it:


Get Expert Oracle and Java Security: Programming Secure Oracle Database Applications with Java now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.