If I package a application I wrote in java that writes and reads from an sql db into a jar and distribute, will the program be able to write to the db, close, be run again later, and still be able to read the data it wrote in the last session?
Share
Why not?
Although the idea of code executing from a JAR file modifying that JAR file makes me a little queasy. I personally would store the database outside the JAR file.