简体   繁体   English

在不使用sql或nosql服务器的情况下将数据提供程序集成到应用程序

[英]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. 并且您获得完整的关系数据库,无需任何安装和其他设置。

You can try using hsqldb or sqlite db . 您可以尝试使用hsqldbsqlite db These dbs can be bundled with the application in memory or can use a simple file as db. 这些dbs可以与应用程序在内存中捆绑在一起,也可以使用简单的文件作为db。 Hope it helps 希望能帮助到你

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.

相关问题 如何在selenium Web驱动程序和testNG中使用数据提供程序读取Excel并获取多个值并将其连接 - How to read an excel and fetch multiple values and concatenate them using data-provider in selenium web driver and testNG 在Testng中使用数据提供程序和并行方法,如何在给定测试的同一线程中在方法之前,方法之后和测试中运行? - Using data-provider and parallel in Testng, how to run before method, after method and test in same thread for a given test.? 如何在范围报告中附加数据提供者名称和方法名称? - How to append data-provider name along with method name in Extent Report? 使用Java查找SQL Server - Find SQL Servers using Java 使用 Spring 引导应用程序中的 DB2 Wirelistener (NoSQL) 时出现异常 - Exception using DB2 Wirelistener (NoSQL) from a Spring Boot application 使用Hibernate ORM和OGM组合SQL和NOSQL数据库 - Combining SQL and NOSQL databases using Hibernate ORM and OGM 使用Selenium在所有应用程序服务器上加载缓存 - Load cache on all application servers using Selenium 使用Hadoop Map Reduce进行联接以联接NoSQL数据库中的数据 - Join using Hadoop Map Reduce to join data from NoSQL databases 不使用SQL从JPA中删除数据 - Delete data from JPA without using SQL NoSQL数据分割 - NoSQL data split
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM