The J2EETM Tutorial
Home   Search
Feedback

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

A

abstract schemas, 1
defined, 1
deployment descriptors, 1
deploytool, 1
EJB QL, 1
hidden from clients, 1
names, 1
naming conventions, 1
types, 1
access methods
examples, 1, 2
local interfaces, 1
persistent fields, 1, 2
primary keys, 1
relationship fields, 1, 2
ant
downloading, 1
examples, 1
running, 1
See also ANT_HOME1
version, 1
ANT_HOME, 1, 2
Apache Software Foundation, 1
Jakarta project, 1
APPCPATH, 1
applet containers, 1
applets, 1, 2
Application Deployment Tool
See deploytool1
audience of this tutorial, 1
authentication, 1, 2, 3
J2EE application clients
configuring, 1
Web resources, 1
authentication, 1
client-certificate, 1
configuring, 1
Duke's Bank, 1
form-based, 1
HTTP basic, 1
setting up client-certificate, 1
SSL protection, 1
authorization, 1, 2

B

bean-managed persistence
database connections, 1
defined, 1
examples, 1, 2, 3
isolation levels, 1
relationships, 1
bean-managed transactions
See transactions, bean-managed1
BufferedReader, 1
business logic, 1, 2
business methods, 1, 2, 3
client calls, 1
database connections, 1
examples, 1, 2
exceptions, 1
local interfaces, 1
message-driven beans, 1
requirements, 1
transactions, 1, 2, 3, 4, 5
business objects, 1, 2

C

cascade delete, 1
CCI
See J2EE Connector technology, CCI1
cleanup, 1
when to use, 1
Cloudscape database
container-managed persistence, 1
interactive SQL tool, 1
JNDI name, 1
method aliases, 1
resource adapters, 1, 2
starting, 1, 2
stopping, 1, 2
commit, 1, 2, 3, 4
commits
See transactions, commits1
Common Client Interface
See J2EE Connector technology, CCI1
concurrent access, 1
Connection, 1, 2, 3, 4, 5, 6, 7, 8
connection factories
databases, 1
defined, 1
queues, 1
resource adapters, 1
See also DataSource1
ConnectionFactory, 1
connectors
See J2EE Connector technology1
container-managed persistence, 1
database connections, 1, 2
EJB QL, 1, 2
examples, 1
isolation levels, 1
relationships, 1
container-managed relationships
bidirectional, 1
defined, 1
deploytool, 1
direction, 1, 2, 3
EJB QL, 1
examples, 1
local access, 1
many-to-many, 1
many-to-one, 1
multiplicity, 1, 2, 3
one-to-many, 1, 2
one-to-one, 1, 2
unidirectional, 1
container-managed transactions
See transactions, container-managed1
containers, 1
See also
applet containers1
EJB containers1
J2EE application clients, containers1
Web containers1, 2
services, 1
Context, 1
context roots, 1
specifying, 1, 2
create, 1
bean-managed persistence, 1
compared to ejbCreate, 1
container-managed persistence, 1
examples, 1, 2, 3
life cycles, 1, 2
requirements, 1, 2, 3
custom tags, 1
attributes, 1
validation, 1
bodies, 1
cooperating, 1
defining, 1
examples, 1, 2
scripting variables
defining, 1
providing information about, 1, 2
Struts tag library, 1
tag handlers, 1
defining scripting variables, 1
methods, 1
simple tag, 1
with attributes, 1
with bodies, 1
tag library descriptors
See tag library descriptors1
tutorial-template tag library, 1

D

