Oracle9
i
Enterprise JavaBeans Developer's Guide and Reference
Release 1 (9.0.1)
Part Number A90188-01
Home
Book List
Contents
Master Index
Feedback
Index
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
R
S
T
U
W
X
Symbols
<assembly-descriptor> section, 2-23,
2-24,
A-4,
A-10
<attr-mapping> element, A-40
<cmp-field> element, 4-32,
4-36,
A-7,
A-39
<column-name> element, A-40
<container-transaction> element, 2-24,
A-27
<create-branches> element
transactions
branches, A-36
<default-enlist> element, A-35
<defaultEnlistment> element, 7-10
<ejb-class> element, A-6
<ejb-client-jar> element, 2-26,
A-28
<ejb-jar> element, 2-23,
A-4
<ejb-link> element, A-12,
A-13
<ejb-mapping> element, A-12,
A-13,
A-14,
A-31,
A-32
<ejb-name> element, 2-24,
2-25,
A-6,
A-12,
A-13
<ejb-ref> element, A-13
<ejb-ref-name> element, 4-38,
A-13,
A-14
<ejb-ref-type> element, A-13
<enterprise-beans> section, 2-23,
A-4
<entity> element, A-5
<env-entry> element, A-11
<env-entry-name> element, A-11
<env-entry-type> element, A-11
<env-entry-value> element, A-11
<field-name> element, A-40
<home> element, A-5,
A-13
<jndi-name> element, 2-27,
A-13,
A-14,
A-16,
A-18,
A-20,
A-31,
A-32,
A-33
<mapping> element, A-13,
A-16,
A-18,
A-20
<mappings> element, A-32
<method> element, 2-25,
A-27,
A-37
defined, A-24
<method-intf> element
defined, A-25
<method-name> element, A-28,
A-37
<method-permission> element, 2-24,
A-21
<mode> element, 2-25,
A-37
<oracle-descriptor> element, A-31,
A-32
<persistence-datasource> element, 4-36,
A-38
<persistence-deployer> element, A-38
<persistence-name> element, A-38,
A-39
<persistence-provider> element, A-38
<persistence-type> element, A-7
<prim-key-class> element, 4-12,
4-32,
A-7
<primkey-field> element, 4-32,
A-7
<PSI-RI> element, A-40
<reentrant> element, A-10
<remote> element, A-6,
A-13
<res-auth> element, 4-38,
A-16,
A-18,
A-20
<resource-ref> element, 4-38
<resource-ref-mapping> element, A-16,
A-18,
A-20,
A-33
<res-ref-name> element, 4-38,
A-16,
A-18,
A-20,
A-33
<res-type> element, 4-38,
A-16,
A-18,
A-20
<role-link> element, A-10,
A-21
<role-name> element, A-10,
A-21,
A-33,
A-37
<run-as> element, 2-25,
A-2,
A-36,
A-37
<schema> element, A-40
<security-role> element, 2-24,
A-21,
A-34,
A-36,
A-37
<security-role-mapping> element, A-34
<security-role-ref> element, A-10,
A-21
<serialize-mapping> element, A-41
<session> element, 2-23,
A-5
<table> element, A-40
<transaction-manager> element, 7-43,
A-34
defining 2pc engine, A-35
<transaction-type> element, A-10,
A-25
<trans-attribute> element, A-26
A
ACID properties, 7-2
acronyms, C-1
activation, 2-8,
4-22
ADDRESS parameter, 3-10,
3-12
afterBegin method, 7-51
afterCompletion method, 7-52
applet
invoking server objects from, 5-29
sandbox security restrictions, 5-30
APPLET_CLASS property, 5-30
aurora_client.jar file, 6-10
AuroraCertificateManager class, 6-24,
6-25
setCertificateChain method, 6-24
setEncryptedPrivateKey method, 6-24
AuroraCurrentManager class, 6-20
aurora.zip, 5-28
authenticate method, 5-20,
6-11
authentication
defined, 6-5
logout, 5-19,
6-11
server-side, 6-20
using SSL, 6-3
B
bean
accessing remotely, 2-2
creating, 2-3,
4-9
deploying multiple, A-30
deployment, 2-20
entity, 4-3
environment, 2-10
interface, 2-2
naming conventions, 2-4
removing, 2-5
retrieving reference, 2-17
session, 2-10,
4-2
bean-managed persistence, 4-9,
4-19
beforeCompletion method
SessionSynchronization interface, 7-52
begin method, 7-4,
7-26,
7-27,
7-29
bindds command, 7-39,
7-40,
7-50
bindds tool, A-15
bindms tool, A-17
bindurl tool, A-19
bindut command, 7-27,
7-30,
7-37,
7-38,
7-43
C
callback
client-side authentication, 6-25
server-side authentication, 6-22
using SSL, 6-21
callout
using SSL, 6-21
certificates, 6-20,
6-21,
6-24
manager, 6-24
ClassLoader property, 5-30
client
access existing bean, 5-23
CLIENT_IDENTITY property, 2-25,
A-36
client-side authentication, 6-5
Collection, 4-11,
4-18
commit method, 7-4,
7-26,
7-27,
7-30
configuring, 3-1 to
3-15
direct to dispatcher, 3-9
IIOP clients, 3-1 to
3-15
SSL over TCP/IP, 3-12
container-managed persistence, 4-28
defining data fields, 4-34
deploying, A-7,
A-37
managing primary key, 4-34
Context
JNDI object, 5-9
context
session, 2-10
transaction, 2-10
Context object
JNDI context, 2-16
JNDI object, 2-16
CosNaming service, 2-15,
5-2
create method, 2-12,
2-18,
4-10,
4-11
EJBHome interface, 2-3,
2-6
CreateException, 2-6
D
data integrity, 6-3
DataSource object, A-16
binding in namespace, 7-39,
7-40
create dynamically, 7-49
getConnection method, 7-11,
7-14,
7-33
DebugAgent class, 2-30
restart method, 2-30
stop method, 2-30
debugging techniques, 2-29
deployejb tool, 2-19,
2-21,
2-26
deployment descriptor, 1-6,
2-3,
2-19,
4-10,
A-1
bean identity, 2-25
bean names, A-5,
A-32
bean type, A-5
EJB reference, A-12
entity bean, 4-24
environment variables, A-11
JDBC DataSource, A-14,
A-33
mapping logical names, A-31
Oracle-specific elements, A-29
persistence, A-7
reentrancy, A-10
run-as identity, A-36
security, 2-24,
A-10,
A-21,
A-33
specifying multiple beans in JAR, A-30
transactions, 2-24,
A-10,
A-25
XML, 2-20
DESCRIPTION parameter, 3-11
dispatchers
configuration, 3-4
connecting directly, 3-4
overview, 3-5
DriverManager class
getConnection method, 7-11
DTD file, 2-21,
2-23,
A-3,
A-29
dynamic registration
listening endpoints, 3-10
E
EJB
application developer role, 1-3
basic concepts, 1-2,
1-7
container vendor role, 1-3
creating beans, 2-3,
4-9
deployment, 1-2,
2-19,
2-20
deployment descriptor, 1-2,
A-1
developer role, 1-2
difference between session and entity, 4-5
parameter passing, 2-13
programming restrictions, 2-28
remote interface, 2-4
security, 1-2
server vendor role, 1-3
URL for retrieving, 2-17
ejbActivate method, 2-8,
4-7,
4-22
EJBContext interface, 2-9
ejbCreate method, 2-3,
2-6,
4-6,
4-7,
4-10,
4-17,
4-29
initializing primary key, 4-14
EJBException, 2-6
ejbFindByPrimaryKey method, 4-10,
4-14,
4-29
EJBHome interface, 2-3,
2-4,
2-6,
4-9
create method, 4-10,
4-11
findByPrimaryKey method, 4-9,
4-10,
4-11
ejb-jar file, 2-3,
4-10
ejbLoad method, 4-7,
4-9,
4-19,
4-29
EJBMetaData interface, 2-6
EJBObject interface, 2-3,
2-4,
4-9,
4-12
ejbPassivate method, 2-8,
4-7,
4-22
ejbPostCreate method, 4-6,
4-10,
4-17,
4-29
ejbRemove method, 2-8,
4-6,
4-8,
4-21,
4-29
ejbStore method, 4-7,
4-9,
4-19,
4-29
endpoint, 3-5
endSession method, 5-19
Enterprise JavaBeans, see EJB
entity bean
activation and passivation, 4-22
bean-managed persistence, 4-19
class implementation, 4-15,
4-17
context information, 4-8,
4-22
creating, 4-7,
4-9,
4-10,
4-26
deploy, 4-24
destroying, 4-21
finder methods, 4-10,
4-11,
4-14,
4-30
home interface, 4-10,
4-26
overview, 1-9,
4-2,
4-3,
4-5
persistent data, 4-2,
4-9
primary key, 4-10
remote interface, 4-12,
4-16
removing, 4-8
retrieving reference, 4-26
EntityBean interface, 2-3,
2-8,
4-2,
4-6,
4-10,
4-29
ejbActivate method, 4-7,
4-22
ejbCreate method, 4-6,
4-7,
4-10,
4-29
ejbFindByPrimaryKey method, 4-10,
4-29
ejbLoad method, 4-7,
4-9,
4-19,
4-29
ejbPassivate method, 4-7,
4-22
ejbPostCreate method, 4-6
ejbRemove method, 4-6,
4-8,
4-21,
4-29
ejbStore method, 4-7,
4-9,
4-19,
4-29
implementation, 4-17
setEntityContext method, 4-7,
4-8,
4-22,
4-30
unsetEntityContext method, 4-7
Enumeration, 4-11
environment
defining EJB references, 4-37
locating DataSource, 4-38
retrieve, 2-10
environment references
URL, A-19
exceptions
creating, 2-7
F
findByPrimaryKey method, 4-9,
4-10
finder methods, 4-14,
4-30
ejbFindByPrimaryKey method, 4-18
entity bean, 4-11
findByPrimaryKey method, 4-11
where clause finder method, 4-30
G
General Inter-Orb Protocol, see GIOP
getEJBHome method, 2-5,
2-10,
2-13
getEnvironment method, 2-10
getHandle method, 2-5
getPrimaryKey method, 2-5
getRollbackOnly method, 2-10
getStatus method, 7-5
getUserTransaction method, 2-10
GIOP
dispatcher configuration, 3-4
presentation, 3-2
H
hand off, 3-7
handle
retrieving, 2-5
HeuristicMixedException, 7-4
HeuristicRollbackException, 7-4
home interface
creating, 2-3,
4-9
example, 2-7
getEJBHome method, 2-13
lookup, 2-12
overview, 1-6
requirements, 2-4
retrieving, 2-5
I
iAS
defining persistence database, 4-36
deploying EJBs, 2-20
IIOP, 1-4,
3-2,
5-15
clients
connecting to dispatchers, 3-4
MTS_DISPATCHER, 3-2
profile, 5-13
SSL support, 3-12
IIOP clients
configuring, 3-1 to
3-15
IllegalStateException, 7-4
InitialContext object, 2-16,
5-12
in-session activation, 5-24
Internet Inter-Orb Protocol, see IIOP
isIdentical method, 2-5
J
JAR
multiple beans, A-30
JAR file, 2-3,
2-21,
4-10
Java
URL, A-19
Java mail
Session object, A-17
Java Naming and Directory Interface, see JNDI
javax-ssl-1_1.jar, 5-11,
6-4
javax-ssl-1_2.jar, 5-11,
6-4
JDeveloper
debugging, 2-29
JNDI, 2-12
Context object, 5-9
EJB lookup, 4-26
initial context, 5-2
InitialContext constructor, 5-12
lookup method, 5-7,
5-12
overview, 2-15
retrieving JDBC DataSource, 4-38
retrieving references, 2-15
storing EJB references, 4-37
URL syntax, 4-26
jssl-1_1.jar, 5-11,
6-4
jssl-1_2.jar, 5-11,
6-4
JTA
bean-managed, 7-23
client-side demarcation, 7-26
container-managed, 7-19
enlisting resources, 7-9,
7-32
limitations, 7-53
nested transactions, 7-53
overview, 7-2
specification web site, 7-1
timeout, 7-50
two-phase commit, 7-12,
7-41
L
LDAP, 2-15
listener, 3-4
configuration, 3-5
dynamic, 3-10
static, 3-11
dynamic registration, 3-10
hand off, 3-7
overview, 3-5
redirection, 3-5,
3-6
login
non-JNDI login, 5-19,
6-11
Login class, 5-5,
6-11
LoginServer class, 6-11
authenticate method, 5-20,
6-11
logout method, 5-19,
6-11
LogoutServer class, 5-19,
6-11
lookup method, 2-17,
5-11,
5-12
M
mail
Session object, A-17
Mandatory transaction attribute, 7-6,
7-9,
A-27
metadata, 2-6
MTS_DISPATCHERS parameter
ADDRESS attribute, 3-10
overview, 3-2
PRESENTATION attribute, 3-8,
3-9,
3-10
PROTOCOL attribute, 3-9
N
namespace, 5-3
Never transaction attribute, 7-6,
7-9,
A-27
NON_SSL_LOGIN value, 2-16,
5-2,
5-10
NotSupported transaction attribute, 7-6,
7-8,
A-26
NotSupportedException, 7-4
O
object activation, 5-29
in-session, 5-24,
5-29
OracleDriver class
defaultConnection method, 7-11
OracleJTADataSource class, 7-50
ORB
initialization, 6-24
ORBClass property, 5-31
ORBdisableLocator property, 5-31
ORBSingletonClass property, 5-31
OSS.SOURCE.MY_WALLET parameter, 3-15
P
parameters
passing conventions, 2-13
pass by reference, 2-13
pass by value, 2-13
passivation, 2-8,
4-22
persistence
bean-managed, 4-9
container-managed, 4-28,
4-34
container-managed vs. bean-managed, 4-27
create database tables, 4-23
data initialization, 4-17
data management, 4-7
defining storage database, 4-36
deployment descriptor, 4-34,
A-2,
A-7
managing, 4-10,
4-28
overview, 4-2
PSI-RI, 4-28
persistence provider, 4-34
Persistence Service Interface Reference Implementation, see PSI-RI
presentation
GIOP, 3-2,
3-8
oracle.aurora.server.SGiopServer, 3-8
PRESENTATION attribute, 3-8,
3-9,
3-10,
3-12
primary key, 4-9,
4-10
complex, 4-32
creating, 4-14
entity bean, 4-31
finder method, 4-18
identify entity bean, 4-10
intializing, 4-34
management, 4-7
overview, 4-2,
4-12
restriction, A-7
PROTOCOL attribute, 3-9
PROTOCOL_STACK parameter, 3-11
PSI-RI, 4-28,
A-37
published object
permissions, 5-4
R
RAW session layer, 3-12
redirection, 3-5,
3-6
regep tool, 3-10,
3-11
remote interface, 2-12,
4-16
creating, 2-3,
2-4,
4-9
example, 2-5
overview, 1-6,
2-2
requirements, 2-4
Remote Method Invocation
see
RMI
remote object
access, 1-2
definition, 4-3
RemoteException, 2-6
remove method, 2-5,
2-12
EJBHome interface, 2-3
Required transaction attribute, 7-6,
7-8,
A-26
RequiresNew transaction attribute, 7-6,
7-9,
A-27
restart method, 2-30
restrictions, 2-28
RMI, 2-4
rollback method, 7-5,
7-26,
7-27,
7-30
RollbackException, 7-4
S
Secure Socket Layer, see SSL
SECURITY_AUTHENTICATION property, 2-16,
5-10
SECURITY_CREDENTIALS property, 2-16,
5-10
SECURITY_PRINCIPAL property, 2-16,
5-10
SECURITY_ROLE property, 2-16,
5-10
SecurityException, 7-4
Serializable interface, 2-14
server-side authentication, 6-5
service name, 5-6,
5-11
session
logout, 5-19,
6-11
routing, 5-14
synchronization, 7-51
terminating from server-side, 5-19
SESSION attribute, 3-12
session bean
class implementation, 2-8
context, 2-9
creating, 2-7,
2-18
deploying, 2-19,
2-20
example, 2-10,
4-15
home interface, 2-7
overview, 1-9,
4-2
removing, 2-8
Session object, A-17
SessionBean interface, 2-8
EJB, 2-3,
2-8
ejbActivate method, 2-8,
4-7
ejbPassivate method, 2-8,
4-7
ejbRemove method, 2-8,
4-6
setSessionContext method, 2-9,
4-7
SessionContext
interface, 2-9
SessionSynchronization interface, 7-51
afterBegin method, 7-51
afterCompletion method, 7-52
beforeCompletion method, 7-52
setCertificateChain method, 6-24
setEncryptedPrivateKey method, 6-24
setEntityContext method, 4-7,
4-8,
4-22,
4-30
setRollbackOnly method, 2-10,
7-5
setSessionContext method, 2-9,
4-7,
4-8
setTransactionTimeout method, 7-5,
7-51
SID, 2-17,
5-6
SPECIFIED_IDENTITY property, 2-25,
A-36
SSL, 6-20
configuring, 3-12
connection security, 1-3
defined, 6-3
JAR files, 5-11,
6-4
protocol version numbers, 6-4
SSL_CLIENT_ AUTHENTICATION parameter, 3-15
SSL_CLIENT_AUTH value, 2-16,
5-11
SSL_CREDENTIAL value, 2-16,
5-10
SSL_LOGIN value, 2-16,
5-10
SSL_VERSION parameter, 3-15
SSL_VERSION property, 2-17,
3-15
start method, 2-30
stop method, 2-30
Supports transaction attribute, 7-6,
7-8,
A-26
system identifier, see SID
SYSTEM_IDENTITY property, 2-25,
A-36
SystemException, 7-4
T
trace files, 2-29
transaction
bean-managed, 7-7,
7-23
client-side demarcation, 7-26
commit, 2-10
container-managed, 7-5,
7-8,
7-19
context propagation, 2-10,
7-7
demarcation, 7-3
deployment descriptor, 7-6,
A-26
enlist local resource, A-35
enlisting resources, 7-9,
7-32
global, 7-3
limitations, 7-53
local resource enlistment, 7-10
overview, 1-2,
7-2
retrieve status, 2-10
rollback, 2-10
timeout, 7-50
two-phase commit, 7-12,
7-41
Transaction class, 7-3
TransactionManager class, 7-3
TTC, 5-13
two-phase commit, 7-41
two-task common, see TTC
U
unsetEntityContext method, 4-7,
4-30
URL
binding in namespace, A-19
syntax for, 5-5
used as JNDI parameter, 2-17
URL object, A-19
URL_PKG_PREFIXES property, 2-16,
5-9
USE_SERVICE_NAME property, 5-11
UserTransaction
bind in namespace, 7-37
UserTransaction interface, 7-4
begin method, 7-4
commit method, 7-4
getStatus method, 7-5
rollback method, 7-5
setRollbackOnly method, 7-5
setTransactionTimeout method, 7-5
UserTransaction object
begin method, 7-26,
7-27,
7-29
commit method, 7-26,
7-27,
7-30
retrieving, 7-25
rollback method, 7-26,
7-27,
7-30
setTransactionTimeout method, 7-51
useServiceName flag, 5-6
deployejb option, 5-11
W
wallet, 6-20
X
XML, 2-21
deployment descriptor, 4-10
deployment descriptors, A-1
version number, 2-23,
A-3,
A-29
Copyright © 1996-2001, Oracle Corporation.
All Rights Reserved.
Home
Book List
Contents
Master Index
Feedback