|
redirection (response variable), 41–42
reentrant tag (EJBs), 114
<ref> tag (Burlap), 168
<reference> element, 261–262
ref structure (Hessian), 198
<regexp> element, 279
<relationship-role-source> tag, 143
relationships (tables), 137–138
building (Entitlements application), 139–145
supported types, 139
unidirectional, 138–139
<relationships> element, 142–143
reliability options, 323–324
<remote> tag (Burlap), 166
Remote Management Interface (RMI), 4
remote structure (Hessian), 198
remove() method (EJBs), 134
-remove-as option, 23
-remove option, 23
replies, Hessian, 198
<request-timeout> element, 282
request variable (JSP), 38–40
Resin
downloading, 325–327
features, 5–8
installing
JDK requirements, 11–12
on Linux, 19–21
recommended server configuration, 12
tested configurations, 12
testing installation, 21–22
on Unix, 19–21
on Windows, 14–19
integrating, 12–13
overview, 4–5
ports, 13
resin.conf file, 24–25, 253
<accept-buffer-size> element, 283
<access-log> element, 264–265
adding comments to, 254
<alternate-session-url-prefix> element, 286
<app-dir> element, 279
<authenticator> element, 265
<browser-mapping> element, 278
<cache> element, 283–284
<cache-mapping> element, 268–269
<case-insensitive> element, 267
<character-encoding> element, 277
<class-loader> element, 257
<cluster> element, 258
<cluster-definition> element, 258
<compiling-loader> element, 257
configuring for Apache, 295
<connect-timeout> element, 282–283
<context-param> element, 270
<database> element, 258–259
<dead-time> element, 282
default path values, 255–256
<dependency-check-interval> element, 267, 277
<deployment-extension> element, 276
<description> element, 269, 277
<display-name> element, 269
<distributable> element, 269
<ejb-local-ref> element, 276
<ejb-ref> element, 276
<ejb-server> element, 259
<env-entry> element, 260–261, 276
environments, 254
<error-page> element, 274–275
<filter> element, 270
<filter-mapping> element, 270–271
<forbid-host> element, 285
<global-system-properties> element, 286
high-level configuration format, 254–255
<host> element, 280
<http> element, 280–281
<ignore-client-disconnect> element, 285
<javac> element, 266
<jndi-link> element, 261
<jsp> element, 287–288
<jsp-config> element, 275
<lazy-init> element, 278
<library-loader> element, 258
<listen> element, 283
<listener> element, 271
<live-time> element, 282
<locale-encoding-mapping-list> element, 276
<log> element, 262
<make-loader> element, 258
<message-destination> element, 276
<message-destination-ref> element, 275
<mime-mapping> element, 273–274
modifying for Hessian, 187
<multipart-form> element, 278
opening, 253
<path-mapping> element, 269
<ping> element, 284–285
<port> element, 280
<reference> element, 261–262
<regexp> element, 279
<request-timeout> element, 282
<resin:include> tag, 255
<resource> element, 262
<resource-env-ref> element, 275
<resource-ref> element, 275
<secure> element, 279
<security-constraint> element, 275–276
<security-role> element, 276
<servlet> element, 271
<servlet-mapping> element, 272
<session-config> element, 272–273
<session-cookie> element, 286
<session-url-prefix> element, 286
<simple-loader> element, 258
<srun> element, 281
<stderr-log> element, 262–263
<stdout-log> element, 263
<sticky-sessions> element, 286
<strict-mapping> element, 269
<system-property> element, 266
<taglib> element, 277
<temp-dir> element, 267
<thread-keepalive> element, 281–282
<thread-max> element, 281
<thread-min> element, 281
<timeout-interval> element, 283
<url-character-encoding> element, 279
<url-length-max> element, 287
<web-app> element, 268
<web-app-default> element, 268
<web-app-deploy> element, 268, 276
<welcome-file-list> element, 274
<work-dir> element, 267
XML elements, 254
<resin:include> tag, 255
-resin_home option, 23
Resin-EE, 108
configuring, 108
Entitlements application example
Ant build files, 155–157
changing entity values, 126–131
deploying code, 118
deployment descriptor, 113–115
ejbSelect() method, 124–126
finder methods, adding, 119–124,157–159
groups bean, adding, 136–137
login entity bean, 109–110
login query, 109
multiple entity beans, 134–135
removing beans, 134
running, 118–119
servlet, creating, 116–118
setup, 109
stateless session beans, 146–149
table relationships, 137–145
transactions, 145–146
updating tables, 131–134
web.xml file, 116
XDoclet entity bean, 152–155
server structure, 186–187
@ resin-ejb:cmp-field tag (XDoclet), 154, 155, 161
@ resin-ejb:entity-bean tag (XDoclet), 154,160
@ resin-ejb:relation tag (XDoclet), 161
Resin Enterprise, 8
Resin HardCore, 313–314
ResinLauncher, 338–342
ResinProjectWizard, 336–338
Resin server
configuration (resin.conf file), 24–25, 253
<accept-buffer-size> element, 283
<access-log> element, 264–265
adding comments to, 254
<alternate-session-url-prefix> element, 286
<app-dir> element, 279
<authenticator> element, 265
<browser-mapping> element, 278
<cache> element, 283–284
<cache-mapping> element, 268–269
<case-insensitive> element, 267
<character-encoding> element, 277
<class-loader> element, 257
<cluster> element, 258
<cluster-definition> element, 258
<compiling-loader> element, 257
configuring for Apache, 295
<connect-timeout> element, 282–283
<context-param> element, 270
<database> element, 258–259
<dead-time> element, 282
default path values, 255–256
<dependency-check-interval> element, 267, 277
<deployment-extension> element, 276
<description> element, 269, 277
<display-name> element, 269
<distributable> element, 269
<ejb-local-ref> element, 276
<ejb-ref> element, 276
<ejb-server> element, 259
<env-entry> element, 260–261, 276
environments, 254
<error-page> element, 274–275
<filter> element, 270
<filter-mapping> element, 270–271
<forbid-host> element, 285
<global-system-properties> element, 286
high-level configuration format, 254–255
<host> element, 280
<http> element, 280–281
<ignore-client-disconnect> element, 285
<javac> element, 266
<jndi-link> element, 261
<jsp> element, 287–288
<jsp-config> element, 275
<lazy-init> element, 278
<library-loader> element, 258
<listen> element, 283
<listener> element, 271
<live-time> element, 282
<locale-encoding-mapping-list> element, 276
<log> element, 262
<make-loader> element, 258
<message-destination> element, 276
<message-destination-ref> element, 275
<mime-mapping> element, 273–274
modifying for Hessian, 187
<multipart-form> element, 278
opening, 253
<path-mapping> element, 269
<ping> element, 284–285
<port> element, 280
<reference> element, 261–262
<regexp> element, 279
<request-timeout> element, 282
<resin:include> tag, 255
<resource> element, 262
<resource-env-ref> element, 275
<resource-ref> element, 275
<secure> element, 279
<security-constraint> element, 275–276
<security-role> element, 276
<servlet> element, 271
<servlet-mapping> element, 272
<session-config> element, 272–273
<session-cookie> element, 286
<session-url-prefix> element, 286
<simple-loader> element, 258
<srun> element, 281
<stderr-log> element, 262–263
<stdout-log> element, 263
<sticky-sessions> element, 286
<strict-mapping> element, 269
<system-property> element, 266
<taglib> element, 277
<temp-dir> element, 267
<thread-keepalive> element, 281–282
<thread-max> element, 281
<thread-min> element, 281
<timeout-interval> element, 283
<url-character-encoding> element, 279
<url-length-max> element, 287
<web-app> element, 268
<web-app-default> element, 268
<web-app-deploy> element, 268,276
<welcome-file-list> element, 274
<work-dir> element, 267
XML elements, 254
status, obtaining, 329–333
resin-web.xml file, 30
Resin Web server
hosting CGI on
CGIServlet, 301–302
FastCGIServlet, 302–303
<resource> element, 262
<resource-env-ref> element, 275
<resource-ref> element, 275
resources, documentation, 24
response encoding, 42
response redirection, 41–42
response variable (JSP), 38, 41
encoding, 42
redirection, 41–42
restart() method, 330
RMI (Remote Management Interface), 4
rollback() method (UserTransaction class), 146
rootCause exceptions, 227
round() function (XPath), 81
RpcException class (Burlap), 344
run-time errors, 222–223
|