Courses
Oracle Courses
Symantec Courses

TT-4360 --- Processing XML Using Java (JAXP)

Overview

Processing XML Using Java is a customized three day in-depth course geared for Java programmers who need to understand how to work with XML from within Java.

Objectives

Processing XML Using Java is a customized three day in-depth course geared for Java programmers who need to understand how to work with XML from within Java. This intense course focuses on the family of XML-related APIs from the Java world that are oriented towards parsing, transforming, and binding XML. There is a strong theme on performance and best practices throughout the course.

Extensible Markup Language (XML) is a standard that is enabling a revolution in web applications and business to business interactions. XML is the basis for Wireless Markup Language (WML), Voice Markup Language (VoiceML), Simple Object Access Protocol (SOAP), Web Services, and numerous industry initiatives such as ACORD (insurance), PXML (proposal/RFP) and OTA (travel). This course is an intensive, hands-on treatment of how to consume, generate, and transform XML within Java and J2EE applications. The course is a balanced mixture of theory and practical labs designed to take students from the basic fundamentals of XML processing through to the related advanced technologies such as Java/XML interoperability. The students walk through the various APIs in a structured manner to enable them to master the concepts, ideas, and patterns, which are reinforced in the lab exercises.

PreRequisites

  • Take Before: Students should have basic understanding and experience in the following topics, or attend these courses as a pre-requisite:
  • TT4300 Core XML and XSLT

 

Who Can Benefit

This is an intermediary level Java programming course, designed for those needing to process XML from within Java applications.

Duration

3 days

Course Content

Processing XML Using Java (JAXP)   (TT-4360) Content Details

 
 
XML Review
XML Mechanics
  • XML Document Structure
  • Well-Formed and Valid XML Documents
  • Structure, Content and Format
  • Working with XML
JAXP and SAX Parsing
JAXP and SAX (Part 1)
  • Processing XML Using Parsers
  • Validating and Non-validating
  • JAXP Overview
  • JAXP Usage Patterns
  • SAX Parsing Using JAXP
  • Validating Using Nested Schemas
JAXP and SAX (Part 2)
  • SAX Events
  • SAX API
  • Handling Exceptions
  • SAX Content Handling
  • Designing SAX Content Handlers
JAXP and DOM Parsing
JAXP and DOM (Part 1)
  • JAXP Usage Patterns with DOM
  • DocumentBuilders
  • DOM Parsing Using JAXP
  • Validating Using Nested Schemas
JAXP and DOM (Part 2)
  • DOM Concepts
  • DOM Nodes
  • DOM API
  • Handling Exceptions
  • DOM Operations and Processing
  • Designing DOM Processing
XML Formatting
XSL Transformations
  • XPath Describes Locations Within XML
  • XSLT is Rule-Based Transformation Language
  • XSL is Oriented Towards Formatting
  • XPath Accesses Parts of Document
  • XSLT Templates Specify Output Replacement
  • XSLT Uses XPath Expressions Within Templates
XSLT and XPath
  • XPath Expressions
  • Abbreviated Axis Forms
  • Predicates As Optional Filters
  • XPath Operators; Functions; Examples
  • Working With XPath
  • XSLT Stylesheet Structure
  • Templates: Rules in a Stylesheet
  • Apply-Templates Directs Processing
  • value-of to Extract Values
  • Built-in Templates
  • Text Handling
  • Calling Templates
  • Passing Parameters
  • Conditional Processing Constructs
  • Looping With <xsl:for-each>
  • Sorting
  • Constructing A New Node
 
Rendering: JAXP and Transformations
XSLT Transformations in Java
  • JAXP/TRaX Concepts and Terminology
  • Transformer Patterns
  • Stream to Stream Transformations
  • DOM to DOM Transformations
  • Exception Handling with Transformers
  • Identity Transforms
  • Performance Considerations
  • Working With XSLT Processors
Binding Java and XML
XML Interoperability with Java: JAXB
  • JAXB Concepts
  • JAXB Class Generation
  • JAXB Runtime Features
  • On-demand Validation
  • Consuming XML Using JAXB
  • Generating XML Using JAXB
Security and XML
XML Signature, Encryption, and XWSS
  • Concepts and Terminology
  • XML Signature
  • XML Encryption
  • XWSS: XML Security
Defending XML
  • Understanding Common Attacks And How To Defend
  • Operating In Safe Mode
  • Using Standards-Based Security
  • XML-Aware Security Infrastructure
  • JAXP Safe Mode
Applying XML
XML Interoperability
  • XML From a Data Perspective
  • Application Considerations
  • Character Encoding Issues
  • Direct XML Storage
  • Challenges to Mapping XML
  • XML to RDB
  • RDB to XML
XML Performance Improvements
  • Organization of Best Practices
  • Best Practices Review
Web Services Overview (Optional)
  • Web Services Defined
  • XML in Web Services
  • SOAP Specification
  • WSDL: Description
  • UDDI: Publication and Search
  • Web Services Enables Decoupling
  • Web Services Advantages
  • Many Web Services Challenges
  • Web Services Interoperability Organization
XML Applications
  • W3C Activities
  • Benefits of XML
  • Drawbacks of XML
  • Data Models in Action
  • Data Model Complexity
  • Data Model Considerations
  • Crossing Boundaries
  • Application Architectures
  • XML: Lightweight Databases
  • Application Integration
  • Challenges to Integration
  • From Tag to Architecture



Interested in any of our courses. Use this form to contact us