Start learning with our library of video tutorials taught by experts. Get started

XML Integration with Java
Illustration by Don Barnett

XML Integration with Java

with David Gassner

Video: Welcome

(Music) My name is David Gassner, and this is XML Integration with Java.
Expand all | Collapse all
  1. 7m 30s
    1. Welcome
      59s
    2. What you should know
      1m 43s
    3. Using the exercise files
      4m 48s
  2. 30m 19s
    1. Reviewing XML terminology
      9m 56s
    2. Choosing an XML processing API
      8m 51s
    3. Exploring the sample data provider project
      5m 50s
    4. Reading XML as a string
      5m 42s
  3. 45m 18s
    1. How SAX works
      6m 7s
    2. Creating a SAX event handler class
      8m 58s
    3. Tracking XML elements in SAX handlers
      7m 51s
    4. Capturing text values in SAX handlers
      9m 55s
    5. Handling namespace strings and prefixes with SAX
      6m 36s
    6. Handling parsing errors in SAX
      5m 51s
  4. 1h 12m
    1. How DOM works
      7m 56s
    2. Creating a DOM document
      8m 5s
    3. Adding child elements with DOM
      6m 27s
    4. Adding data elements and attributes with DOM
      8m 35s
    5. Wrapping text in CDATA sections with DOM
      3m 14s
    6. Serializing a DOM document to a string
      6m 47s
    7. Serializing a DOM document to a file
      5m 23s
    8. Reading an XML file with DocumentBuilder
      6m 34s
    9. Getting data from XML with DOM
      7m 19s
    10. Handling XML namespaces and prefixes with DOM
      6m 4s
    11. Searching a DOM object tree with XPath
      5m 54s
  5. 44m 24s
    1. How JDOM works
      5m 52s
    2. Creating an XML document with JDOM
      6m 48s
    3. Adding data to an XML document with JDOM
      7m 14s
    4. Wrapping text in CDATA sections with JDOM
      2m 26s
    5. Outputting an XML file with JDOM
      3m 4s
    6. Parsing an XML file with JDOM
      4m 41s
    7. Getting data from XML with JDOM
      8m 50s
    8. Searching a JDOM document with XPath
      5m 29s
  6. 48m 57s
    1. How StAX works
      6m 11s
    2. Exporting data with XMLStreamWriter
      6m 31s
    3. Creating an XML string with XMLStreamWriter
      4m 47s
    4. Formatting documents with StAX utility classes
      4m 15s
    5. Outputting an XML file with XMLStreamWriter
      4m 33s
    6. Parsing an XML file with XMLStreamReader
      7m 53s
    7. Getting data from XML with XMLStreamReader
      6m 12s
    8. Parsing an XML file with XMLEventReader
      6m 4s
    9. Parsing XML in Android with XmlPullParser
      2m 31s
  7. 24m 43s
    1. Comparing XML binding with other programming models
      6m 17s
    2. Annotating POJO classes for use with JAXB
      7m 11s
    3. Creating XML from annotated classes with JAXB
      6m 27s
    4. Parsing XML with JAXB and annotated classes
      4m 48s
  8. 21m 38s
    1. Comparing Simple to JAXB
      3m 59s
    2. Annotating POJO classes for use with Simple
      5m 28s
    3. Creating XML from annotated classes with Simple
      3m 5s
    4. Parsing XML with Simple and annotated classes
      9m 6s
  9. 1m 7s
    1. Next steps
      1m 7s

Watch this entire course now —plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
XML Integration with Java
4h 56m Intermediate Nov 08, 2013

Viewers: in countries Watching now:

Learn how to choose the right Java API for your application and get started coding with XML and Java. In this course, author David Gassner shows you how to read and create XML strings and files, decide whether to use a streaming or tree-based API, and find out which APIs are compatible with Android. Plus, discover how to use both standard APIs that are included with the Java SE and EE distributions, such as DOM, SAX, and JAXB, and learn about popular open-source libraries such as JDOM and the Simple XML Serialization framework.

Topics include:
  • Choosing a Java-based XML API
  • Reading XML as a string
  • Comparing streaming and tree-based APIs
  • Parsing XML with SAX
  • Creating and reading XML with DOM
  • Adding data to an XML document with JDOM
  • Reading and writing XML with StAX
  • Working with JAXB and annotated classes
  • Comparing Simple XML Serialization to JAXB
Subjects:
Developer Programming Languages
Software:
Java
Author:
David Gassner

Welcome

(Music) My name is David Gassner, and this is XML Integration with Java. In this course, I'll show you a variety of methods for reading and creating XML formatted strings and files in the Java programming language. I'll first describe how to choose an XML API. Whether to use a streaming or a tree-based API, and which of these API's can be used with Android. Then I'll show you the code, starting with the oldest API's sacks and dom.

I'll also demonstrate later additions to Java SC, that can streamline your code, such as Stacks and JAXB. And I'll also help you get started with JDOM and the simple XML serialization framework. You have many choices in how to work with XML and Java. I hope this course helps you choose the right API for you application and helps you get started with it.

There are currently no FAQs about XML Integration with Java.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed XML Integration with Java.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.