|
|
back button
testing web specific issues, 100
basic authentication, 236
batch updates
O/R mapping limitations, 299
Bean tag library, Struts, 460
BeanFactory interface, com.interface21.beans.factory, 403
bean factory overview, 401
custom bean definitions, supporting, 405
getBean() methods, 403
infrastructure framework using, 401, 403
BoxOffice/Calendar objects, 401, 402
mechanism description, 402
JndiBeanFactory implementation, 404
ListableBeanFactorylmpl implementation, 404
XmlBeanFactory implementation, 403
ListableBeanFactory querying all definition, 404
writing effective tests, 88
BeanFactoryTestSuite class, com.interface21.load package, 621
BeansException class, com.interface21.beans, 399
subclasses, listing, 399
BeanWrapper interface, com.interface21.beans, 398
example, 399
getting/setting property values, 399
methods, listing, 398
behavior
expected or exception, 80
load testing, 75
null arguments, 76, 81
testing EJBs, 93
benchmarking
description, 616
performance testing, 616
binary content
generating binary content in view, 571
PDF generation, 571
XSL-FO, 571
BindException, com.interface21.validation package, 506
black box testing
definition, 75
BLOB (Binary Large Objects)
SFSB passivation/reactivation, implementing, 366
BMP (Bean-Managed Persistence)
CMP alternative, 292
CMP/BMP hybrids and persistence, 299
DAO pattern, 257
entity beans, 288, 307
BMT (Bean-Managed Transactions)
transaction management, 212, 232
book seats screen
sample application user interface,, 191
boundary value testing
definition, 75
box office users
sample application, 181
user interface, 198
BoxOffice interface
implementing DAO pattern, 353
testing data access, 354
sample application data access, 353
browser caching
testing web specific issues, 100
web caching using HTTP, 666
build utilities
choosing development tools, 64
buildPdfDocument() method, AbstractPdfView class, 573, 707
business component interfaces
defining, business logic, 429
BoxOffice interface, 430
allocateSeats/confirmReservation() methods, 430
Calendar interface, 429
command objects use, advantages, 430
ReservationRequest command class, 430
implementing, business logic, 432
BoxOffice interface, 433
BoxOfficeEJB implementation class, 433
BoxOfficeLocal/Home extension interfaces, 433
confirmReservation() method, implementing, 434
custom bean definitions, 434
Calendar interface, 432
JdbcCalendar/CachingCalendar implementation classes, 432
web application architecture, 28-30
Business Delegate pattern, 423
accessing EJB using, 423
advantages & disadvantages, 423
business delegate interface, 424
getCacheable/UncacheableValue() methods, 424
implementation class, 424
implementing business interface, 30
business logic, 252, 428
data validation and, 496
decoupling from persistence logic, 258
entity beans, 290, 307
implementing, sample app, 428
business interfaces, defining, 429
business interfaces, implementing, 432
custom bean definitions, 436
JMS propagating data updates, 435
separating business logic from web tier, 447
stored procedures, RDBMS, 261, 262
business methods interface pattern, 386
abstract superclasses, EJBs deriving from, 414
Calculator/~ EJB remote interfaces, 414
CalculatorEJB bean implementation class, 415
BoxOffice EJB example using, 387
BoxOffice/~Local/~Home/~EJB classes/interfaces, describing, 387
BoxOfficeEJB bean implementation class, 388
BoxOfficeLocal local interface, 388
UML class diagram, 387
EJB component interface & bean implementation class, synchronizing, 386
RemoteException NOT throwing, EJBs with local interface, 387
RemoteException throwing, EJBs with remote interface, 387
shortcomings, 388
business objects
testing, 92-100
database interaction, 99
implementation without EJB, 92
load testing, 106
remote client, 94
testing EJBs, 93-100
with stub objects, 94
within application server, 94
using EJBs, 22
web tier connectivity, 38
byte code enhancer, JDO, 317
|
|