| Course Number: | | X210 |
| Duration: | | 3 days |
| Standard Price: | | $6,600 for up to 10 students |
| Government Price: | | $5,940 for up to 10 students |
| Location: | | on-site |
Description
In this course, Java programmers will learn the basics of XML form and syntax.
They will use Java to implement XML web applications, as well as learning how
to use XML to pass data between distributed Java applications. Emphasis is
placed on writing well-formed and valid XML, parsing techniques and converting
Legacy data with XML.
Outline
XML and Java
- Java and XML
- XML Syntax
- Document Type Definition
- Parsers
- Building Your Own Parser
- SAX Parsers
- DOM Parsers
- SAX vs DOM
- Validating vs Non-Validating
Parsing XML with SAX
- SAX Basics
- Parsing with SAX
- SAX Event Methods
- ContentHandler
- Parsing Elements
- Parsing Characters and Whitespace
- Error Handling
- SAX Parser Usage
Parsing XML with DOM
- Document Object Model
- Document Object
- Parsing with DOM
- Key DOM Interfaces
Building XML with DOM
- Building the Tree
- Cloning Nodes
- Combining Document Objects
- Writing DOM to XML
Validating XML
- Validation in XML
- Validation with DTDs
- Whitespace with Validation
- Validation with XML Schemas
- Schema Datatypes
- Validating with SAX
- Validating with DOM
- Parser Errors
- JAXP and XML Schemas
Basic SOAP
- SOAP Overview
- SOAP Envelope
- SOAP Over HTTP
- SOAP Server
Industrial Strength SOAP
- SOAP Messaging
- Messaging Server
- Web Services
- WSDL
- UDDI
XML Transformations with XSLT
- XML Transformations
- XSLT Stylesheets
- TrAX
- XSLT Processors
- XSLT in Servlets
- XSL Formatting Objects
Distributed Applications with XML
- Distributed Applications Overview
- Socket Programming with XML
- Servlets and JavaServer Pages
- Creating XML from Textual Data
- Creating XML from Relational Data
Appendix A: JDOM
- JDOM Packages
- Getting Started with JDOM
- JDOM Parsing
- Elements and Attributes
- Outputting from JDOM
- Transforming JDOM using XSLT
Who should attend
Anyone who needs to program XML in conjunction with Java, including
application developers, Web developers, XML document authors, and webmasters.
Prerequisites
Familiarity with Web and data processing concepts. Fundamentals of XML.
Java programming experience is required.