search for books and compare prices
Tables of Contents for Xml and Java
Web Applications, XML, and Java
1
20
Structure of This Book2
4
From Static Contents to Dynamic Contents6
1
From B2C to B2B-From Web for Eyeballs to Web for Programs7
4
Interoperability Is Everything11
2
From Distributed Applications to Decentralized Applications13
2
The World of Web Services-More Dynamic Integration15
1
Other Application Areas of XML
15
2
Metadata15
1
Configuration Files16
1
Rich Documents16
1
Standardization Process17
1
Validity and Well-Formedness18
1
Namespaces19
1
Parsing XML Documents
21
38
XML Processors21
1
Working with Xerces22
3
Basics of Parsing Documents
25
10
Parsing Well-Formed Documents25
4
Parsing Valid Documents29
5
Design Point: Well-Formed versus Valid34
1
More about Parsing XML Documents
35
8
Parsing XML Documents with Namespaces35
3
Parsing XML Documents with XML Schema38
2
Design Point: The DTD versus XML Schema40
1
Parsing XML Documents with JAXP40
3
Design Point: JAXP and Xerces Native API43
1
Programming Interfaces for Document Structure
43
14
DOM: Tree-Based API45
3
SAX: Event-Driven API48
7
Design Point: DOM versus SAX55
2
Generating and Serializing XML Documents
59
26
Creating a DOM Tree from Scratch
60
10
Creating a Document Object60
2
Creating and Appending Child Nodes62
5
Handling Namespaces67
3
Validating a Generated DOM Tree
70
4
Serializing a DOM Tree
74
4
Using the XMLSerializer Package74
1
Discussions about Serialization75
3
XML Declarations83
1
Charset Parameter84
1
Accessing and Updating the Status of a Node86
1
Accessing Structural Information87
4
Inserting, Detaching, and Replacing a Child Node91
3
DOM Tree and Attributes94
1
How to Simplify Your Code by Removing Entity References96
1
Tree Traversal97
2
DOM Collection Is Live99
1
Moving Nodes over Documents100
1
Namespaces in DOM100
8
Basic Tips for Using SAX
109
11
ContentHandler109
5
Using and Writing SAX Filters114
5
New Features of SAX2119
1
Performance: Memory and Speed120
8
Conversion from DOM to SAX and Vice Versa128
13
Namespace Validation with DTDs144
2
Entity Resolution146
5
Working with Sockets151
4
Extended Parser Options155
2
Custom DOM Implementation157
8
Advanced Xerces Tricks
165
20
The Xerces Native Interface166
3
Components and the Component Manager169
1
Parser Configurations170
8
Building Parser Configurations from Xerces2 Components178
7
What Is XPath?187
1
Syntax and Semantics of XPath188
5
XPath and Namespaces193
2
XPath Programming in Java195
4
What Is XSLT?200
1
Syntax and Semantics of XSLT200
11
XSLT Programming in Java211
14
Pros and Cons of XSLT, XPath, DOM, and SAX
225
8
Execution Efficiency225
1
Development Efficiency226
7
Bridging Application Data Structure and XML
235
24
Mapping to Almost Isomorphic Tree Structures
237
6
Structure Adjustment by XSLT
243
3
Mapping to Hash Tables
247
4
Mapping to Graph Structures
251
6
Working with Schemas: Datatypes and Namespaces
259
36
Mimicking DTDs261
9
Datatypes270
6
Using Namespaces276
4
Advanced Features280
1
Further Information281
1
Mimicking DTDs282
6
Using Datatypes and Facets of W3C XML Schema288
1
Using Namespaces289
1
Co-occurrence Constraints290
2
Further Information292
1
XML Application Server
295
58
The Background of the XML Application Server
295
3
The Need for a Common Framework for Building Web Applications296
1
What Is an XML Application Server?297
1
Returning XML Documents from a Servlet299
11
Receiving XML Documents310
18
Considerations for State Management328
2
What Is JSP?330
3
An Informational JSP Returning XML Documents333
4
The Combination of Servlet and JSP337
7
Having Well-Grounded Goals344
2
Integrating and Multichanneling XML Documents Using Cocoon346
5
Storing and Searching for XML Documents
354
3
Mapping from an XML Document to Tables
357
6
Designing Relational Tables360
1
Defining the Primary Keys in a Table360
1
Designing a Table for Multiply Occurring Elements360
1
Datatype Mapping361
1
Semantics of Data361
1
Two Approaches362
1
Mapping from Tables to an XML Document
363
4
Nested and Flat Representation364
3
Element versus Attribute Representation367
1
Mapping Method368
14
XPath Method382
16
A Servlet for Accessing a Database
398
3
The Importance of EJB401
2
A Simple EJB403
3
Distributed Computing and Interoperability407
2
Overview of XML Messaging409
2
New-Generation Distributed Programming411
1
Simple Object Access Protocol
412
15
The Birth of Soap412
1
Travel Reservation Example413
5
Basic Concepts of SOAP418
8
To Use SOAP or Not?426
1
Prototyping a Soap Engine427
26
Soap Engine Products453
6
Java API for SOAP459
2
Emergence of Web Services
463
4
Publishing, Finding, and Integration463
2
What Are Web Services?465
1
Status of Web Services466
1
Web Services Description
467
24
Overview of WSDL467
7
WSDL as an Interface Definition Language474
4
WSDL Tools478
3
Programming with WSDL4J481
9
JAX-RPC490
1
Service Registration and Discovery
491
17
Overview of UDDI492
3
Programming with UDDI4J495
11
Registering WSDL with the UDDI Registry506
2
Application to Dynamic e-Business
508
9
Application Scenario508
2
Discovering Businesses on the Fly510
3
Dynamic Binding513
4
Enterprise Web Services
517
2
IT System Security in General522
1
Security Requirements on B2B Systems
522
3
Security of Communication523
1
Access Control524
1
Server Authentication525
1
Client Authentication526
2
Selecting a Public-Key Infrastructure528
2
Configuring a Server and a Client for SSL/TLS530
3
SSL/TLS Programming in Java533
3
Firewall Considerations536
1
Summary of Using SSL/TLS537
1
XML Digital Signature
538
12
XML Canonicalization538
2
XML Digital Signature Sample540
2
Signing XML Documents with XML Security Suite for Java542
5
Verifying XML Digital Signature with XML Security Suite for Java547
3
Access Control in Java
550
7
Declarative Access Control and Programmatic Access Control550
2
Declarative Access Control552
1
Programmatic Access Control553
4
Security Architecture of EJB557
1
Security in Web Services
557
3
Using SSL/TLS and XML Digital Signature in SOAP558
1
Access Control in SOAP Applications558
1
Partial Encryption of XML558
1
Security Service as Web Services559
1
Generating Java Classes from a Schema
561
12
JAXB562
5
Relaxer567
6
Pros and Cons of Generating a Java Program from a Schema573
1
Generating an XML Document from Java Classes
573
11
Castor XML574
5
Pros and Cons of Generating XML Documents from Java Classes579
3
SOAP Encoding582
2
Principles of Schema Languages
585
26
Schemas as Syntactic Constraints
586
6
Checking Unexpected Documents586
2
What Happens If We Neglect Schemas?588
3
Desiderata for Schema Languages591
1
Schemas as Data Models
592
9
Documents as Character Strings592
2
Documents as Trees594
3
Documents as Data Compliant with Schemas597
2
Documents as Information for Web Applications599
1
Desiderata for Schema Languages600
1
Interworking with Other Software
601
2
Interworking with Programming Languages601
1
Relational Databases602
1
Desiderata for Schema Languages602
1
General-Purpose Schema Languages
603
3
DTD603
1
W3C XML Schema603
1
RELAX NG604
1
Schematron605
1
Special-Purpose Schema Languages
606
3
RDF Schema606
2
RELAX Namespace608
1
Appendix A About the CD-ROM
611
2
Appendix B Useful Links and Books
613
8
B.1.1 General613
1
B.1.2 Software614
1
B.2 Java615
1
B.2.1 Platform and SDK615
1
B.2.2 Web Applications615
1
B.2.3 Database615
1
B.2.4 Messaging615
1
B.2.5 Security616
1
B.3.1 General616
1
B.3.2 Software616
1
B.5.1 Java617
1
B.5.2 XML/SGML618
1
B.5.3 Web Services619
1
B.5.4 Other Topics619
2
Appendix C XML-Related Standardization Activities
621
20
C.1.1 Namespace622
1
C.1.2 XML Fragment Interchange622
1
C.1.3 XML Inclusions623
1
C.2.1 XPath625
1
C.2.2 XML Pointer, XML Base, and XML Linking625
1
C.2.3 Extensible Stylesheet Language626
1
C.3.1 XML Schema627
1
C.3.2 Relax Ng628
1
C.3.3 Schematron629
1
C.4.1 Document Object Model629
1
C.4.2 Simple API for XML630
1
C.5.1 XML Signature631
1
C.5.2 XML Encryption631
1
C.5.3 Platform for Privacy Preferences Project632
1
C.6.1 XML Protocol (SOAP)633
1
C.6.2 Web Services Description Language634
1
C.6.3 Universal Description, Discovery, and Integration634
1
C.7 Java Specification Requests
634
3
C.8.1 Web Distributed Authoring and Versioning
637
1
C.8.2 Wireless Markup Language
638
3
C.8.3 XHTML638
1
C.8.4 XML Query639
2
Appendix D JDBC Primer
641
10
D.3 Loading a JDBC Driver
644
1
D.4 Connecting to a Database
645
1
D.5 Submitting a Query
646
2
D.6 Using a Connection Pool
648
3
<