I've built a Java application that takes in a directory full of files as input, performs different evaluations with them, and shows the user the results. The program also allows the user to save the current input (the files they just passed in) as historical data which the program can evaluate again with any new data the user passes in during subsequent runs of the program.
The program should know where this historical data is, so if the user selects an option like "include historical data", it can look straight into historical data folder and pull files from it that were saved there previously.
- Where should the program save this data to that it will be able to use later on? Is it a good idea to just keep a folder for this historical data in the project folder, say beside the source folder? Or should the data stored externally, outside the project?
- If I exported the entire program as an executable JAR which the user can run the entire project from, would it still be able to save files inside a folder like this?
Thanks, apologies for the stupid questions