Using the Java Programming Language to Build Effective XML Applications

Contact Us for Dates
3 days practical workshop for up to 12 people.
Only £1185
This training course focuses on how XML based software can be built using the Java programming language. The training course covers the JAXP API, including the DOM and SAX APIs, processing XML using XSLT, and Data Binding using JAXB. It also looks at how XML validation can be done against XML Schemas using Java technology. The training course will also introduce how Web services can be developed using the Java Programming Language.

Layout

The training course combines lectures with practical exercises that help the delegates to put what they have learned on the training course into practice.  The exercises specifically build on what has been recently taught and are built up as the training course progresses.

Training Course Objectives

  • Understand where XML can best be applied within Java based applications
  • Use the SAX APIs for parsing XML files and streams
  • Use DOM to read in and manipulate XML
  • Understand the mechanism by which data from databases can be converted into XML using a combination of JAXP and JDBC and vice versa.
  • Write a basic XSLT stylesheet, and use it to transform an XML grammar into HTML, XHTML, or an alternative XML grammar.
  • Implement data binding using JAXB.
  • Understand how Web services are implemented using the Java programming Language

Who it is for

This training course is aimed at anyone who is experienced in Java Programming who needs to incorporate XML processing into his or her Java application development. Delegates should also be familiar with XML syntax.

Training Course Prerequisites

  • Delegates should be familiar with the Java Programming language as far as understand how to work in an OO environment and grasping the basic use of Java.  They should also be familiar with XML technology.
  • Knowledge of the Java Programming Language can be obtained from our Java Programming Course. XML experience can come from the XML Overview training course.

Chapters

Chapter 1 Java and XML

  • What is XML?
  • XML Syntax
  • Java Support for XML
  • Where XML fits into Java applications

Chapter 2 Java Parsers and Validation

  • Well formed and valid XML
  • JAXP Parsers
  • Xerces Parser
  • Validation against XML Schemas

Chapter 3 Simple APIs for XML Parsing - SAX

  • Introduction to the SAX APIs
  • Defining the SAX Document Handler
  • Defining the SAX Error Handler

Chapter 4 Document Object Model (DOM)

  • Introduction to the DOM APIs
  • The anatomy of a Document Object
  • Creating and manipulating Document objects
  • An introduction to XML namespaces
  • Namespaces and Document objects
  • Writing out Document objects

Chapter 5 JDOM the DOM alternative

  • Using JDOM
  • The JDOM API
  • Pros and Cons of DOM vs JDOM

Chapter 6 JDBC and JAXP

  • An introduction to Java Database Connectivity (JDBC)
  • Combining JDBC with JAXP to generate XML content
  • XML data and Databases

Chapter 7 Data Binding

  • Introduction to the concept of data binding
  • Implementing data binding using JAXB

Chapter 8 XSLT and Java technology

  • An Introduction to XSLT
  • An Introduction to XPath
  • Applying XSLT from Java applications

Chapter 9 Using XML in Web Applications

  • XML features of JSP2.0
  • Using the JSTL XML Standard Actions

Chapter 10 Introducing Web Services using Java

  • SOAP
  • WSDL
  • Deploying a basic Web service in Apache Axis
  • Creating a basic Web service client