This course provides the foundations for working with XML in Java. XML is an important data format, and although tools try to hide the underlying syntax, eventually you must parse and manipulate it. This course shows how to parse, generate, manipulate, and transform XML using Java. It covers the major World Wide Web Consortium (w3c) interfaces and their implementations in Java, including SAX and DOM. It covers multiple releases of these important API’s. Using SAX and DOM, the course covers event driven and in-memory parsing of XML documents. It also shows how to build DOM trees in memory and persist them as valid XML documents. It also shows the DOM alternative JDOM and how that approaches differs from the standard.
This course also covers important manipulation techniques for XML. It shows how to use XSL and XSLT to drive transformations and how to automate this process using publishing frameworks. It also shows how to use XML as a remote procedure call data format (using XML-RPC) and an introduction to building web services using Java.
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
Prerequisites
The student should have experience with core Java language concepts such as fundamental types, classes, abstract classes, interfaces, files, and streams. A working knowledge of XML is preferred but not required.
XML Concepts
XML Basics
DTD and XSD
DOM
XSL and XSLT
XPath
SAX
The SAX Interfaces
SAX Readers
Simple Parsing with SAX
Content Handlers
Error Handlers
Advanced SAX
Handling Validations
Filters
Writers
Advanced Handlers
DOM
Document Object Model
Traversing DOM Trees
Serialization
Making Changes
Advanced DOM
Namespaces
DOM Level 2 Modules
DOM Level 3
JDOM
Using JDOM
Special JDOM Features
Wrappers
JAXP
Using Factories
JAXP Interfaces
JAXP 1.0 Features
JAXP 1.1 Features
Transformations
Driving Transformations with Xalan
Web Publishing Frameworks
XSP
XML-RPC
Introduction to Distributed Computing
XML-RPC
Using XML-RPC
XML-RPC Characteristics
SOAP and Web Services
Introduction to SOAP
Introduction to Web Services
Axis
WSDL
XML in SOAP