[英]Integrating data-provider to application without using sql or nosql servers
I'm creating a simple CMS software which doesn't have much data to be stored. 我正在创建一个简单的CMS软件,它没有太多的数据需要存储。 I'm currently using mysql as my data provider and have a java application in the presentation layer.
我目前正在使用mysql作为我的数据提供程序,并在表示层中有一个java应用程序。 This CMS will be a standalone which means datacollection and processing will be done in a single computer.
该CMS将是一个独立的,这意味着数据收集和处理将在一台计算机上完成。
I created a installer to install in my clients computers. 我创建了一个安装程序来安装在我的客户端计算机 But I need to setup mysql then the database as well.
但是我需要在数据库中设置mysql。 And my clients doesn't have sufficient IT knowledge to setup the databases themselves.
而且我的客户没有足够的IT知识来自己设置数据库。 So for each client I have to attend and install mysql server.
所以对于每个客户端我都要参加并安装mysql服务器。
What I need is a way to integrate data-provider to the application without using mysql or any other sql or nosql server. 我需要的是一种在不使用mysql或任何其他sql或nosql服务器的情况下将数据提供程序集成到应用程序的方法。 So my clients can install it themselves using simple guided steps in installation wizards.
因此,我的客户可以使用安装向导中的简单引导步骤自行安装它。
You can use one of embedded db, like JavaDB (ex. Derby). 您可以使用嵌入式数据库之一,例如JavaDB(例如Derby)。 Support of this database is added to JRE.
JRE添加了对此数据库的支持。 So all your client need is installed JRE.
因此,您的所有客户需求都安装了JRE。 And you get full relational database without any installation and other stuff setup.
并且您获得完整的关系数据库,无需任何安装和其他设置。
I found a good example here http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javadb/ 我在这里找到了一个很好的例子http://java.sun.com/developer/technicalArticles/J2SE/Desktop/javadb/
thanks every one for help 感谢每一个人的帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.