Prepare XSD schema document for the entities, in model module.
Root element should have storage name.
Update entities in model module with JAXB annotations.
Create new implementation of Storage interface - XmlStorage that
uses JAXB to store data inside appropriate XML files - XML file name should be set via constructor.
Each entity should have its own Storage implementation - use abstractions where possible.
Ensure that result XML is valid against the XSD schema.
Update store module to use xml-storage instead of jdbc-storage.
- Include latest
xml-storagedependency. - Update
Runnerclass to createStoreAppbased on JAXB XML storage. - Add examples that demonstrates
update,delete,find by idoperations.
This task is connected with: