适用于Java桌面应用程序的Mysql Server的开源打包软件 [英] Opensource packaging software for Mysql Server with Java Desktop Application

查看:148
本文介绍了适用于Java桌面应用程序的Mysql Server的开源打包软件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用mysql数据库的Java桌面应用程序.是否有任何开源软件可以将Mysql服务器和Java桌面应用程序打包或可执行包装到一个单独的Exe/Debian软件包中,而我无需分别安装Mysql服务器.就像一键安装程序一样,它可以安装所有内容,并且可以使用该应用程序.谢谢

I have a Java desktop application which uses mysql database . Is there any Open source software for packaging or executable wrapper of Mysql server and Java desktop application into one single Exe/Debian package where i need not separately install Mysql server separately . Its like one click installer which installs everything and the application is ready to use. Thanks

推荐答案

此处的问题是MySQL是独立服务器,无法轻松嵌入.您应该使用可嵌入或无服务器的数据库,例如:

The problem here is that MySQL is a standalone server, and cannot be easily embedded. You should use an embeddable or serverless database, such as :

  • SQLite (see the SQLite library for Java, containing all the server and the API in one jar)
  • Apache Derby (see the documentation for embedded use)
  • HyperSQL

这篇关于适用于Java桌面应用程序的Mysql Server的开源打包软件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