Is it possible to read java objects directly using FlatFileItemReader. I have a flat file which contains serialized java objects. One on each row. There are around 10 objects of this type in given flat file.
How can i use FlatFileItemReader to read these serialized java objects. Or is there any other approach in spring batch. Please suggest.
You can do it but since the data is binary you will have to provide a custom BufferedReaderFactory to the FlatFileItemReader.