Skip to:Content
|
Bottom
Cover image for Professional XML development with apache tools : xerces, xalan, fop, cocoon, axis, xindice
Title:
Professional XML development with apache tools : xerces, xalan, fop, cocoon, axis, xindice
Personal Author:
Publication Information:
Indianapolis, Ind. : Wiley, 2004
ISBN:
9780764543555

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010068265 QA76.76.H94 L48 2004 Open Access Book Book
Searching...

On Order

Summary

Summary

What is this book about?

If you're a Java programmer working with XML, you probably already use some of the tools developed by the Apache Software Foundation. This book is a code-intensive guide to the Apache XML tools that are most relevant for Java developers, including Xerces, Xalan, FOP, Cocoon, Axis, and Xindice.

Theodore Leung, a founding member of the Apache XML Project, focuses on the unique capabilities of these best-of-breed XML tools. With the help of a sample application, he demonstrates how you can use them in unison to develop professional XML/Java applications for the real world.

If you need in-depth information to help you assemble a workable toolbox for developing sophisticated XML-based applications, you'll find it in this volume.

What does this book cover?

In this book, you will find out about the following:

How the Apache XML Project relates to Java programming When you'll need some of Xerces' extra parsing features, like grammar caching How to use Xalan's XSLTC to compile XSLT stylesheets into Java Prerequisites and applications for FOP and Batik Cocoon concepts and development Development techniques and practical usage for Xindice How to develop back-end applications with XML RPC and Axis Applications and concepts for XML Security

Who is this book for?

This book is written for professional Java developers who have had some exposure to XML and XSLT. To get the most from it, you should be familiar with Java, Java Web development technologies (e.g., servlets), and the command line Java tools.


Author Notes

Ted Leung is a Member of the Apache Software Foundation. He is a founding member of the Apache XML Project and served as the chairman of the XML Project Management Committee from March, 2001 to June, 2003.
He is also the principal of Sauria Associates, LLC, a Pacific Northwest consultancy focused on high-impact software development. He has served companies such as F5 Networks, IBM, Enkubator, Apple Computer, and Taligent in roles spanning technical lead through chief technology officer. Ted holds a S.B in Mathematics from the Massachusetts Institute of Technology and a Sc.M. in Computer Science from Brown University.
Ted has given a number of technical presentations at industry conferences, including Software Development West and ApacheCon. A full list of his speaking engagements is available at http://www.sauria.com/presentations.html.


Table of Contents

