This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a stand alone application that reads a database on my local machine. It's not setup on a server.
How do I move this application along with the database (Java database that comes with Netbeans) to another PC for someone to run effortlessly. The only confusing part to me is with the database. I can include the database file along with the JAR file in a zip file but how would they connect to the database? I have been using Netbeans to connect to the database.
Should I be writing a script to do this or is there a better way?
Originally posted by Jeanne Boyarsky: Jeff, Does the other person running the app already have a database? If so, which one?
No they don't have the database. I would be giving them the already populated database. The database is the "Derby" database that comes with Netbeans. I'm not sure what's the best way for them to connect to it though.