I want to write a Java spring application with rest api that should persist states data etc
When I package the jar the user I send it to should be able to install it without any additional software for databases so what is the best way to do this?
I tried h2 in memory dB but when server is restarting the database is gone I tried mongo but I need the mongo client /server app so how can I ship a database with my app?