data integrity, 1, 2, 3
databases
bean-managed persistence, 1, 2
business methods, 1
clients, 1, 2, 3
Cloudscape
See Cloudscape database1
connection factories, 1
connections, 1, 2, 3, 4, 5, 6
creating tables, 1, 2, 3
data recovery, 1
deleting rows, 1
Duke's Bank tables, 1
EIS tier, 1
entity beans and tables, 1
exceptions, 1
foreign keys, 1, 2
inserting rows, 1
isolation levels, 1
J2EE SDK, 1
JNDI names, 1, 2
message-driven beans, 1
multiple, 1, 2
persistent fields, 1
portable beans, 1
primary keys, 1, 2
read-only data, 1
referential constraints, 1
databases (continued)
relationships for bean-managed persistence, 1
resource references, 1
See also persistence1
stored procedures, 1, 2
synchronizing with entity beans, 1
table relationships
many-to-many, 1
one-to-many, 1
one-to-one, 1
transactions
See transactions1
DataSource, 1, 2, 3, 4
deployer role, 1
deployment descriptors, 1
abstract schema, 1
container-managed persistence, 1
creating, 1
EJB QL, 1
enterprise bean, 1
viewing, 1
enterprise beans, 1
J2EE application client
viewing, 1
primary key class, 1
transaction attributes, 1
Web application, 1
viewing, 1
deploytool
bean-managed persistence, 1
container-managed persistence, 1, 2
database users and passwords, 1
message-driven beans, 1
online help, 1
options, 1
redeploy operation, 1
resource adapters, 1
resource references, 1
starting, 1
wizards, 1
destroy, 1
development roles, 1
doAfterBody, 1
doEndTag, 1
doFilter, 1, 2, 3
doGet, 1
doInitBody, 1
doPost, 1
doStartTag, 1
downloading
J2EE SDK, 1
J2SE, 1
tutorial, 1
Duke's Bank, 1
building, 1
database tables, 1
deploying, 1
enterprise beans, 1, 2
J2EE application client, 1, 2
running, 1
JNDI names, 1, 2
packaging, 1
Web client, 1, 2
component interaction, 1
running, 1

E

EAR files, 1
adding WAR file, 1
EJB JAR files, 1
examples, 1
EIS, 1, 2, 3, 4, 5
EJB components
See enterprise beans1
EJB containers, 1
bean-managed persistence, 1
connection pools, 1
container-managed persistence, 1
container-managed transactions, 1
EJB QL, 1
generating primary keys, 1
instance contexts, 1
instantiating enterprise beans, 1, 2
onMessage, 1
persistence, 1
persistent fields, 1
relationships, 1, 2
services, 1, 2
EJB JAR files
container-managed relationships, 1
contents, 1
EJB QL, 1, 2
examples, 1
portability, 1
EJB QL, 1
abstract schemas, 1, 2, 3
arithmetic functions, 1
boolean logic, 1
case sensitivity, 1
cmp_field, 1
cmr_field, 1
collection member declarations, 1
collections, 1, 2
comments, 1
compared to SQL, 1, 2, 3
conditional expressions, 1, 2
delimiters, 1
deployment descriptors, 1
deploytool, 1, 2
domain of query, 1, 2, 3
examples, 1
finder methods, 1, 2
identification variables, 1, 2, 3
input parameters, 1
multiple declarations, 1
navigation, 1, 2, 3, 4
navigation operator, 1, 2
null values, 1, 2
operators, 1
parameters, 1
path expressions, 1, 2
range variables, 1
relationship direction, 1
scope, 1
select methods, 1
string functions, 1
syntax diagram, 1
translated into SQL, 1
types, 1, 2, 3
ejbActivate, 1, 2, 3
EJBContext, 1, 2, 3
ejbCreate
bean-managed persistence, 1
compared to create, 1
container-managed persistence, 1
database connections, 1
examples, 1, 2, 3, 4, 5
life cycles, 1, 2, 3
message-driven beans, 1
primary keys, 1, 2, 3
requirements, 1
ejbFindByPrimaryKey, 1, 2
EJBHome, 1
ejbLoad, 1, 2, 3, 4, 5
EJBObject, 1
ejbPassivate, 1, 2, 3, 4
ejbPostCreate, 1, 2, 3
ejbRemove
bean-managed persistence, 1, 2
container-managed persistence, 1
database connections, 1
examples, 1
life cycles, 1, 2, 3
message-driven beans, 1
ejbStore, 1, 2
enterprise beans, 1, 2, 3, 4
accessing, 1
business methods
See business methods, 1
compiling, 1
contents, 1
database connections, 1
defined, 1
deployment, 1
development role, 1
distribution, 1
Duke's Bank, 1, 2
protecting, 1
entity beans
See entity beans1
environment entries, 1
home interfaces
See home interfaces1
interfaces, 1, 2
life cycles, 1, 2
local access, 1
local home interfaces
See local home interfaces1
local interfaces
See local interfaces1
lookups, 1
mapping references to JNDI names, 1
message-driven beans
See message-driven beans1
method permissions
See method permissions1
packaging, 1
performance, 1, 2
persistence
See persistence1
propagating security identity, 1
protecting, 1
references, 1, 2, 3
remote access, 1
remote interfaces
See remote interfaces1
sending e-mail, 1
session beans
See session beans1
state, 1
transactions, 1
types, 1, 2
unprotected, 1
URL connections, 1
Enterprise Information Systems
See EIS1
Enterprise JavaBeans Query Language
See EJB QL1
EnterpriseBean, 1
entity beans, 1
bean-managed persistence
See bean-managed persistence1
collections, 1
container-managed persistence
See container-managedpersistence, 1
container-managed versus bean-managed, 1
database connections, 1
Duke's Bank, 1
equality, 1
finder methods, 1
garbage collection, 1
isolation levels, 1
persistent state, 1
primary keys
See primary keys1
transactions, 1, 2, 3, 4
EntityBean, 1
EntityContext, 1, 2
environment entries, 1
environment variables, 1, 2
examples
classpath, 1
downloading, 1
location, 1, 2
troubleshooting, 1, 2
exceptions
business methods, 1
create, 1, 2
ejbCreate, 1, 2
ejbFindByPrimaryKey, 1
ejbRemove, 1
enterprise beans, 1
javax.ejb, 1
mail server exceptions, 1
mapping to Web resources, 1
rolling back transactions, 1, 2, 3, 4
SQL, 1
transactions, 1, 2
Web components, 1

