Skip Headers

Oracle9iAS Containers for J2EE Servlet Developer's Guide
Release 2 (9.0.3)

Part Number A97680-01
Go To Core Documentation
Core
Go To Platform Documentation
Platform
Go To Table Of Contents
Contents

Go to previous page

Index

A  B  C  D  E  F  G  H  I  J  L  M  O  P  R  S  T  U  W 


A

admin.jar tool, 3-2
ant utility, 3-9
application assembly
application build mechanisms, 3-9
application directory structure, 3-8
application modules, 3-7
packaging, 3-10
application.xml config file, 3-10
auto-encoding (not supported), 2-19
autoreload-jsp-pages, autoreload-jsp-beans (not supported), 3-17

B

build mechanisms, applications, 3-9
build.xml file, application build, 3-9

C

caching, sharing Java Object Cache objects, 2-6
cancellation of session, 2-20
chaining, servlets, 3-21
class loading, servlets in OC4J, 2-5
clustering (OC4J), 3-21, 3-32
code template, 2-3
configuration
configuration file descriptions, 3-13
for servlet invocation, 2-13
global-web-application.xml, orion-web.xml, 3-14
orion-web-app element, 3-17
overview of configuration files, 3-4
Web site XML files, 3-30
web-app element, 3-14, 3-27
web-site element, 3-31
container, servlet, 1-5
context path, 2-11
cookies, 1-8
cookies, use in servlets, 2-17

D

data source, OC4J, 2-24
default Web application (in default application), key directories, 2-9
default-web-site.xml config file, 3-30
deployment
configuration file descriptions, 3-13
OC4J standalone, admin.jar, 3-2
of EJB sample servlet, 2-34
of JDBC sample servlet, 2-27
overview, 3-2
use of Oracle Enterprise Manager, 3-3
destroy() servlet method, 1-4, 2-3
directory structure, applications, 3-8
doDelete() servlet method, 1-4
doFilter() filter method, 4-2
doGet() servlet method, 1-4
doPost() servlet method, 1-4
doPut() servlet method, 1-4

E

EJB calls from servlets, 2-30
EJB 2.0 local interfaces, 2-41
local lookup within application, 2-31
lookup outside of application, 2-39
remote lookup within application, 2-38
EJB servlet, deployment, 2-34
ejb-jar.xml config file, 3-10
Enterprise Manager--see Oracle Enterprise Manager
event listeners
coding and deployment guidelines, 4-19
declaration, invocation, use of web.xml, 4-18
event categories, 4-16
event listener interfaces, 4-16
introduction, 1-11
methods and related classes, 4-19
sample code, 4-22
typical scenario, 4-17

F

filters
filter example #1, 4-4
filter example #2, 4-7
filter example #3, 4-10
generic code, 4-4
HelloWorldFilter, 4-5
introduction, 1-11
invocation by servlet container, 4-3
overview, 4-2
using a JSP page, 4-5

G

GET, HTTP request, 2-2
getServletInfo() servlet method, 1-4, 2-3
global-web-application.xml config file, 3-14

H

HTTPS, 2-8, 3-32
HttpServlet class, 1-4
HttpSession interface, 1-7
HttpSessionAttributeListener interface, 4-21
HttpSessionBindingEvent class, 4-21
HttpSessionEvent class, 4-21
HttpSessionListener interface, 4-21
http-web-site.xml config file, 3-30

I

init() servlet method, 1-4, 2-3
invoking a servlet
by name (OC4J-specific), 2-11
context path and servlet path, 2-11
OC4J standalone, 2-14
Oracle9iAS production environment, 2-13

J

Java Object Cache, sharing objects, 2-6
JDBC in servlets, 2-24
JSP parameters
jsp-print-null, 3-18
jsp-timeout, 3-18

L

lifecycle, servlet, 2-4
listeners--see event listeners
load-on-startup, OC4J, 2-4

M

mod_oc4j module, 1-6

O

OC4J standalone, 3-2
Oracle Enterprise Manager
Deploy Web Application Page, 3-40
OC4J Home Page, 3-39
overview of usage, 3-3
Web Module Advanced Properties Page, 3-51
Web Module Environment Page, 3-50
Web Module Filtering and Chaining Page, 3-49
Web Module Mappings Page, 3-47
Web Module Page, 3-42
Web Module Properties Page, 3-44
Website Properties Page, 3-41
orion-web-app element, configuration, 3-17
orion-web.xml config file, 3-14

P

packaging, application assembly, 3-10
POST, HTTP request, 2-2
preloading, servlets in OC4J, 2-4

R

replication of session state, 2-23

S

sample servlets
event listeners, 4-22
filter example #1, 4-4
filter example #2, 4-7
filter example #3, 4-10
HelloWorldServlet, 1-13
JDBC query, 2-24
session servlet, 2-20
with EJB session bean, 2-31
Secure Socket Layer, 2-8
security considerations, 2-7
service() servlet method, 1-4
servlet chaining, 3-21
servlet container, 1-5
servlet context, 1-9
servlet filters
filter example #1, 4-4
filter example #2, 4-7
filter example #3, 4-10
generic code, 4-4
HelloWorldFilter, 4-5
invocation by servlet container, 4-3
overview, 4-2
using a JSP page, 4-5
Servlet interface, 1-4
servlet path, 2-11
ServletContextAttributeEvent class, 4-20
ServletContextAttributeListener interface, 4-20
ServletContextEvent class, 4-19
ServletContextListener interface, 4-19
session
cancellation, 2-20
details and examples, 2-16
introduction, 1-7
replication of state, 2-23
session servlet example, 2-20
session-tracking element, 3-23
timeout, 2-19
tracking, 1-8, 2-16
tracking, in OC4J, 2-18
SSL, 2-8, 3-32
standalone, OC4J, 3-2
synchronization of code for threading, 2-7

T

template, servlet code, 2-3
threading in servlets, 2-7
timeout of session, 2-19
tracking of sessions, 2-16

U

URL rewriting, 1-8, 2-17

W

Web site XML config files, 3-30
web-app element, configuration, 3-14, 3-27
web-site element, configuration, 3-31
web.xml file
declaring event listeners, 4-18
general use, 3-14

Go to previous page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Core Documentation
Core
Go To Platform Documentation
Platform
Go To Table Of Contents
Contents