Restoring the book Object
At this point you have written the book object XML data to the file book.xml. Next you are ready to restore the object, which involves:
reading in the file
book.xmltransforming the XML back to the form required by XML streams
restoring the object as
book2