Maring S.
Table of contents :
Oracle9i……Page 1
Send Us Your Comments……Page 11
Preface……Page 13
1 Overview……Page 17
object adapter……Page 18
About CORBA……Page 19
CORBA Features……Page 21
Using JNDI and IIOP……Page 22
IIOP……Page 23
URLs……Page 24
2 Getting Started……Page 25
A First CORBA Application……Page 26
Writing Interfaces in IDL……Page 27
Generating Stubs and Skeletons……Page 28
Writing the Server Object Implementation……Page 30
Writing the Client Code……Page 32
Client Authentication Information……Page 33
Client Example……Page 34
Compiling the Java Source……Page 35
Loading the Classes into the Database……Page 36
Running the Example……Page 37
Using IDL……Page 39
Running the IDL Compiler……Page 40
Basic Types……Page 43
Constructed Types……Page 44
Collections……Page 45
CORBA System Exceptions……Page 47
Client Side……Page 48
About Object Activation……Page 49
Debugging Techniques……Page 50
Using a Debug Agent for Debugging Server Applications……Page 51
3 Configuring IIOP Applications……Page 53
Oracle9i Database Templates For Default Configuration……Page 54
Overview of Listeners and Dispatchers……Page 56
Redirect to GIOP Dispatcher……Page 58
Hand Off to Generic Dispatcher……Page 59
Configuring The Dispatcher Through Editing Initialization Files……Page 60
Direct Dispatcher Connection……Page 61
Dynamic Listener Endpoint Registration……Page 62
Static Configuration of the Oracle Net Services Listener……Page 63
SSL Configuration for EJB and CORBA……Page 64
Configure the Wallet Location through Oracle Net Manager……Page 65
4 JNDI Connections and Session IIOP Service……Page 69
JNDI Connection Basics……Page 70
The Name Space……Page 71
Execution Rights to Database Objects……Page 72
URL Syntax……Page 73
URL Components and Classes……Page 74
Using JNDI to Access Bound Objects……Page 75
URL_PKG_PREFIXES……Page 77
SECURITY_AUTHENTICATION……Page 78
The JNDI InitialContext Methods……Page 79
lookup……Page 80
Session IIOP Service Overview……Page 81
Oracle9i JVM Tools……Page 82
Session Management……Page 83
Methods……Page 84
Session Context Class……Page 85
Session Management Scenarios……Page 86
Setting Session Timeout……Page 94
Set the Session Timeout from a Server Object……Page 95
Activating In-Session CORBA Objects From Non-IIOP Presentations……Page 96
Retrieving the NameService Initial Reference……Page 97
Retrieving Initial References from ORBDefaultInitRef……Page 101
5 Advanced CORBA Programming……Page 103
Running the SQLJ Translator……Page 104
Implementing CORBA Callbacks……Page 105
Client Code……Page 106
Callback Client-Server Implementation……Page 107
Retrieving Interfaces With The IFR……Page 108
Circular References Between Interfaces……Page 109
Retrieving Interfaces Explicitly……Page 110
Using the CORBA Tie Mechanism……Page 113
JNDI Lookup……Page 114
Providing ORB Properties……Page 115
Providing ORB Properties with Username, Password, and Role……Page 116
CORBA ORB Interface……Page 117
Invoking CORBA Objects From Applets……Page 118
Performing Object Lookup in Applets……Page 119
Modifying HTML for Applets that Access CORBA Objects……Page 120
Interoperability with Non-Oracle ORBs……Page 123
Java Client Using Oracle ORB……Page 124
C++ Client Interoperability……Page 125
IIOP Transport Protocol……Page 127
6 IIOP Security……Page 129
Overview……Page 130
Using the Secure Socket Layer……Page 131
SSL Version Negotiation……Page 132
Authentication……Page 133
Client-Side Authentication……Page 134
Using JNDI for Authentication……Page 136
Providing Username and Password for Client-Side Authentication……Page 137
Username Sent by Setting JNDI Properties for the Login Protocol……Page 138
Username Sent by Explicitly Activating a Login Object……Page 139
Specifying Certificates in a File……Page 141
Specifying Certificates in Individual JNDI Properties……Page 142
AuroraCertificateManager Class……Page 144
requestClientCertificate……Page 145
setProtocolVersion……Page 146
Typical Client/Server……Page 148
Callbacks using Security……Page 149
Authorization……Page 154
Parsing Through the Server’s Certificate Chain……Page 155
getNegotiatedCipherSuite……Page 156
getPeerDERCertificateChain……Page 157
getNegotiatedProtocolVersion……Page 158
7 Transaction Handling……Page 161
Transaction Overview……Page 162
Demarcating Transactions……Page 163
UserTransaction Interface……Page 164
Transaction Context Propagation……Page 165
Enlisting Resources……Page 166
Two-Phase Commit……Page 167
JTA Summary……Page 168
Environment Initialization……Page 169
Summary of Single-Phase and Two-Phase Commit……Page 170
JTA Server-Side Demarcation……Page 173
JTA Client-Side Demarcation……Page 174
Developing the Client Application……Page 175
JTA Client-Side Demarcation Including Databases……Page 176
Developing the Client Application……Page 178
Enlisting Resources on the Server-side……Page 179
Binding Transactional Objects in the Namespace……Page 181
Bind UserTransaction Object in the Namespace……Page 182
Bind DataSource Object in the Namespace……Page 184
Configuring Two-Phase Commit Engine……Page 185
Creating DataSource Objects Dynamically……Page 189
Setting the Transaction Timeout……Page 190
Java Transaction Service……Page 191
JTS Client-Side Demarcation……Page 192
JTS Server-Side Demarcation……Page 194
Interoperability……Page 196
TransactionService……Page 197
Java Transaction Service Methods……Page 198
Current Transaction Methods……Page 199
For More Information on JTS……Page 201
JDBC Restrictions……Page 202
A Example Code: CORBA……Page 203
Server……Page 204
AccountManagerImpl.java……Page 205
AccountManagerImplTie.java……Page 206
Client.java……Page 207
StoredClient.java……Page 208
Bank.IDL……Page 209
AccountManagerImpl.java……Page 210
AccountManagerImplTie.java……Page 211
Client.java……Page 213
PrintIDL.java……Page 214
Server.IDL……Page 220
Client.java……Page 221
ClientImpl.java……Page 222
Client.java……Page 223
Bank.IDL……Page 224
AccountManagerImpl.java……Page 225
Client.java……Page 226
Client.java……Page 229
EmployeeServer.sqlj……Page 233
Employee.IDL……Page 234
Client.java……Page 235
Server……Page 237
Client.java……Page 242
Server……Page 244
Hello.IDL……Page 245
Client.java……Page 246
Client.java……Page 247
Hello.IDL……Page 250
Client.java……Page 251
Server……Page 252
HTML for JDK 1.2……Page 253
HTML for Oracle JInitiator……Page 254
Applet Client……Page 255
HTML for Visigenic Client Applet……Page 256
Visigenic Client Applet……Page 257
B Comparing the Oracle9i and VisiBroker VBJ ORBs……Page 259
Object References Have Session Lifetimes……Page 260
Implementation by Delegation Is Different……Page 261
Clients Look Up Object Names with JNDI……Page 262
Oracle9i Client……Page 263
VBJ Client……Page 264
VBJ Account Implementation……Page 265
Oracle9i Account Manager Implementation……Page 266
VBJ Account Manager Implementation……Page 267
VBJ Server Mainline……Page 268
C Abbreviations and Acronyms……Page 269
Index……Page 277
Reviews
There are no reviews yet.