embed mysql database in java application

I make a `java` application using `netbeans` that connect to database , but i have a problem , i want to embed `mysql` database with the executable jar file , so when i take this `jar` file and run it on any pc that doesn't have mysql server it will run with database , i thought about include the mysql-installer.exe and make a script to install the mysql server , but i can't find how to do that ,also i read about Connector/MXJ does it work if the user run the application and he does not have mysql server , any suggestion or article about this.
You could use Derby, which is a DB written entirely in Java. You'd just have to include the jar file and you'll have a fully-functional dbms.

以上就是embed mysql database in java application的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » JavaScript 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准