Index
W
WAR class loader, 586
warningsSQLWarning class, 323
WARs, 584
compared to EJB JAR files, 595
description, 584
EAR deployment, 584
packaging sample applications, 594
WAS Tool, 617
configuring, 617
sample application performance, 644
using, 618
view performance, 664
web site, 107
Web Application Stress Toolsee 28-30
integrating web application into overall architecture, 465
stress tests, 110
view technologies, 515
Web Archivessee 666
cache control HTTP headers, 666
javax.servlet.http package, 668
MVC web frameworks, 669
proxy caches, 666
revalidation, 667
use HTTP POST for web caches, 667
web tier performance, 666
web interfacessee also 441
problems with, 442
load testing, 107
sample application, 467
testing, 100-105
user input, processing, 492
data binding, 492
data validation, 496
Web Services Developer Packweb sites, 19
web specific issuestesting, 100
web test toolsApache JMeter, 617
Grinder, 617
performance testing, 617
WAS Tool, 617
web tiersee also 276
designing, 441
clean web tier, 447
Java web development, 443
MVC (Model View Controller) pattern, 448
principles of design, 447
thin web tier, 447
performance, 663
edge site caching, 671
view performance, 664
web caching using HTTP. 666
sample application, 467
implementing web tier, 506
request handling, 508
session management, 488
using browser, 490
using J2EE server, 488
unit tests of web tier components, 101
web tier configurationproprietary deployment descriptors, 599
web.xml, 599
web.xmlconfiguring ContextLoaderServlet class, 479
configuring ControllerServlet class, 472
<servlet-mapping> element, 472
web tier configuration, 599
WebApplicationContext interface,com.interface21.web.context package, 466, 478
WebContentGenerator class,com.interface21.web.servlet.mvc packagecacheForSeconds() method, 671
WebLogic newsgroupschoosing application server, 53
WebLogic serversexclusive and database locking, 302
read-only locking, 303
scalability, 208
SFSB (stateful session beans) replication, 368
in-memory replication, using, 368
WebMacro, 545
compared to FreeMarker, 551
compared to JSP pages, 545
compared to Velocity, 546
syntax, 545
template selection servlet, 453
view technologies, 545
WebMacroView class, com.interface21.web.servlet.view.webmacropackage, 546, 707
WebSphere EJB containerinheritance, 299
WebWorkadvantages, 464
Command design pattern and, 463
compared to Maverick, 464
compared to Struts, 464
description, 463
disadvantages, 464
integrating web application into overall architecture, 465
MVC web frameworks, 463
webwork.action package, 463
Action interface, 463
ActionContext class, 464
ResultException, 464
webwork.action.factory package, 464
ActionFactory class, 464
ParameterActionFactoryProxy class, 464
webwork.dispatcher package, 464
ServletDispatcher class, 464
welcome screensample application user interface, 188
white box testingassertions compared, 108
definition, 75
effect of testing on writing code, 91
HttpUnit approach, 104
whitespaceavoiding NullPointerExceptions, 157
WinCvs version control, 67
workflowsample application user interface, 184
wrapping exceptionschecked exceptions, 126
writeExternal() method, Externalizable interface, 661
writeObject() methodcustom serialization, 661