logo

XML Course

course overview

Click to View dates & book now

Overview

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.

Audience

Anyone who needs to program XML in conjunction with Java, including application developers, Web developers, XML document authors, and webmasters.

Skills Gained

  • XML Fundamentals
  • Parsing XML with SAX
  • Parsing XML with DOM
  • Accessing and Generating XML Documents with DOM
  • Validating XML with DTDs
  • Validating XML with Schema
  • Distributed Applications with XML
  • XSL Fundamentals
  • Web Services Introduction
  • SOAP

Prerequisites

Familiarity with Web and data processing concepts. Java programming experience is required. Duration Three days.

Outline

Outline of XML Programming Using Java Training

1. XML Fundamentals

  • Data and document structure
  • XML
  • Well-formed XML
  • Enforcing validity: DTDs
  • Presentation style
  • Basic concepts of XML

2. XPath

  • Syntax of Location Path Expression
  • Syntax of XPath Expression
  • XPath Core Functions
  • XPath String Functions

3. Parsing XML with SAX

  • Parsing with SAX
  • Building SAX Parsers
  • SAX Event Methods
  • ContentHandler
  • SAX Parser Behavior
  • Error Handling
  • SAX Parser Usage

4. Parsing XML with DOM

  • DOM
  • Limitations of SAX
  • DOM Parser
  • Nodes
  • The Basic Node Types
  • Less Common Node Types
  • DOM Interfaces
  • Our first DOM application

7. Validating XML with Schema

  • Schema overview
  • A minimal schema
  • Linking documents to schema
  • Element declarations
  • Attribute declarations
  • Complex types
  • Simple and built-in types
  • Derivation of simple types
  • Choices
  • Named and anonymous types
  • Mixed content
  • Naming conflicts

5. Accessing and Generating XML Documents with DOM

  • Accessing DOM object
    • Using the DOM API to access DOM objects
    • Traversing a DOM object
    • Modifying a DOM object
    • Extract DOM data
  • XML Generation with DOM
    • Building a DOM tree.
    • Combining DOM objects
    • Using DocumentFragment to recognized a DOM tree
    • Generating XML data a Document object
  • An Example - Modifying an XML document using DOM

6. Validating XML with DTDs

  • Write XML DTDs
    • DOCTYPE
    • Element Conditions
    • Element Quantifiers
    • Attributes
    • Attribute default values
    • Parsed general entities
    • Parsed parameter entities
    • More on namespaces
  • Validate XML with DTDs

8. Distributed Applications with XML

  • The fundamentals of using XML in distributed systems
    • Basic functionalities for XML applications
    • Applying XML across system boundaries
    • Using XML in client side
    • Using XML in server side
    • Passing XML over TCP/IP
    • Using XML in non-networked system
    • Using XML in RDBMS
  • Using XML in J2EE applications
    • Using XML in applets
    • Using XML in servlets
    • Creating XML middleware with databases

9. Introduction to XSL

  • What is XSL ?
  • Translation elements
  • Formatting objects
  • XSL in action

10. JAX

  • Introducing JAXB
  • Interfaces and Classes
  • Unmarshal
  • Retrieving Data
  • Generating XML from JAXB
  • Validation
  • Advantages of JAXB

11. Web Services Introduction

  • Needs for and benefits of Web Services
  • Web Service Description Language (WSDL)
  • RPC (Remote Procedure Call) -based Web Services
  • UDDI (Universal Description, Discovery and Integration)

12. SOAP

  • Needs for and benefits of SOAP
  • SOAP message
  • SOAP over HTTP
  • RPC

Talk to an expert

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. Its a cost effective option. One on one training can be delivered too, at reasonable rates.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

All $ prices are in USD unless it’s a NZ or AU date

SPVC = Self Paced Virtual Class

LVC = Live Virtual Class

Please Note: All courses are availaible as Live Virtual Classes

Trusted by over 1/2 million students in 15 countries

Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.