Name
Web Services in Java

Code
3311

Duration
24 Hours

Description
Web services are methods for communicating between separated computers connected to the same network. XML is today one of the most popular formats. This course starts with a detailed coverage of XML and continues with overviewing today up-to-date methods in Java EE for creating web services and for consuming them. In general, the web services can be categorized into two types: REStful and SOAP. This course covers both of them.

Population
Java EE Developers.

Objectives
Become familiar with REStful and SOAP web services and be capable of consuming existing web services and developing new ones.

Prerequisites
Practical experience in Java EE development.

Topics
Introduction to XML (XML)
Background
XML Syntax
XML Validation
Display XML
Document Object Model (DOM)
Overview
Nodes
Parsing
Methods
Accessing
Node Info
Node List
Navigation
Document Type Definition (DTD)
Introduction
Building Blocks
Elements
Attributes
Entities
Validation
XML Schema Definition (XSD)
Introduction
XSD Simple Types
XSD Complex Types
Data Types
XML Path Language (XPath)
Introduction
Nodes
Syntax
Axes
Operators
Java API for XML Web Services (JAXWS)
SOAP Web Services
Web Services Description Language (WSDL)
The @WebService Annotation
The wsgen Utility
Web Services Deployment
The wsimport Utility
Client Development
Java Architecture for XML Binding (JAXB)
The xjc Compiler
XML Documents Generating
Practical Examples
REPresentational State Transfer Web Services (REST)
What is REST?
Stateless Service
HTTP Operations
Practical Samples
Java API for RESTful Web Services
Jersey Open Source Project
Jersey Deployment
Query String Parameters
Path Segments
Java API for XML Processing (JAXP)
What is JAXP?
Simple API for XML (SAX)
DOM API for XML (DOM)
Practical Samples