Java EE Programming: JAX-WS Web Services, Part 2 of 4
Interactive

Java EE Programming: JAX-WS Web Services, Part 2 of 4

LearnNow Online
Updated Oct 26, 2018

Course description

Java is a very important part of Internet usage or services, thus being able to deal with web services in Java is also very important. This course will cover many of the necessary aspects of dealing with the Java API for XML (JAX) Web Services. The course will start with basic introductions to the Eclipse programming platform and Web Services and then move on to Basic XML Schemas and Schema Content Management. From there, Java API for XML Binding (JAXB) will be covered and JAX-WS will be introduced. Once the basic foundation is covered the course moves into the start of web services with Declarative Service Configuration, Web Service Description Language (WSDL) and Configuration Management, as well as introducing JAX-WS 2.0.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This course is intended for Java programmers with beginner level knowledge of Java EE and XML.


Meet the expert

Ali Hamad

Ali Hamad has a Bachelor and Masters degree in Computer Science and has been training many aspects of Java for over 14 years, covering Introduction through JDBC, JBoss and beyond. His training and consulting background also covers C, C , Object Oriented Analysis and Design (OOAD), and Unix/Linux. Ali has worked for or been a consultant and trainer for many companies including Dell, Texas Instruments, State of New Hampshire, Web Age Solutions, and many more. He is the author of training material for several programming topics such as Java, Struts, C , Unix and J2EE applications.

Video Runtime

118 Minutes

Time to complete

158 Minutes

Course Outline

Schema Config Management

Basic XML Schemas (34:18)

  • Introduction (00:55)
  • What is XML Schema? (01:54)
  • Goals of Schema (02:04)
  • Converting DTDs to Schema (00:30)
  • Recall: Namespaces (01:06)
  • The equivalent schema (02:04)
  • Sample instance document (00:46)
  • Documents Needed (00:45)
  • XML Schema Namespaces (00:57)
  • Link Documents to Schemas (01:43)
  • Inline element declarations (00:37)
  • XSchema Data Types (00:31)
  • XSchema Type Defintions (00:44)
  • XSchema Simple Data Types (01:06)
  • Primitive Data Types (00:42)
  • Simple Types (00:49)
  • Demo: XML Schema File (16:38)
  • Summary (00:19)

Common Facets (16:49)

  • Introduction (00:33)
  • Element Content Restrictions (00:30)
  • Using the Facet (01:10)
  • More Samples (00:44)
  • Define Simple Element Type (00:57)
  • Element Declaration (00:50)
  • Element Occurrence Indicators (00:35)
  • Complex Type (00:42)
  • Attribute Declarations (00:55)
  • Occurrence of Attributes (00:46)
  • Attribute Value Constraints (00:45)
  • Sequence Element (00:27)
  • Element Choices (00:16)
  • Express any Order (00:25)
  • Annotations (00:45)
  • Demo: Common Facets (06:04)
  • Summary (00:21)

Schema Config Management (11:43)

  • Introduction (00:37)
  • Evolving Schema (01:07)
  • Managing XML Schema (00:49)
  • Management Techniques (00:57)
  • Internal Techniques (01:22)
  • Schema Attribute Version (01:02)
  • Adding an Attribute (01:31)
  • Namespace Change (00:45)
  • File-Based Mechanisms (01:18)
  • External (00:58)
  • Which To Use? (01:01)
  • Summary (00:12)
XML and JAXB

JAXBOverview (32:30)

  • Introduction (00:28)
  • Overview of JAXB (02:53)
  • Advantages of JAXB (01:57)
  • XML Parsing APIs (01:21)
  • Validation using Schemas (01:03)
  • Java Binding (00:40)
  • Using JAXB (00:42)
  • Binding XML To a Schema (00:47)
  • Binding Compiler (01:14)
  • Interfaces and Classes (01:54)
  • Implementing Classes (00:47)
  • Compiling the files (01:02)
  • Use the generated files (01:07)
  • Unmarshal (01:14)
  • To Unmarshal (02:31)
  • Retrieving data (00:23)
  • Validation (00:57)
  • Demo: JAXB APIs (11:10)
  • Summary (00:12)

XML and JAXB (23:05)

  • Introduction (00:27)
  • ObjectFactory (00:51)
  • Generating XML from JAXB (00:32)
  • Step 1: Binding the schema (00:19)
  • Step 2: Create the content tree (01:04)
  • Step 3: Marshall the content tree (00:31)
  • Marshall the content tree (00:55)
  • Validation (00:38)
  • Customizing your application (00:25)
  • Advantages (01:31)
  • Demo: Bind to read XML (15:34)
  • Summary (00:12)