|
|
Rational Rose modeling tool, 306
RDBMS, 259-63
see also Object/Relational (o/R) mapping
accessing relational databases, 311
caching for performance, 246
CMRs and local interfaces, 297
data access design implications, 24
denormalzation, 263
entity beans, concerns, 286
performance tuning, 262
RdbmsOperation class
Data Source interface and, 343
declareParameter() method, 344
JDBC abstraction framework, 343
performing queries, 348
reactivation
see passivation.
readExternal() method, Externallzable Interface, 661
read-mostly entitles, 302
readObject() method
custom serialization, 661
read-only entities, 302
Seppaku pattern, 303
RedirectView class, com.Interface21.web.servlet.view package, 707
refactoring
class responsibilities, 145
code duplication, 147
effect of testing on writing code, 91
OO design principles, 142
regression tests, 82
unit test effect, 91
web site, 142
XP approach to testing, 77
reference data objects
sample application model objects, 522
references to web sites
Ant build tool, 65
Apache Axis SOAP implementation, 19
Aspect Oriented Programming, 138
Cactus testing tool, 95
Castor, 242
checked exceptions problems, 126
class loading in J2EE, 592
coarse grained entity beans, 289
coding standards, 143, 144, 145
converting to XML from RDBMS, 239
database driven modeling, 254
Domify open source project, 242
drawbacks of natural keys, 270
Eclipse, 64
ECPerf, 49
EJBGen code generator, 66
exception handling Java tutorial, 125
Fat Key pattern, 293
framework design, 171
JAAS, 237
Java 1.4 assertion mechanism, 108
Java coding conventions, 143
JAXB, 244
JDO (Java Data Objects), 319
JSP views, 527
JUnit, 79
JUnitEE testing tool, 97
LowRoad code generator, 66
mock objects, 99
newsgroups, choosing application server, 53
PowerTier modeling tool, 304
primary key generation, 270
read-mostly entities, 303
read-only entities, 303
refactoring, 142
Servlet 2.3 specification (SRV.9.11), 30
ServletUnit project, 101
tuning server, 631
util.concurrent package, 23
WAS Tool, 107
Web Services Developer Pack, 19
WebMacro, 242
WebSphere EJB container, 299
WinCvs, 67
Xdoclet code generator, 66
XMLC, 570
XP oriented approach, 105
referential integrity, RDBMS, 259
EJB 2.0 CMP, 297
reflection
code-level optimization, 641
disadvantages, 346
dynamic proxies, 137
Factory design pattern, 136
idioms, 133
if/else statements, 133
JDBC abstraction framework and, 346
misconceptions, 133
OO design principles summarized, 173
performance, 133, 642
switch statements, 133
using, 132-38
regression tests
definition, 75
XP approach to testing, 77
rejectValue() method, Errors Interface, 498
relational databases
see RDBMS.
release management, 58-60
version control tool, 67
WinCvs, 67
rellability
distributed architecture, 206
maximizing, 208
SFSB (stateful session beans) limitations, 368
replication problems,368
remote access to application components
using EJBs, 22
remote calls, consolidating, 658
Value Object J2EE pattern, 658
Remote Interface, Java.rml package, 653
remote Interfaces
bean having local and remote interfaces, 224
entity beans, 295
phoney remote interfaces, 225
using EJBs, 99, 224
implications of using EJB, 21
remote objects
RMI (Remote Method Invocation), 653
RemoteException class, 30, 653
throwing/NOT ~ EJBs with remote/local interface. 387
RemoveException application exception, javax.ejb, 382
render() method
AbstractView class, 687
InternalResourceView class, 477
VelocityView class, 692
View interface, 470, 476, 518, 684
renderMergedOutputModel() method
AbstractPdfView class, 706
AbstractView class, 687
AbstractXmicView class, 704
InternalResourceView class, 689
VelocityView class, 693
XsltView class, 699
replication, state, 368
SFSB (stateful session beans), 368
HttpSession use, advantages, 369
in-memory replication, WebLogic server using. 368
primary/secondary WebLogic server instance for each SFSB, 368
session failover NOT guaranteed, 368
state often held in two locations, 369
StatefulSessionContext object, Oracle 9iAS, 369
web tier session management, 488
request controllers, MVC, 36, 457
request handling in sample application, 508
Requestlnfo class, com.Interface21.web.servlet.view package, 700
RequestUtlls class, org.apache.struts.util package, 459
Required transaction attribute, CMT, 382
RequiredWorkflowException object, 372
SFSB state machine, mimicking, 372
example, 372
requirement definition
choosing application server, 47
RequiresNew transaction attribute, CMT, 386
resolveVlewName() method, VlewResolver interface, 685
ResourceBundleVlewResolver class, com.Interface21.web.servlet.vlew package, 477
responsibilities
classes, 145
summarized, 175
resubmisslon
testing web specific issues, 100
ResultException, webwork.action package, 464
ResultReader Interface
JDBC abstraction framework, 336
reusability
enterprise architecture goals, 17
revallldation
ControllerServlet class, 669
MultiActionController class, 670
sample application, 670
web caching using HTTP, 667
risk management, 67-70
mitigation strategies, 68
RMI (Remote Method Invocation
collocating components in JVM, 663
J2EE design, 19
local interfaces, 19
marshaling, 654
minimizing remote calls, 655
application partitioning, 655
consolidating remote calls, 658
moving data to operation, 656
moving operation to data, 656
moving data efficiently, 658
generic Java objects, 663
serialization optimization, 659
XML, 662
performance issues, 653
remote objects, 653.
serializable objects, 653
Session Facade, implementing using SLSB, 374
RMI no.reduction, performance advantages, 374
singletons, 221
unmarshaling, 653
using EJBs, 22
Implementing distributed architecture, 210
robustness
enterprise architecture goals, 16
scalable and robust architectures, 207
rollback, transactions
system exceptions, EJB handling, 380
RowCallbackHandler Interface
JDBC abstraction framework, 335
performing queries, 341
RowCountCallbackHandler class
JDBC abstraction framework, 336
RowSets
see JDBC RowSets.
run() method, SqlFunctlon class, 346
Runnable Interface, java.lang package, 620
runPass() method, AbstractTest class, 621
<b>runtime exceptions
checked exceptions compared, 128, 328 documentation, 159
|
|