Which statement is true about the command?

You designed a CardValidation.java Java source file. You also have the corresponding
CardValidation.class file. As part of invoking a Java class method, you executed this command at
the command prompt:

loadjava -user oe/oe CardValidation.java

Which statement is true about the command?

You designed a CardValidation.java Java source file. You also have the corresponding
CardValidation.class file. As part of invoking a Java class method, you executed this command at
the command prompt:

loadjava -user oe/oe CardValidation.java

Which statement is true about the command?

A.
It loads the Java code into the database.

B.
It publishes Java methods in CardValidation.java.

C.
It loads the metadata related to the Java class file into the database.

D.
It loads the Java class file into the Java pool in the database instance.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Leo Yu

Leo Yu

A Java class must be made available in the database for its access from a
PL/SQL program. Oracle provides a command-line utility tool known as
loadjava to perform the program loading activity. Internally, the loadjava
utility creates some schema objects such as tables and an index. Then the
class files and source files are loaded in PL/SQL as Java objects. The syntax
of the utility is as follows:
loadjava {-user | -u} username/password[@database] [option …]
filename [filename ]…
Whenever a Java class is loaded into the database through the command link utility,
JVM acknowledges the request. It loads the Java binaries and resources from the OS
location to the database library units. This operation is similar to the generation of
shared library units in an external C program access through PL/SQL.
The help regarding the loadjava command-line tool can be found using loadjava
-h | -help.