xix
List of Figures
1–1 Classes and Instances ................................................................................................................. 1-3
1–2 Java Component Structure ........................................................................................................ 1-6
1–3 Oracle Database Java Component Structure........................................................................... 1-7
1–4 Class Hierarchy ........................................................................................................................... 1-8
1–5 Two-Tier Client/Server Configuration.................................................................................... 1-9
1–6 Garbage Collection .................................................................................................................. 1-11
1–7 Interpreter versus Accelerator ............................................................................................... 1-13
1–8 Main Components of an Oracle JVM.................................................................................... 1-17
2–1 Java Environment Within Each Database Session ................................................................. 2-2
2–2 Loading Java into Oracle Database .......................................................................................... 2-4
2–3 Rights to Run Classes .............................................................................................................. 2-16
2–4 Invoker’s rights Solution......................................................................................................... 2-17
2–5 Indirect Access.......................................................................................................................... 2-17
2–6 The Summary Tab of the JConsole Interface........................................................................ 2-34
2–7 The Memory Tab of the JConsole Interface.......................................................................... 2-35
2–8 The Threads Tab of the JConsole Interface .......................................................................... 2-37
2–9 The Classes tab of the JConsole interface ............................................................................. 2-38
2–10 Displaying the Attributes of an MBean ................................................................................ 2-39
2–11 Displaying a Chart of the Values of an Attribute................................................................ 2-39
2–12 Displaying Details of a Complex Attribute in the MBeans Tab........................................ 2-40
2–13 Operations Tab of the MBeans Tab of the JConsole Interface........................................... 2-41
2–14 The VM Tab of the JConsole Interface .................................................................................. 2-41
2–15 Attributes Tab of the OracleRuntime MBean ...................................................................... 2-42
2–16 OracleRuntime MBean............................................................................................................ 2-43
2–17 Operation sessionsRunningJava............................................................................................ 2-43
2–18 Operation sessionDetailsBySID ............................................................................................. 2-44
2–19 Setting the Usage Threshold and Collection Usage Threshold in the MBeans Tab....... 2-45
2–20 Memory Tab of the JConsole Interface When Used Memory Exceeds the Usage Threshold..
2-46
3–1 Client-Side Stub Interface ....................................................................................................... 3-11
5–1 Calling a Stored Procedure........................................................................................................ 5-1
6–1 Calling a Java Method................................................................................................................ 6-2
8–1 Rule for Drawing an E-R Diagram........................................................................................... 8-2
8–2 E-R Diagram for Purchase Order Application........................................................................ 8-3
8–3 Schema Plan for Purchase Order Application........................................................................ 8-4
9–1 Configuring Oracle JVM Memory Parameters....................................................................... 9-5
12–1 Web Services Call-In to the Database ................................................................................... 12-2
12–2 Calling Web Services From Within the Database ............................................................... 12-4
12–3 Storing Results from Request in a Virtual Table ................................................................. 12-5
12–4 Creating Web Services Call-Out Stubs ................................................................................. 12-6