Oracle8
i
Java Developer's Guide
Release 2 (8.1.6)
A81353-01
Library
Product
Contents
Index
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Symbols
#sql, 3-13,
3-14
A
act method, 5-33
Agent protocol, 3-18
application
compiling, 2-14
development, 2-3
distributed, 1-20
executing in a session, 2-3
execution control, 2-6
execution rights, 2-26
invoking, 3-3,
3-22
threading, 2-43
attributes
definition, 1-3
types of, 1-4
Aurora
definition, 2-2
aurora_client.jar file, 3-19
authentication, 5-2
B
BasicPermission, 5-13
bean, 1-20
bytecode
defined, 1-8
verification, 2-21
C
call
definition, 2-2
managing resources across calls, 2-40
static fields, 2-5
call specification, 3-4,
3-5
Callback class
act method, 5-33
class
attributes, 1-3,
1-5
definition, 1-2
dynamic loading, 1-16
execution, 2-2
hierarchy, 1-5
inheritance, 1-5,
1-6
loading, 2-2,
2-6,
2-22
marking valid, 2-19
methods, 1-3,
1-5
name, 2-31
publish, 2-2
resolving references, 2-19
Class class
getClassLoader method, 2-34
.class files, 2-13,
2-22,
2-23
Class interface
forName method, 2-32
class schema object, 2-13,
2-19,
2-22,
2-23,
A-1,
A-3
classes
loading, 3-2
protected, 5-25
publishing, 2-29,
3-2
resolving, 3-2
classes111.zip, 2-8
classes12.zip, 2-8
ClassForName class
lookupClass method, 2-35
classForNameAndSchema method, 2-34
ClassNotFoundException, 2-32
CLASSPATH, 2-13,
2-32,
4-9
client
setup, 4-8
code
native compilation, 5-25
CodeSource class, 5-5
equals method, 5-5
implies method, 5-5
COM, 1-21
compiling, 2-14
error messages, 2-15,
A-5
memory problems, 5-30
options, 2-15,
A-5
runtime, 2-14
component, 1-20
configuration, 4-1
JServer, 4-6 to
4-8
performance, 5-27
connection
configuration, 4-6
security, 5-2
CORBA
configuring, 4-7,
4-8
CosNaming, 3-7
defined, x,
1-17,
1-20,
2-5,
3-2,
3-6,
3-7
documentation, 1-22
example, 3-9
invoking, 3-2
Java 2 support, 2-9
pure CORBA using Java 2, 2-12
security, 5-2
CosNaming, 3-7
D
data confidentiality, 5-2
database
configuration, 4-6
privileges, 5-3
DBA_JAVA_POLICY view, 5-6,
5-17,
5-19
DBMS_JAVA package, 3-20,
4-3
defined, 5-5
delete_permission method, 4-5,
5-18
disable_permission method, 4-5,
5-17
dropjava method, 4-4
enable_permission method, 4-5,
5-18
get_compiler_option method, 4-4
grant_permission method, 4-5,
5-8,
5-9
grant_policy_permission method, 4-5,
5-11,
5-19
loadjava method, 4-4
longname method, 2-28,
2-31,
4-3
manipulating security, 2-9
modifying permissions, 5-18
modifying PolicyTable permissions, 5-9,
5-11
reset_compiler_option method, 4-4
restart_debugging method, 3-21,
4-5
restrict_permission method, 4-5,
5-9,
5-10
revoke_permission method, 4-5,
5-17
set_compiler_option method, 4-4
set_output method, 3-22,
4-4
setting permissions, 5-6
shortname method, 2-28,
2-31,
4-3
start_debugging method, 3-20,
4-5
stop_debugging method, 4-5
DBMS_OUTPUT package, 4-4
DbmsJava class, see DBMS_JAVA package
DbmsObjectInputStream class, 2-35
DbmsObjectOutputStream class, 2-35
deadlock, 2-44
DeadlockError, 2-44
DeadlockError exception, 2-44
debug
compiler option, 2-16
loadjava option, A-8
DebugAgent class, 3-19
debugging, 4-5,
5-24
agent, 3-19,
3-20
connecting a debugger, 3-21
Java applications, 3-17
necessary permissions, 5-24
starting Debug Agent, 3-20
starting proxy, 3-19
using JDeveloper, 3-18
using OracleAgent class, 3-21
DebugProxy class, 3-18,
3-19
debugproxy command, 3-20
definer
loadjava option, A-8,
A-10,
A-12
definer rights, 2-26
delete method, 5-18
delete_permission method, 4-5,
5-18
deployejb tool, 2-30
digest table, A-4
disable method, 5-17
disable_permission method, 4-5,
5-17
distributed objects, 1-20,
3-6
documentation, 1-1,
1-21
dropjava method, 4-4
dropjava tool, 2-24,
A-15
E
EJB
component, 1-20
configuring, 4-7,
4-8
defined, x,
1-17,
1-20,
2-5,
3-2,
3-6,
3-7
documentation, 1-22
example, 3-8
invoking, 3-2
security, 5-2
state, 1-20
enable method, 5-18
enable_permission method, 4-5,
5-18
encoding
compiler option, 2-16,
A-5
loadjava option, A-8
end-of-call migration, 5-31
EndOfCallRegistry class, 5-32
registerCallback method, 5-33
Enterprise Java Beans, see EJB
equals method, 5-5
errors
compilation, 2-15
exception, 2-44
ClassNotFoundException, 2-32
IOException, 2-38
LimboError, 2-44
ThreadDeathException, 2-45
execution rights, 2-26
exitCall method, 2-45
exitSession method, 2-5,
2-45
F
file names
dropjava, A-17
loadjava, A-10
FilePermission, 5-8,
5-18,
5-20,
5-22
files, 2-37
across calls, 2-40
lifetime, 2-38
finalizers, 2-40
footprint, 1-14,
2-4
force
loadjava option, A-9
forName method, 2-32
G
garbage collection, 1-13,
1-14,
2-5
managing resources, 2-37
misuse, 2-39
purpose, 2-39
General Inter-Orb Protocol, see GIOP
get_compiler_option method, 2-16,
4-4,
A-6
getCallerClass method, 2-34
getClassLoader method, 2-34
GIOP
configuring, 4-6,
4-7
presentation, 4-8
grant
loadjava option, A-8,
A-9
grant method, 5-8
grant_permission method, 4-5,
5-8,
5-9
grant_policy_permission method, 4-5,
5-11,
5-19
granting permission, 5-5
grantPolicyPermission method, 5-12
GUI, 2-30
I
IIOP
configuring, 4-7
defined, 3-7
SSL, 4-8
implies method, 5-5
inheritance, 1-5,
1-6
init method, 2-10
initjvm.sql, 4-2,
4-3,
4-6
installation, 4-1,
4-2
integrity, 5-2
interfaces
defined, 1-6
user, 2-30
internet newsgroups, xi
invoker rights, 2-26
IOException, 2-38
J
Java
applications, 2-1,
2-14
loading, 2-22
attributes, 1-3
class, 1-2
client
CLASSPATH, 4-9
setup, 4-8
compiling, 2-14
development environment, 2-13
differences from Sun JDK, 2-3
distributed applications, x,
3-2
documentation, x,
1-1,
1-21
execution control, 2-6
execution rights, 2-26
features, 1-11
in the database, 1-1,
1-12,
2-1,
2-2
interpreter, 2-2
introduction, ix
invoking, 2-2,
3-3
loading classes, 2-6,
3-2
checking results, 2-27
methods, 1-3
overview, 1-1,
1-2
permissions, 4-5
polymorphism, 1-6
programming models, x
publishing, 2-7
resolving classes, 2-19
resources, 1-2
stored procedures, see Java stored procedures
Java 2
migrating from JDK 1.1, 2-7
migrating security, 2-9
security, 5-3
Java Compatibility Kit, see JCK
.java files, 2-13,
2-22,
2-23
java interpreter, 2-2,
2-6
Java language specification, see JLS
Java Naming and Directory Interface, see JNDI
Java Native Interface, see JNI
Java Remote Method Invocation, see RMI
Java stored procedures, x,
2-5
configuring, 4-7
defined, 1-17,
1-18,
3-3
documentation, 1-22
invoking, 3-2
publishing, 2-29
Java virtual machine, see JVM
JAVA$OPTIONS table, 2-15,
A-5
JAVA_ADMIN role
assigned permissions, 5-20
example, 5-13
granting permission, 5-3,
5-5,
5-11,
5-19
JAVA_MAX_SESSIONSPACE_SIZE parameter, 5-28
JAVA_POOL_SIZE parameter
default, 4-6
defined, 5-27,
5-28
errors, 5-30
minimum value, 4-3
JAVA_SOFT_SESSIONSPACE_LIMIT parameter, 5-27
JAVADEBUGPRIV role, 5-23,
5-24
java.sql package, 2-8
JAVASYSPRIV role, 5-4,
5-22,
5-23
JAVAUSERPRIV role, 5-4,
5-22,
5-23
JCK, 1-11
jdb debugging tool, 3-18,
3-22
JDBC
2.0 support, 2-8
accessing SQL, 1-18
defined, 1-17,
3-2,
3-11
documentation, 1-22
driver types, 1-19,
3-11
example, 3-12
interacting with SQL, 3-17
security, 5-2
web information, x
JDeveloper
debugging, 3-17,
3-18
development environment, 1-21,
3-16,
4-10
JDK
requirements, 4-8
web location, xi
JLS
specification, 1-11
web information, xi
JNDI
defined, 3-7
name lookup, 3-8
JNI support, 3-10
JPublisher
documentation, 1-22
JServer
configure, 4-1
definition, xi,
2-2
install, 4-1,
4-2
JServerPermission, 5-8,
5-19,
5-21,
5-22,
5-23
defined, 5-19
JVM
bytecodes, 1-8
defined, 1-2,
1-8
garbage collection, 1-13,
1-14
multithreading, 1-13
responsibilities, 2-4
security, 4-5
specification, 1-11
web information, xi
L
LimboError exception, 2-44
loading, 2-22 to
2-29
checking results, 2-24,
2-27
class, 1-16,
2-6,
2-14
compilation option, 2-14
granting execution, 2-26
JAR or ZIP files, 2-25
necessary privileges and permissions, 2-25
reloading classes, 2-26
restrictions, 2-24
loadjava method, 4-4
loadjava tool, 2-23 to
2-25,
A-1 to
A-2
compiling source, 2-14,
5-31
example, 3-4
execution rights, 2-26,
5-3
loading class, 2-22
loading ZIP or JAR files, 2-25
restrictions, 2-24
using memory, 5-27
logging, 2-15
longname method, 2-28,
2-31,
4-3
lookupClass method, 2-35
M
main method, 2-6
memory
across calls, 2-39
call, 2-5
java pool, 5-29
leaks, 2-39
lifetime, 2-37,
2-38
manager, 2-14
performance configuration, 5-27
running out of, 5-30
session, 2-5,
5-33
methods, 1-3,
1-5
multithreading, 1-13
N
name service, 3-7
CosNaming, 3-7
JNDI, 3-7
native compilation, 1-15,
5-25
Net8
configuring, 4-6
NetPermission, 5-8,
5-18,
5-20,
5-21
networking
configuration, 4-6
noverify
loadjava option, A-9,
A-12
O
object
full to short name conversion, 2-28
lifetime, 2-38
schema, 2-13
serialization, 2-35
short name, 2-28
ObjectInputStream class, 2-35
ObjectOutputStream class, 2-35
oci8
dropjava option, A-16
loadjava option, A-9
online
compiler option, 2-16,
A-5
operating system
resources, 2-37
across calls, 2-40
lifetime, 2-38
performance, 5-26
permission, 2-38
OracleAgent class
restart method, 3-21
start method, 3-21
stop method, 3-21
oracle.jdbc2 package, 2-8
OracleRuntime class
exitCall method, 2-45
exitSession method, 2-5,
2-45
getCallerClass method, 2-34
Orb Class
init method, 2-10
ORBClass property, 2-12
ORBSingletonClass property, 2-12
order
loadjava flag, A-9
output
redirecting, 3-22
P
packages
DBMS_JAVA, 4-3
oracle.jdbc2, 2-8
protected, 5-25
performance, 1-15,
5-25 to
5-37
Permission class, 5-7,
5-13,
5-18
permissions, 4-5,
5-3 to
5-25
administrating, 5-11
assigning, 5-4,
5-6
creating, 5-13
deleting, 5-18
disabling, 5-17
enabling, 5-17
granting, 5-5,
5-8,
5-9
granting policy, 5-11
grouped into roles, 5-23
JAVA_ADMIN role, 5-20
JAVADEBUGPRIV role, 5-23
JAVASYSPRIV role, 5-22
JAVAUSERPRIV role, 5-22
PUBLIC, 5-22
restricting, 5-5,
5-9,
5-10
specifying policy, 5-4
SYS permissions, 5-21
types, 5-8,
5-18
policy table
managing, 5-11
modifying, 5-6
setting permissions, 5-6
viewing, 5-6
PolicyTable class
specifying policy, 5-4
updating, 5-5,
5-14
PolicyTableManager class
delete method, 5-18
disable method, 5-17
enable method, 5-18
revoke method, 5-17
PolicyTablePermission, 5-8,
5-11,
5-19,
5-21,
5-22
polymorphism, 1-6
presentation
compatibility for RMI, 3-10
presentation layer
GIOP, 4-8
privileges
database, 5-3
.properties files, 2-13,
2-22,
2-24
property
ORBClass, 2-12
ORBSingletonClass, 2-12
PropertyPermission, 5-8,
5-18,
5-20,
5-21,
5-22,
5-24
PUBLIC permissions, 5-22
publish tool, 2-30
publishing, 2-7,
2-14,
2-29,
3-2
example, 3-4
R
ReflectPermission, 5-8,
5-18,
5-21
registerCallback method, 5-33
requirements
JDK version, 4-8
reset_compiler_option method, 2-16,
4-4,
A-6
resolve
loadjava option, A-3,
A-9,
A-13
resolver, 2-19 to
2-22,
A-3
default, 2-20
defined, 2-13,
2-14,
2-20,
2-32,
3-2
example, 3-4
ignoring non-existent references, 2-20,
2-22
loadjava option, A-9,
A-13
spec, A-2
resource schema object, 2-13,
2-22,
2-24,
A-1
restart method, 3-21
restart_debugging method, 3-21,
4-5
restrict method, 5-9
restrict_permission method, 4-5,
5-9,
5-10
revoke method, 5-17
revoke_permission method, 4-5,
5-17
RMI
support, 3-10
RuntimePermission, 5-8,
5-18,
5-20,
5-21,
5-22,
5-23
S
schema
dropjava option, A-16
loadjava option, A-10
schema object
defined, 2-22,
A-1
name, 2-31
using, 2-13
security, 5-2 to
5-25
book recommendations, 5-4
CORBA, 5-2
EJB, 5-2
Java 2, 5-3
JDBC, 5-2
JVM, 4-5
network, 5-2
operating system resources, 2-38
SecurityManager class, 5-5
SecurityPermission, 5-8,
5-18,
5-21
.ser files, 2-13,
2-22,
2-24
SerializablePermission, 5-8,
5-18,
5-20,
5-22
serialization, 2-35
ServerSocket class, 2-42
session
coordination with JVM, 2-4
definition, 2-2
footprint, 1-14
lifetime, 2-5
role in Java execution, 2-3
timeout, 2-5
session shell tool, 3-9
set_compiler_option method, 2-16,
4-4,
A-5
set_output method, 3-22,
4-4
SHARED_POOL_SIZE parameter
default, 4-6
defined, 5-27
errors, 5-30
minimum value, 4-3
shortname method, 2-28,
2-31,
4-3
Socket class, 2-42
SocketPermission, 5-8,
5-18,
5-20,
5-22,
5-23
sockets
across calls, 2-37,
2-42
defined, 2-42
lifetime, 2-38,
2-42
source schema object, 2-13,
2-22,
2-23,
A-1
compiling, A-4
SQL
query, 3-2,
3-11
SQLJ
accessing SQL, 1-18
converting, 3-17
defined, x,
1-17,
1-19,
3-2,
3-11
documentation, x,
1-22
example, 3-13
interoperates with PL/SQL, 3-17
running, 3-16
translating, 3-16
typing paradigm, 3-15
using JDBC, 1-19
.sqlj files, 2-13,
2-22,
2-23
sqlj utility, 3-16
SSL, 4-8
configuring, 4-6
start method, 3-21
start_debugging method, 3-20,
4-5
static compilation, 5-26
static variable, 2-5
end of call migration, 5-31
stdout
loadjava flag, A-10,
A-17
stop method, 3-21
stop_debugging method, 3-20,
4-5
synonym
dropjava option, A-17
loadjava option, A-10
SYS
assigned permissions, 5-21
security permissions, 5-19
System class
getProperty method, 3-22
T
thin
dropjava option, A-17
loadjava option, A-10
ThreadDeathException, 2-45
threading
applications, 2-43
lifecycle, 2-44
model, 1-13,
2-43
using in JServer, 2-37
timeout, 2-5
trigger
using Java stored procedures, 3-3
U
user
dropjava option, A-16,
A-17
loadjava option, A-10,
A-14
user interface, 2-30
USER_ERRORS view, 2-15
USER_JAVA_POLICY view, 5-6,
5-19
USER_OBJECTS view, 2-24,
2-27,
4-4
V
V$SGASTAT table, 5-29
variables
static, 2-5
verbose
dropjava option, A-17
version
retrieving, 3-22
Visigenic, 2-9
Visigenic
version supported, 2-9
W
web sites, x
Prev
Copyright © 1999 Oracle Corporation.
All Rights Reserved.
Library
Product
Contents