- ISBN: 9780763734237 | 0763734233
- Cover: Paperback
- Copyright: 7/1/2006
Acknowledgments | p. iii |
Preface | p. v |
Web Application Concepts | p. 1 |
History | p. 2 |
Web Architecture | p. 3 |
Uniform Resource Identifier (URI)/Uniform Resource Locator (URL) | p. 4 |
Hypertext Transfer Protocol (HTTP) | p. 5 |
Web Application Architecture | p. 7 |
J2EE Architecture | p. 13 |
Self-Review Questions | p. 17 |
Keys to the Self-Review Questions | p. 18 |
References | p. 18 |
XML Basics | p. 21 |
Overview | p. 22 |
XML Documents | p. 24 |
The Document Prolog | p. 24 |
Elements and Element Names | p. 25 |
Attributes | p. 26 |
Attribute or Element? | p. 27 |
XML Syntax | p. 28 |
Well-Formed Documents | p. 31 |
Namespaces | p. 32 |
DTD and XML Schema | p. 34 |
Document Type Definitions (DTDs) | p. 35 |
XML Schema | p. 43 |
Parsing XML | p. 48 |
Simple API for XML (SAX) | p. 50 |
Document Object Model (DOM) | p. 59 |
Java API for XML Processing (JAXP) | p. 65 |
Alternatives to DOM: JDOM and dom4j | p. 69 |
Transforming XML | p. 73 |
Examples and Practice Labs | p. 81 |
Lab 1: Example Document Type Definition (DTD) | p. 81 |
Lab 2: Example XML Schema | p. 82 |
Lab 3: SAX Example | p. 85 |
Lab 4: DOM Example | p. 97 |
Lab 5: Example XSL Transformation | p. 103 |
Summary | p. 110 |
Self-Review Questions | p. 112 |
Keys to the Self-Review Questions | p. 115 |
Exercises | p. 115 |
Programming Exercises | p. 116 |
References | p. 117 |
Java Servlets | p. 119 |
Overview | p. 120 |
Support Environments for Java Servlets | p. 123 |
Web Server Configuration (server.xml) | p. 123 |
Java Servlet Deployment Descriptor (web.xml) | p. 124 |
Other Configurations | p. 125 |
Basics of Java Servlets | p. 126 |
Java Servlet Architecture | p. 126 |
Servlet Life Cycle | p. 130 |
Processing of HTTP Requests and Responses | p. 132 |
Communications with HTTP Servlets | p. 137 |
Communication with Clients to HTTP Servlets | p. 137 |
The Ways for Servlets to Communicate with Other Web Components | p. 137 |
Web Client Session Tracking | p. 140 |
Debugging Servlets | p. 145 |
Examples and Lab Practice | p. 146 |
Lab 1: Tomcat5 Installation and Configuration | p. 146 |
Lab 2: A Simple HTTP Servlet Development and Deployment | p. 151 |
Lab 3: A Servlet Forwards the Control to Another Servlet | p. 157 |
Lab 4: A Session-Tracking Example | p. 162 |
Summary | p. 165 |
Self-Review Questions | p. 165 |
Keys to the Self-Review Questions | p. 168 |
Exercises | p. 168 |
Programming Exercises | p. 169 |
References | p. 170 |
Java Server Pages (JSP) | p. 171 |
Overview | |
JSP Basics | |
JSP Life Cycle | |
First Simple Interactive JSP Example | |
JSP Standard Syntax | |
JSP Directives | |
JSP Scripting Elements | |
JSP Standard Actions | |
Expression Language (EL) | |
General Syntax for Bean Access | |
Syntax for Collection Data Access | |
Syntax for Shared Data Access in JSP Contexts | |
Integrations with JSP | |
Integration of Servlet with JSPs | |
Integration of JSP with Other JSPs | |
Custom Tag Library | |
Tag Implementation Class | |
JSP XML Syntax Documents | |
JSP Debugging and Testing | |
Compilation Errors | |
Run-Time Errors | |
Examples and Lab Practice | |
Lab 1: Integration of a Servlet with JSP | |
Lab 2: A Form Request Application with Integrations of Multiple JSP Pages | |
Lab 3: Application of a Custom Tag Library for a Two-Decimal-Digits Format Tag | |
Lab 4: A Survey of Programming Language Preference with Java Scoped Objects | |
Lab 5: A Comprehensive Example of Phone Book Management | |
Summary | |
Self-Review Questions | |
Keys to the Self-Review Questions | |
Exercises | |
Programming Exercises | |
References | |
Case Study: MVC Architecture for Web Applications | p. 227 |
Overview | p. 228 |
MVC Basics | p. 229 |
MVC Type-1 Architecture | p. 229 |
MVC Type-2 Architecture | p. 231 |
A Simple MVC-2 Example | p. 232 |
JDBC | p. 235 |
Overview | p. 235 |
JDBC API | p. 235 |
JDBC Drivers | p. 237 |
JDBC Application Examples | p. 240 |
A Case Study: Online Shopping Application | p. 246 |
View Module of Online DVD Shopping Cart Application | p. 247 |
Controller Module of an Online DVD Shopping Cart Application | p. 252 |
Model Module of an Online DVD Shopping Cart Application | p. 255 |
Back-End Tier of an Online DVD Shopping Cart Application | p. 260 |
Summary | p. 265 |
Self-Review Questions | p. 266 |
Keys to the Self-Review Questions | p. 268 |
Exercises | p. 268 |
Programming Exercises | p. 269 |
References | p. 269 |
Enterprise JavaBeans (EJB) | p. 271 |
Overview | p. 272 |
Overview of the EJB Architecture and J2EE Platform | p. 272 |
EJB Container | p. 273 |
EJB Components | p. 273 |
Session Beans | p. 276 |
Stateless Session Beans | p. 277 |
The Stateful Session Bean | p. 282 |
Entity Beans | p. 288 |
Overview | p. 288 |
Life Cycle of an Entity Bean | p. 288 |
BMP Entity Bean | p. 290 |
CMP Entity Bean | p. 295 |
Message-Driven Beans (MDB) | p. 300 |
EJB Web Service Components | p. 301 |
The Deployment Model of EJB | p. 302 |
Examples and Lab Practice | p. 304 |
Lab Environments | p. 304 |
Summary | p. 359 |
Self-Review Questions | p. 360 |
Keys to the Self-Review Questions | p. 361 |
Exercises | p. 361 |
Programming Exercises | p. 362 |
References | p. 362 |
SOAP | p. 365 |
Overview | p. 366 |
SOAP Concepts | p. 370 |
The SOAP Specification | p. 371 |
SOAP Message Exchange Patterns | p. 376 |
SOAP Message Structure | p. 382 |
SOAP Namespaces | p. 385 |
The Envelope Element | p. 386 |
The Header Element | p. 389 |
The role Attribute | p. 391 |
The mustUnderstand Attribute | p. 394 |
The relay Attribute | p. 395 |
SOAP Intermediaries | p. 396 |
The Body Element | p. 398 |
SOAP 1.2 Faults | p. 400 |
The Reason Element | p. 406 |
The Node Element | p. 406 |
The Role Element | p. 407 |
The Detail Element | p. 408 |
SOAP 1.1 Faults | p. 409 |
Data Encoding | p. 413 |
SOAP Data Model | p. 414 |
SOAP Encoding | p. 417 |
Message Styles and Encoding Styles | p. 434 |
SOAP RPC Representation | p. 436 |
RPC/Encoded | p. 439 |
RPC/Literal | p. 440 |
Document/Encoded | p. 442 |
Document/Literal | p. 443 |
Examples and Practice Labs | p. 446 |
Downloading and Installing Apache Axis | p. 446 |
Lab 1: Using the Axis TCP Monitor | p. 451 |
Lab 2: RPC/Literal Example | p. 459 |
Lab 3: Document/Literal Example | p. 468 |
Summary | p. 471 |
Self-Review Questions | p. 473 |
Keys to the Self-Review Questions | p. 477 |
Exercises | p. 477 |
Programming Exercises | p. 479 |
References | p. 479 |
Web Services | p. 483 |
Overview | p. 484 |
Web Services Description Language (WSDL) | p. 490 |
WSDL Document Structure | p. 491 |
The definitions Element | p. 498 |
The documentation Element | p. 499 |
The import Element | p. 500 |
The types Element | p. 501 |
The message Element | p. 503 |
The portType Element | p. 507 |
The operation Element | p. 508 |
The binding Element | p. 512 |
The service Element | p. 519 |
SOAP with Attachments API for Java (SAAJ) | p. 520 |
Java API for XML-Based RPC (JAX-RPC) | p. 524 |
JAX-RPC Server-Side Programming | p. 525 |
JAX-RPC Client-Side Programming | p. 534 |
Mapping Java to WSDL and XML | p. 542 |
Deploying JAX-RPC Service Endpoints | p. 553 |
Universal Description, Discovery, and Integration (UDDI) | p. 558 |
UDDI Data Structures | p. 560 |
Categorization and Identification | p. 565 |
UDDI Inquiry API | p. 566 |
UDDI Publication API | p. 569 |
Java API for XML Registries (JAXR) | p. 572 |
Examples and Practice Labs | p. 580 |
Lab 1: Java-to-WSDL Example | p. 580 |
Lab 2: J2EE Example | p. 588 |
Summary | p. 680 |
Self-Review Questions | p. 683 |
Keys to the Self-Review Questions | p. 685 |
Exercises | p. 685 |
Programming Exercises | p. 688 |
References | p. 688 |
Index | p. 691 |
Table of Contents provided by Ingram. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.
Digital License
You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.
More details can be found here.