- STAFF PICKS
- GIFTS + GIFT CARDS
- SELL BOOKS
- FIND A STORE
New Trade Paper
Currently out of stock.
available for shipping or prepaid pickup only
XML and Java: Developing Web Applications with CDROMby Hiroshi Maruyama
Synopses & Reviews
Fully revised to cover the latest standards and technologies, XML and Java™, Second Edition provides the practical solutions developers need to design powerful and portable Web-based applications. Featuring step-by-step examples, this book focuses on harnessing the power of Java™ and XML together to streamline the development process.
XML and Java™, Second Edition provides new coverage of emerging areas such as document management, databases, messaging, servlets, JDBC, data binding, security, and more. It begins with an overview of XML programming techniques, standard APIs, and tools. Building upon this foundation, the book goes on to cover the latest technologies, including DOM Level 2, SAX2, XSLT, SOAP, WSDL, and UDDI. It explores the role of these major middleware technologies in XML and Java-based Web application development, as well as the limitations and potential pitfalls.
Topic coverage includes:
Combining a team of experienced authors with a practical cookbook-style approach and packed with useful sample code, XML and Java™, Second Edition provides the most complete toolset available for developers navigating the next frontier of Web-based business applications.
Book News Annotation:
Written by members of IBM's Tokyo research lab, this guide explains how to develop Java programs that deal with XML as the input and output data format. The second edition has been substantially expanded to cover DOM level 2, SAX2, XSLT, SOAP, WSDL, and UDDI. The CD-ROM contains sample programs and trial versions of WebSphere and DB2.
Annotation c. Book News, Inc., Portland, OR (booknews.com)
About the Author
Hiroshi Maruyama, Senior Technical Staff Member at IBMs Tokyo Research Laboratory, led a team specializing in the development of advanced XML technologies. Kent Tamura is the creator of IBM XML Parser for Java (since renamed Xerces and made open source). Naohiko Uramoto is a visiting Associate Professor at the National Institute of Informatics who specializes in advanced Web services development. Makoto Murata is an affiliated researcher at the International University of Japan and a member of the original working group that created XML 1.0. Andy Clark is a developer of the Apache Xerces XML parser in Java and the primary designer and lead technical expert for the new Xerces2 parser. Yuichi Nakamura is a contributor to the Apache SOAP and Axis projects. Ryo Neyama is a contributor to the Apache SOAP and Axis projects. Kazuya Kosaka is the manager of the Internet Technology Group and, most recently, the developer of XML-based security technologies.
Satoshi Hada is currently working on XML Access Control and SOAP Security Extensions.
Table of Contents
1. Web Applications, XML, and Java.
Structure of This Book.
From Static Contents to Dynamic Contents.
From B2C to B2B-From Web for Eyeballs to Web for Programs.
Interoperability Is Everything.
From Distributed Applications to Decentralized Applications.
The World of Web Services-More Dynamic Integration.
Other Application Areas of XML.
Some XML Basics.
Validity and Well-Formedness.
2. Parsing XML Documents.
Working with Xerces.
Basics of Parsing Documents.
Parsing Well-Formed Documents.
Parsing Valid Documents.
Design Point: Well-Formed versus Valid.
More about Parsing XML Documents.
Parsing XML Documents with Namespaces.
Parsing XML Documents with XML Schema.
Design Point: The DTD versus XML Schema.
Parsing XML Documents with JAXP.
Design Point: JAXP and XercesNative API.
Programming Interfaces for Document Structure.
DOM: Tree-Based API.
SAX: Event-Driven API.
Design Point: DOM versus SAX.
3. Generating and Serializing XML Documents.
Creating a DOM Tree from Scratch.
Creating a Document Object.
Creating and Appending Child Nodes.
Validating a Generated DOM Tree.
Serializing a DOM Tree.
Using the XMLSerializer Package.
Discussions about Serialization.
4. Working with DOM.
Accessing and Updating the Status of a Node.
Accessing Structural Information.
Inserting, Detaching, and Replacing a Child Node.
DOM Tree and Attributes.
How to Simplify Your Code by Removing Entity References.
DOM Collection Is Live.
Moving Nodes over Documents.
Namespaces in DOM.
5. Working with SAX.
Basic Tips for Using SAX.
Using and Writing SAX Filters.
New Features of SAX2.
DOM versus SAX.
Performance: Memory and Speed.
Conversion from DOM to SAX and Vice Versa.
6. Parser Tricks.
Namespace Validation with DTDs.
Working with Sockets.
Basic Xerces Tricks.
Extended Parser Options.
Custom DOM Implementation.
Advanced Xerces Tricks.
The Xerces Native Interface.
Components and the Component Manager.
Building Parser Configurations from Xerces2 Components.
7. XPath and XSLT.
What Is XPath?
Syntax and Semantics of XPath.
XPath and Namespaces.
XPath Programming in Java.
What Is XSLT?
Syntax and Semantics of XSLT.
XSLT Programming in Java.
Pros and Cons of XSLT, XPath, DOM, and SAX.
8. Bridging Application Data Structure and XML.
Mapping to Almost Isomorphic Tree Structures.
Structure Adjustment by XSLT.
Mapping to Tables.
Mapping to Hash Tables.
Mapping to Graph Structures.
9. Working with Schemas: Datatypes and Namespaces.
W3C XML Schema.
Using Datatypes and Facets of W3C XML Schema.
10. XML Application Server.
The Background of the XML Application Server.
The Need for a Common Framework for Building Web Applications.
What Is an XML Application Server?
Returning XML Documents from a Servlet.
Receiving XML Documents.
Considerations for State Management.
What Is JSP?
An Informational JSP Returning XML Documents.
The Combination of Servlet and JSP.
Having Well-Grounded Goals.
Integrating and Multichanneling XML Documents Using Cocoon.
11. XML and Databases.
Storing and Searching for XML Documents.
Mapping from an XML Document to Tables.
Designing Relational Tables.
Defining the Primary Keys in a Table.
Designing a Table for MultiplyOccurring Elements.
Semantics of Data.
Mapping from Tables to an XML Document.
Nested and Flat Representation.
Element versus Attribute Representation.
A Servlet for Accessing a Database.
Working with EJB.
The Importance of EJB.
A Simple EJB.
12. XML Messaging.
Distributed Computing and Interoperability.
Overview of XML Messaging.
New-Generation Distributed Programming.
Simple Object Access Protocol.
The Birth of SOAP.
Travel Reservation Example.
Basic Concepts of SOAP.
To Use SOAP or Not?
Prototyping a SOAP Engine.
SOAP Engine Products.
Java API for SOAP.
13. Web Services.
Emergence of Web Services.
Publishing, Finding, and Integration.
What Are Web Services?
Status of Web Services.
Web Services Description.
Overview of WSDL.
WSDL as an Interface Definition Language.
Programming with WSDL4J.
Service Registration and Discovery.
Overview of UDDI.
Programming with UDDI4J.
Registering WSDL with the UDDI Registry.
Application to Dynamic e-Business.
Discovering Businesses on the Fly.
Enterprise Web Services.
IT System Security in General.
Security Requirements on B2B Systems.
Security of Communication.
Selecting a Public-Key Infrastructure.
Configuring a Server and a Client for SSL/TLS.
SSL/TLS Programming in Java.
Summary of Using SSL/TLS.
XML Digital Signature.
XML Digital Signature Sample.
Signing XML Documents with XML Security Suite for Java.
Verifying XML Digital Signature with XML Security Suite for Java.
Access Control in Java.
Declarative Access Control and Programmatic Access Control.
Declarative Access Control.
Programmatic Access Control.
Security Architecture of EJB.
Security in Web Services.
Using SSL/TLS and XML Digital Signature in SOAP.
Access Control in SOAP Applications.
Partial Encryption of XML.
Security Service as Web Services.
15. Data Binding.
Generating Java Classes from a Schema.
Pros and Cons of Generating a Java Program from a Schema
Generating an XML Document from Java Classes.
Pros and Cons of Generating XML Documents from Java Classes.
16. Principles of Schema Languages.
Schemas as Syntactic Constraints.
Checking Unexpected Documents.
What Happens If We Neglect Schemas?
Desiderata for Schema Languages.
Schemas as Data Models.
Documents as Character Strings.
Documents as Trees.
Documents as Data Compliant with Schemas.
Documents as Information for Web Applications.
Desiderata for Schema Languages.
Interworking with Other Software.
Interworking with Programming Languages.
Desiderata for Schema Languages.
General-Purpose Schema Languages.
W3C XML Schema.
Special-Purpose Schema Languages.
Appendix B. Useful Links and Books.
Platform and SDK.
Appendix C. XML-Related Standardization Activities.
XML Fragment Interchange.
XML Pointer, XML Base, and XML Linking.
Extensible Stylesheet Language.
Document Object Model.
Simple API for XML.
Platform for Privacy Preferences Project.
XML Protocol (SOAP).
Web Services Description Language.
Universal Description, Discovery, and Integration.
Java Specification Requests.
Web Distributed Authoring and Versioning.
Wireless Markup Language.
Appendix D. JDBC Primer.
Loading a JDBC Driver.
Connecting to a Database.
Submitting a Query.
Using a Connection Pool.
What Our Readers Are Saying
Computers and Internet » Computer Languages » Java