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 5

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


Leo Yu

Leo Yu

question: why c) is incorrect? we know oracle will create table,index,lob for the java as well, I think those table/index/lob contains the meta data related java class?

gelete

gelete

A.

The loadjava tool creates schema objects from files and loads them into a schema.
Schema objects can be created from Java source, class, and data files.

Table 11-2 loadjava Argument Summary:
-user Specifies a user name, password, and database connection string.
The files will be loaded into this database instance.

http://docs.oracle.com/cd/B28359_01/java.111/b31225/cheleven.htm#JJDEV10060