F

Filter, 1
filter chains, 1, 2
filters, 1
defining, 1
mapping to Web components, 1
mapping to Web resources, 1, 2
overriding request methods, 1
overriding response methods, 1
response wrapper, 1
findByPrimaryKey, 1, 2, 3
finder methods
bean-managed persistence, 1
finder methods (continued)
compared to select methods, 1
container-managed persistence, 1
deploytool, 1
EJB QL, 1
examples, 1, 2, 3, 4
home interfaces, 1
local home interfaces, 1
returning collections, 1
transactions, 1
forward, 1

G

garbage collection, 1, 2
GenericServlet, 1
getCallerPrincipal, 1
getEJBObject, 1
getObject, 1
getParameter, 1
getPrimaryKey, 1, 2
getRemoteUser, 1
getRequestDispatcher, 1
getServletContext, 1
getSession, 1
getters
See access methods1
getUserPrincipal, 1

H

helper classes, 1, 2, 3
Duke's Bank, 1
home interfaces, 1, 2
defined, 1
examples, 1, 2, 3
home methods, 1
locating, 1, 2
home methods, 1, 2
HTTP protocol, 1
HTTP requests, 1, 2
methods, 1
query strings, 1
See also requests1
URLs, 1
HTTP responses, 1, 2
See also responses1
status codes, 1, 2
mapping to Web resources, 1
HttpServlet, 1
HttpServletRequest, 1
HttpServletResponse, 1
HttpSession, 1

I

identification, 1
include, 1, 2
init, 1
installation, 1
internationalization
J2EE application clients
Duke's Bank, 1
Web clients
Duke's Bank, 1
invalidate, 1
isCallerInRole, 1
isIdentical, 1
isolation levels, 1
isThreadSafe, 1
isUserInRole, 1
isValid, 1

J

