Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to develop using java and netbeans 8.0 an application that stores/edit/removes data form into a own database contained at application, not using a remote database. There is any suggestion to create that "onboard" database?
If you refer to an embedded database for a simple desktop command or command line application, these options can store data in memory or in a file:
HSQL http://hsqldb.org/
Derby http://db.apache.org/derby/
SqlLite https://www.sqlite.org/
This is old but could be a reference Best Embedded SQL DB for write performance?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
How to Deploying Spring Boot Applications on live server and make database connections with mys sql.
please give me better suggestion so i can move forward with that server.if you can Please suggest me any article or video so i can follow that
You flagged your question with amazon-web-services. So do you know the AWS Elastic Beanstalk service?
https://aws.amazon.com/de/elasticbeanstalk/
It makes it really easy to deploy your web application into AWS. Here is also a tutorial on how you connect your SQL database to your application:
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.managing.db.html
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am building p2p Chat in Java and I need a DB for accounts, friendlists and whoIsOnline. My idea is to create a server, which is receiving periodicly KeepAlive messages and updates whoIsOnline list, then sends back to clients this list only for their friendlists. Any suggestion what DB should I use?
MySQL is quite easy to learn. You find much tutorials for begginers in MySQL.
Here is a small example of creating the database and using the databse in java.
http://www.vogella.com/tutorials/MySQLJava/article.html
I never had any problem with it and have done a lot with it.
Setting up a MySQL Server on your Server is also very well documented. Just search for it and you will find what fits you
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm coding a Java application that needs a database. But the user of that app usually doesn't have a local MySQL server installation. An online MySQL server is not an option. So I'm looking for a solution to install a MySQL server with Java or use a built-in server.
Any suggestions?
You can use an in-memory/file based database such as H2, HSQL or SQLite instead. If you really need MySQL (you probably don't), you'll need to have your users install it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to develop application.which is offline(runs on single pc).Which database i should use so that when I create exe of my project it will automatically included in it.
It sounds like you're looking for an embedded database. Here is a thread on Java embedded databases. I use Apache Derby, mostly because it's easy to use with NetBeans.
You can look to the H2 database, no db server is needed!
http://www.h2database.com/html/main.html
You can use MS-Access. That works totally offline and you can include it in your project. It is also easy to work with MS-Access & Java.
Hope this helps.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for a lightweight and easy to install user management system made in JAVA. It should use a free Database System (MySQL for example) and handle basic security after logging (access or not with error message). I'm not looking for anything fancy/flexible like SpringSecurity.
Thank you!
I think OpenLdap would meet your requirements although not written in java, but which db other then derby is written in java?
Here is a tutorial how you access it using JNDI.