I have a requirement to read a flat file then put in java objects with array list and then store in database. Please provide a best solution and design pattern to follow.
There are loads of tutorials on-line for how to read a flat file. As for "put in java objects with array list and then store in database" that really depends on what data is on the file, how it is formatted etc and what exactly you mean by "java objects with array list".