• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Best way to transfer and connect to a database

 
Jeff Schuler
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34974
379
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeff,
Does the other person running the app already have a database? If so, which one?
 
Jeff Schuler
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic