I have a set of POJOs that I want to write to a file and have the ability to sequentially read back in the form of an iterator of POJOs
This seems like something a logging framework like logback would handle for me, especially the file handling part (rolling, archiving, ...), but is there a way to do the inverse to read back the POJOs, without writing the code myself?
(I'm assuming here I give the logging framework bytes and it gives me bytes back - but if it handles the serialization too - great)