Telephone +44 (0)117 935 3444
Fax +44 (0)117 935 3322
Email

To book or enquire about this course, contact us on +44 (0)117 935 3444, or by email at .

Using the Java Programming Language to Build Effective XML Applications

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.

Course Duration

3 days

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.

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.

Objectives

At the end of this course, students should be able to:

  • 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

Course Contents

1. Java and XML

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

2. Java Parsers and Validation

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

3. Simple APIs for XML Parsing - SAX

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

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

5. JDOM the DOM alternative

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

6. JDBC and JAXP

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

7. Data Binding

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

8. XSLT and Java technology

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

9. Using XML in Web Applications

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

10. Introducing Web Services using Java

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

Conygre do a range of additional courses that may be suitable for your needs. Visit www.conygre.com to find out more. Conygre also customize their courses for almost every client, so if this is not exactly what you want, then give Nick a call on the number at the top of this page.

Copyright 2010 Conygre IT Limited

Close window