j2ee
options, 1
See also J2EE server1
J2EE application clients, 1, 2
containers, 1
Duke's Bank, 1, 2
classes, 1
running, 1
examples, 1, 2, 3
JAR files, 1, 2
packaging, 1
See also runclient1
J2EE applications, 1
assembler role, 1
components, 1
deploying, 1
design guidelines, 1
iterative development, 1
See also Duke's Bank, 1
tiers, 1
J2EE clients, 1
application clients, 1
See also J2EE application clients1
Web clients, 1
See also Web clients1
Web clients versus J2EE application clients, 1
J2EE components
defined, 1
more information, 1
types, 1
J2EE Connector technology, 1
architecture version, 1
CCI, 1
more information, 1
resource adapters
See resource adapters1
J2EE group, 1, 2
J2EE platform, 1, 2
J2EE SDK, 1
databases, 1
downloading, 1, 2
installing, 1
tools, 1
J2EE security architecture, 1
J2EE server, 1
restarting, 1
starting and stopping, 1
J2EE specifications, 1
J2EE_HOME, 1, 2
j2eeadmin, 1, 2, 3, 4
J2SE
downloading, 1
required version, 1
JAAS, 1
JAF, 1
JAR files
j2ee.jar, 1
See also
EJB JAR files1
J2EE application clients, JAR files1
Java API for XML Processing
See JAXP1
Java Authentication and Authorization Service
See JAAS1
Java BluePrints, 1
Java Message Service
See JMS1
Java Naming and Directory Interface
See JNDI1
Java Servlet technology, 1
See also servlets1
Java Transaction API
See JTA1
JAVA_HOME, 1, 2
JavaBeans Activation Framework
See JAF1
JavaBeans components, 1
benefits of using, 1
creating in JSP pages, 1
design conventions, 1
Duke's Bank, 1
in WAR files, 1
methods, 1
properties, 1
retrieving in JSP pages, 1
setting in JSP pages, 1
using in JSP pages, 1
JavaMail API, 1
more information, 1
JavaServer Pages (JSP) technology, 1
See also JSP pages1, 2
javax.resource, 1
javax.servlet, 1
javax.servlet.http, 1
javax.servlet.jsp.tagext, 1
JAXP, 1
more information, 1
tutorial, 1
JDBC API, 1
more information, 1
transactions
See transactions, JDBC1
versus J2EE Connector technology, 1
JMS, 1
examples, 1
message listeners, 1
message-driven beans
See message-driven beans1
more information, 1
tutorial, 1, 2, 3
JNDI, 1, 2
deploytool, 1, 2, 3, 4
JMS destination, 1
lookup, 1, 2, 3, 4, 5
mail sessions, 1
more information, 1
names, 1
Duke's Bank, 1, 2
naming context, 1
resource adapters, 1, 2
resource references, 1
tutorial, 1
URL connections, 1
JSP declarations, 1
JSP expressions, 1
JSP pages, 1
compilation, 1
errors, 1
compiling, 1
creating and using objects, 1
creating dynamic content, 1
creating static content, 1
custom tags
See custom tags1
declarations
See JSP declarations1
Duke's Bank, 1
eliminating scripting, 1
error page, 1
examples, 1, 2, 3, 4, 5
execution, 1
JSP pages (continued)
expressions
See JSP expressions1
finalization, 1
forwarding to an error page, 1
forwarding to other Web components, 1
implicit objects, 1
importing classes and packages, 1
importing tag libraries, 1
including applets or JavaBeans components, 1
including other Web resources, 1
initialization, 1
JavaBeans components
creating, 1
retrieving properties, 1
setting properties, 1
from constants, 1
from request parameters, 1
from runtime expressions, 1
using, 1
life cycle, 1
scripting elements
See JSP scripting elements1
scriptlets
See JSP scriptlets1
setting buffer size, 1
shared objects, 1
specifying scripting language, 1
translation, 1
enforcing constraints for custom tag attributes, 1
errors, 1
URLs for running, 1
JSP scripting elements, 1
JSP scriptlets, 1
drawbacks, 1
JSP tag libraries, 1
jsp:fallback, 1
jsp:forward, 1
jsp:getProperty, 1
jsp:include, 1
jsp:param, 1, 2
jsp:plugin, 1
jsp:setProperty, 1
jspDestroy, 1
jspInit, 1
JTA, 1
See also
transactions, JTA1
JTS API, 1