Acknowledgmentsp. ix
Introductionp. xvii
Chapter 1 Xercesp. 1
Prerequisitesp. 2
Well-Formednessp. 3
Validityp. 4
Entitiesp. 6
XML Parser APIsp. 6
SAXp. 8
DOMp. 13
Installing Xercesp. 15
Development Techniquesp. 16
Xerces Configurationp. 16
Deferred DOMp. 20
Schema Handlingp. 20
Grammar Cachingp. 23
Entity Handlingp. 29
Entity Referencesp. 31
Serializationp. 34
XNIp. 38
Using the Samplesp. 43
CyberNeko Tools for XNIp. 44
NekoHTMLp. 44
ManekiNekop. 44
NekoPullp. 45
Practical Usagep. 48
Common Problemsp. 49
Applicationsp. 50
Chapter 2 Xalanp. 53
Prerequisitesp. 53
XPathp. 53
XSLTp. 62
Installing and Configuring Xalanp. 69
Development Techniquesp. 70
TrAXp. 70
Xalan Specific Featuresp. 81
XSLTCp. 91
Xalan Extensionsp. 97
Practical Usagep. 104
Applicationsp. 104
Chapter 3 FOPp. 113
Prerequisitesp. 114
Basic XSLp. 115
Flowsp. 115
List Blocksp. 116
Generating XSL with XSLTp. 117
Tablesp. 119
Installing and Configuring FOPp. 123
Hyphenationp. 124
Development Techniquesp. 125
Embeddingp. 125
Using the Configuration Files and Optionsp. 127
SAXp. 129
DOMp. 131
XSLTp. 133
Validating XSLp. 135
Command-Line Usagep. 135
Ant Taskp. 137
Fontsp. 138
Outputp. 140
Graphicsp. 143
FOP Extensionsp. 145
Practical Usagep. 146
Applicationsp. 146
Chapter 4 Batikp. 155
Prerequisitesp. 156
Static SVGp. 156
Dynamic SVGp. 164
Installing and Configuring Batikp. 169
Development Techniquesp. 170
SVGGraphics2Dp. 171
JSVGCanvasp. 183
Image Transcodingp. 187
SVG Scriptingp. 191
Securityp. 197
SVG Rasterizerp. 202
Command Linep. 202
SVG Browserp. 205
SVG Pretty-Printerp. 206
SVG Font Converterp. 207
Practical Usagep. 208
Applicationsp. 209
Rich Client User Interfacesp. 212
Chapter 5 Cocoon Conceptsp. 213
Prerequisitesp. 213
Conceptsp. 214
Sitemapp. 214
Generatorsp. 223
Transformersp. 225
Serializersp. 229
Matchersp. 231
Selectorsp. 233
Actionsp. 234
Action Setsp. 236
Readersp. 236
Viewsp. 238
Resourcesp. 239
[left angle bracket]pipeline[right angle bracket] elementsp. 239
Cocoon URIsp. 241
XSPp. 242
Sessionsp. 253
Chapter 6 Cocoon Developmentp. 255
Installing and Configuring Cocoonp. 255
Configuring Cocoonp. 257
Development Techniquesp. 258
Database Accessp. 258
Simple Applicationp. 269
Practical Usagep. 283
Performancep. 283
Applicationsp. 284
Chapter 7 Xindicep. 285
Prerequisitesp. 286
XML:DBp. 287
XUpdatep. 293
Installing and Configuring Xindicep. 299
Command-Line Toolsp. 300
Runtime Environmentp. 300
Adding to the Databasep. 300
Retrievalp. 302
Deletingp. 303
Indexingp. 304
Otherp. 306
Development Techniquesp. 307
XML:DB APIp. 307
Practical Usagep. 329
Applicationsp. 329
XMLServlet: Accessing Xindicep. 330
XSLTServletFilterp. 334
Deployment Descriptorsp. 337
XSLT Stylesheetsp. 338
A SAX-based Versionp. 341
XPathResultHandlerp. 346
Chapter 8 XML-RPCp. 349
Prerequisitesp. 350
Conceptsp. 350
XML Encoding RPCsp. 351
Using HTTP as an RPC Transportp. 354
Installing and Configuring XML-RPCp. 356
Development Techniquesp. 356
A Simple Clientp. 357
Mapping to Java Typesp. 358
A Simple Serverp. 359
Asynchronous Clientsp. 361
Getting More Control Over Server Processingp. 363
Handling BASIC Authentication on the Serverp. 365
XML-RPC in Existing Serversp. 366
Using SSLp. 368
Practical Usagep. 373
Applicationsp. 373
Simplifying XML-RPCp. 373
Chapter 9 Axisp. 379
Prerequisitesp. 380
Conceptsp. 380
SOAPp. 380
WSDLp. 384
JAX-RPCp. 392
Installing and Configuring Axisp. 399
Deployment Environment Setupp. 400
Development Environment Setupp. 401
Development Techniquesp. 402
Axis Conceptual Modelp. 402
Axis and WSDLp. 407
Accessing the ServletContextp. 434
Message Servicep. 436
Handlersp. 442
.jws Web Servicesp. 448
Toolsp. 449
Practical Usagep. 453
Applicationsp. 454
Chapter 10 XML Securityp. 455
Prerequisitesp. 456
One-Way Hashingp. 456
Symmetric Key Encryptionp. 457
Public Key Encryptionp. 457
Digital Signaturesp. 457
Conceptsp. 458
Canonicalizationp. 459
Installing and Configuring XML Securityp. 470
Development Techniquesp. 471
Canonicalizing and Computing the Digestp. 471
Signingp. 474
Verificationp. 485
More Signaturesp. 490
Resolversp. 493
Encryptionp. 495
Practical Usagep. 501
Applicationsp. 502
Indexp. 503
Go to:Top of Page