I am developing a website that stores data in a mysql database. One of the user of the website wishes to record data for the website in an excel spreadsheet. I intend to develop a solution that consist of three parts:
- A controller class that saves the uploaded excel spreadsheet into a directory in the server.
- A service layer that read the saved excel spreadsheet from the directory using apache POI. 3. JPA to record data in the excel spreadsheet into the mysql database.
Is this a good pattern for the intended solution ? Has anyone implemented a similar solution ?