Skip to content

Java Servlets Developer's Guide

Best in textbook rentals since 2012!

ISBN-10: 007222262X

ISBN-13: 9780072222623

Edition: 2002

Authors: Karl Moss

List price: $49.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

This advanced resource provides in-depth coverage of the Java Servlet API and explains how to design and build real-world server applications.
Customers also bought

Book details

List price: $49.99
Copyright year: 2002
Publisher: McGraw-Hill Osborne
Publication date: 2/21/2002
Binding: Hardcover
Pages: 608
Size: 7.25" wide x 9.00" long x 1.75" tall
Weight: 2.640
Language: English

Acknowledgmentsp. xv
Introductionp. xvii
Servlet Architecture and Environmentp. 1
What Are Servlets?p. 2
Why Use Servlets?p. 3
Servlet API Backgroundp. 4
What Do You Need to Get Started?p. 5
What Is Apache Tomcat?p. 5
Licensingp. 7
Installationp. 9
Starting and Testing Tomcatp. 10
Configurationp. 12
Alternativesp. 15
Summaryp. 16
Servlet Developmentp. 17
The Basic Flowp. 18
Servlet Example: Propertiesp. 20
Summaryp. 27
Session Managementp. 29
Session Trackingp. 30
Cookiesp. 35
URL Rewritingp. 38
Session Tracking Without a Browserp. 41
Session Eventsp. 47
Summaryp. 51
Securityp. 53
Servlet Security Methodologiesp. 54
HTTP Authenticationp. 55
Custom HTTP Authenticationp. 56
HTML Form Authenticationp. 63
Applet Authenticationp. 70
SSLp. 83
Summaryp. 84
Web Applicationsp. 85
Directory Structurep. 86
Web Application Archive: WAR Filesp. 88
Deployment Descriptorp. 89
Summaryp. 125
Filtersp. 127
Your First Filterp. 129
Modifying the Responsep. 131
Using XSLT to Transform Stock Quote Datap. 136
Summaryp. 149
Application Event Listenersp. 151
ServletContextListenerp. 152
ServletContextAttributeListenerp. 154
HttpSessionListenerp. 157
HttpSessionAttributeListenerp. 160
Summaryp. 163
HTML Formsp. 165
HTML Forms or Java Applets?p. 166
Form Basicsp. 166
Putting It All Together: A Survey Formp. 187
The EchoSurvey Servletp. 192
Summaryp. 196
Using JDBC in Servletsp. 197
JDBC Overviewp. 198
JDBC Servlet: EmployeeListp. 214
Splitting the Output into Separate Pagesp. 221
Connection Poolingp. 227
Working with Imagesp. 249
Summaryp. 259
Applet-to-Servlet Communicationp. 261
HTTPp. 262
What Is Tunnelingp. 263
The Basic Flowp. 263
Tunneling for Java 1.0.2p. 264
Using Serializationp. 298
Summaryp. 321
Automating Applet-to-Servlet Programmingp. 323
Writing the Client Is Always the Samep. 324
Writing the Server Is Always the Samep. 326
Letting Java Write the Client and Server for Youp. 328
Summaryp. 365
J2ME-to-Servlet Communicationp. 367
J2ME Overviewp. 368
The Basic Flowp. 369
Marshaling Parameters and Return Valuesp. 370
The Base Micro Tunnel Clientp. 370
The Base Tunnel Serverp. 376
MIDlet Example: IndyMIDletp. 376
The Remote Serverp. 386
A Challengep. 389
Summaryp. 389
Generating WML for Wireless Devicesp. 391
WAP Backgroundp. 392
WML Example: HelloPhonep. 393
Using XSLT to Transform Stock Quote Data (Revisited)p. 396
Summaryp. 402
Sending E-Mail from Servletsp. 403
What Are the Options?p. 404
Sending Mail Using SmtpClientp. 405
The JavaMail APIp. 410
Summaryp. 425
Using Servlets and Native Codep. 427
JNI Overviewp. 428
Obligatory Hello Worldp. 428
Invoking Java Methods from Cp. 435
Listing ODBC Data Sourcesp. 440
Summaryp. 451
Performance Tips and Tricksp. 453
Avoid String Concatenationp. 454
Avoid Debugging Statementsp. 455
Avoid Use of StringTokenizerp. 456
Avoid Unnecessary Synchronizationp. 457
Use a Connection Poolp. 458
Use a PreparedStatementp. 458
Cache Expensive Objectsp. 458
Tune Your Servlet Containerp. 461
Tune Your Virtual Machinep. 461
Summaryp. 462
The Servlet APIp. 463
Filterp. 464
FilterChainp. 466
FilterConfigp. 467
GenericServletp. 468
RequestDispatcherp. 472
Servletp. 474
ServletConfigp. 476
ServletContextp. 477
ServletContextAttributeEventp. 483
ServletContextAttributeListenerp. 484
ServletContextEventp. 485
ServletContextListenerp. 487
ServletExceptionp. 488
ServletlnputStreamp. 489
ServletOutputStreamp. 491
ServletRequestp. 494
ServletRequestWrapperp. 500
ServletResponsep. 501
ServletResponseWrapperp. 504
SingleThreadModelp. 505
UnavailableExceptionp. 505
Cookiep. 507
HttpServletp. 512
HttpServletRequestp. 518
HttpServletRequestWrapperp. 524
HttpServletResponsep. 525
HttpServletResponseWrapperp. 535
HttpSessionp. 535
HttpSessionActivationListenerp. 539
HttpSessionAttributeListenerp. 540
HttpSessionBindingEventp. 542
HttpSessionBindingListenerp. 543
HttpSessionEventp. 544
HttpSessionListenerp. 546
The Web Application Deployment Descriptorp. 547
web-appp. 548
auth-constraintp. 549
context-paramp. 550
error-pagep. 550
filterp. 550
filter-mappingp. 551
form-login-configp. 552
iconp. 552
init-paramp. 553
listenerp. 553
login-configp. 554
mime-mappingp. 554
security-constraintp. 555
security-rolep. 555
security-role-refp. 556
servletp. 556
servlet-mappingp. 558
session-configp. 558
user-data-constraintp. 558
web-resource-collectionp. 559
welcome-file-listp. 560
Online Servlet Resourcesp. 561
Indexp. 563
Table of Contents provided by Syndetics. All Rights Reserved.