r/javahelp • • Aug 23 '19

Distributing java app that utilizes JDBC

Hi, all

So I've created a application for my fantasy football league that utilizes a database that I've created on my local machine. In my java source code I query the database using JDBC. I know that a jar file is used to distribute java apps to other people, but I am confused as to how to distribute the database portion of the app.

17 Upvotes

5 comments sorted by

View all comments

9

u/Coins_Bounce Aug 23 '19

You can look into H2 and each user will only have access to their respective data. Otherwise, host a database somewhere and point each application to it.