K

keytool, 1

L

listener classes, 1
defining, 1
Duke's Bank, 1
examples, 1
specifying, 1
listener interfaces, 1
local home interfaces, 1
defined, 1
local home interfaces (continued)
examples, 1
local interfaces, 1
defined, 1
examples, 1, 2, 3
requirements, 1
lookup
See JNDI, lookup1

M

mail sessions, 1
message-driven beans, 1
accessing, 1
defined, 1
garbage collection, 1
onMessage method, 1
requirements, 1
transactions, 1, 2, 3, 4, 5
messages, 1
method permissions1
Duke's Bank, 1
specifying, 1

O

onMessage, 1

P

packager, 1
application client JAR files, 1
EAR files, 1
EJB JAR files, 1
RAR files, 1
setting runtime deployment descriptor, 1
WAR files, 1
PATH, 1, 2
persistence
bean-managed
See bean-managed persistence1
container-managed
See container-managed persistence1
entity beans, 1
session beans, 1
types, 1
persistent fields, 1
deploytool, 1
EJB QL, 1, 2
examples, 1
physical schemas, 1
prerequisites, 1
primary keys
automatically generating, 1
bean-managed persistence, 1
composite, 1, 2
container-managed persistence, 1
defined, 1
examples, 1, 2
methods for setting, 1
returned by create, 1
See also ejbFindByPrimaryKey1
printing the tutorial, 1
PrintWriter, 1

Q

queues, 1, 2

R

RAR files, 1, 2
realms, 1
certificate, 1
default, 1
Duke's Bank
adding groups and users, 1
managing users and groups, 1
realmtool, 1
reference implementation
See J2EE SDK1
relationship fields
defined, 1
deploytool, 1
direction, 1
EJB QL, 1, 2
examples, 1
modifying by local clients, 1
relationships
bean-managed persistence, 1
container-managed
See container-managed relationships1
multiplicities, 1
release, 1
remote interfaces
defined, 1
example, 1
examples, 1, 2
requirements, 1
remove
bean-managed persistence, 1
life cycles, 1, 2
transactions, 1
RequestDispatcher, 1
requests, 1
appending parameters, 1
customizing, 1
getting information from, 1
retrieving a locale, 1
See also HTTP requests1
required software, 1
resource adapters, 1
archive files
See RAR files1
black box testing, 1
CCI, 1
deploying, 1
examples, 1, 2
properties, 1
security, 1
resource bundles, 1
resource connections, 1
resource references, 1, 2
responses, 1
buffering output, 1
customizing, 1
See also HTTP responses1
setting headers, 1
roles
development
See development roles1
security
See security roles1
rollback, 1, 2, 3, 4, 5
rollbacks
See transactions, rollbacks1
runclient
examples, 1
options, 1

S

