malenkix / guestbook

A smart guestbook for your events.
MIT License
0 stars 0 forks source link

Create "XmlPostDao" #10

Closed NadirHelix closed 6 years ago

NadirHelix commented 6 years ago

To be able to store all needed information concerning the posts we want to start storing the data as xml-file on the drive. This allows us to reuse existing information after a server restart.

TODO

  1. Extend the DefaultPostDao by a class named XmlPostDao
  2. add a jaxb import export interface to store and retrieve data to/from disk.
  3. Update the ID generation to reuse information about already existing ids
    1. Move generation from PostCreationServiceImpl to a dedicated place
    2. find next id by increasing the last known