In many of this course's exercises, I'll be using existing data and serializing,…or marshaling, it to XML. So, I'll need an existing data source.…Instead of a full database, I've provided a set of JSON and XML files.…They're wrapped up in an Eclipse Project.…In Eclipse, select File, Import, choose existing projects into workspace and…click next.…Choose select archive file and click browse.…
Go to the exercise files 01 getting started folder and choose…data provider and follow the rest of the prompts to import it.…> The data provider project has a…couple of classes, including a data provider class,…a customer class in the model package, and…a stop watch class in the utilities package.…I'll use all of these classes during the demonstrations.…And most importantly, here are the data files.…The one I'll use most frequently is customers.json.…
It's a JavaScript object notation file that contains 1000 data items.…Each item has an ID, a name, a phone, about age balance, active and joined.…And a variety of data types.…
Author
Released
11/8/2013- 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
Skill Level Intermediate
Duration
Views
Related Courses
-
Introduction
-
Welcome55s
-
What you should know1m 43s
-
Using the exercise files4m 48s
-
-
1. Getting Started
-
Reviewing XML terminology9m 56s
-
Reading XML as a string5m 42s
-
-
2. Parsing XML with SAX (Simple API for XML)
-
How SAX works6m 7s
-
-
3. Creating and Parsing XML with Document Object Model
-
How DOM works7m 56s
-
Creating a DOM document8m 5s
-
-
4. Creating and Parsing XML with JDOM
-
How JDOM works5m 52s
-
-
5. Creating and Parsing XML with StAX
-
How StAX works6m 11s
-
-
6. Creating and Parsing XML with JAXB
-
7. Creating and Parsing with Simple XML Serialization
-
Comparing Simple to JAXB3m 59s
-
-
Conclusion
-
Next steps1m 7s
-
- Mark as unwatched
- Mark all as unwatched
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.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Exploring the sample data provider project