security
application client tier, 1
callback handlers, 1
application client tier login modules, 1
specifying a callback handler, 1
authentication
See authentication1
declarative, 1
EIS tier, 1
component-managed sign-on, 1
configuring sign-on, 1
container-managed sign-on, 1
sign-on, 1
EJB tier
method permissions
See method permissions1
programmatic, 1
login example, 1
programmatic, 1
resource adapter, 1
Web tier, 1
programmatic, 1
security constraints
specifying, 1
security identity, 1
caller identity, 1
configuring propagation, 1
propagating to enterprise beans, 1
specific identity, 1
security role references, 1
mapping to security roles, 1
security roles, 1
creating, 1
Duke's Bank, 1
mapping to groups, 1
mapping to J2EE users and groups, 1
select methods, 1, 2, 3
EJB QL, 1, 2
Servlet, 1
ServletContext, 1
ServletInputStream, 1
ServletOutputStream, 1
ServletRequest, 1
ServletResponse, 1
servlets, 1
binary data
reading, 1
writing, 1
character data
reading, 1
writing, 1
Duke's Bank, 1
examples, 1
finalization, 1
initialization, 1
failure, 1
life cycle, 1
life cycle events
handling, 1
service methods, 1
notifying, 1
programming long running, 1
tracking service requests, 1
session beans, 1
activation, 1
clients, 1
compared to entity beans, 1
database connections, 1, 2
databases, 1
Duke's Bank, 1, 2
equality, 1
examples, 1, 2, 3
isolation levels, 1
passivation, 1
requirements, 1
stateful, 1, 2
stateless, 1, 2, 3
transactions, 1, 2, 3, 4, 5, 6
SessionBean, 1
SessionContext, 1
sessions, 1
associating attributes, 1
associating with user, 1
invalidating, 1
notifying objects associated with, 1
setEntityContext, 1, 2, 3, 4
setMessageDrivenContext, 1
setSessionContext, 1, 2, 3
setters
See access methods1
SingleThreadModel, 1
SQL, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
SQL92, 1, 2

T

tag handlers
life cycle, 1
tag library descriptors, 1
attribute, 1
body-content, 1, 2
filenames, 1
listener, 1
mapping name to location, 1
tag, 1
taglib, 1
variable, 1
TagExtraInfo, 1
taglib, 1
timeouts, 1
transactions, 1, 2
attributes, 1
bean-managed, 1, 2, 3, 4, 5
boundaries, 1, 2, 3
business methods
See business methods, transactions1
commits, 1, 2, 3, 4, 5
container-managed, 1, 2, 3, 4
database connections, 1
defined, 1
entity beans
See entity beans, transactions1
examples, 1, 2, 3, 4, 5
exceptions
See exceptions, transactions1
JDBC, 1, 2, 3
JTA, 1, 2, 3, 4
levels for resource adapters, 1
managers, 1, 2, 3, 4, 5
transactions (continued)
message-driven beans, 1
See message-driven beans, transactions1
nested, 1, 2
resource adapters, 1
rollbacks, 1, 2, 3, 4, 5, 6
scope, 1
session beans
See session beans, transactions1
shared data, 1
tips, 1
Web components, 1, 2
XA, 1, 2
troubleshooting, 1, 2

U

UnavailableException, 1
unsetEntityContext, 1, 2
URL, 1, 2
UserTransaction, 1, 2, 3, 4
utility classes, 1, 2

V

verifier
options, 1
running, 1

W

WAR files, 1
adding component files, 1
adding to EAR files, 1
adding Web component files, 1
contents, 1
creating, 1
directory structure, 1
JavaBeans components in, 1
specifying error pages, 1
Web application archives
See WAR files1
Web clients, 1, 2
configuring, 1, 2
deploying, 1
Duke's Bank, 1, 2
custom tags, 1
initialization, 1
JavaBeans components, 1
JSP template, 1
request processing, 1
running, 1
examples, 1
internationalizing, 1
J2EE Blueprints, 1
maintaining state across requests, 1
packaging, 1
running, 1
updating, 1
Web components, 1, 2
accessing databases from, 1
adding to WAR files, 1
applets, 1
concurrent access to shared resources, 1
connecting to resources, 1
development role, 1
enterprise bean references, 1
forwarding to other Web components, 1
including other Web resources, 1
invoking other Web resources, 1
JSP pages
See JSP pages, 1
mapping filters to, 1
packaging, 1
runtime environment, 1
scope objects, 1
servlets
See servlets1
sharing information, 1
transactions, 1, 2
types, 1, 2
utility classes, 1
Web context, 1
Web containers, 1, 2
loading and initializing servlets, 1
Web resources, 1
Duke's Bank
protecting, 1
mapping filters to, 1, 2
protecting, 1
unprotected, 1
work flows, 1

X

XML, 1
Home   Search
Feedback