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.
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 3 years ago.
Improve this question
Is there a tool for managing changes of OrientDB schemas?
I am familiar with Flyway, but it has no support for OrientDB, so it will be great if there is something similar you could recommend.
My requirements are below:
Written in Java
Can use native OrientDB API to execute queries (not only JDBC)
Can use Java based migrations (not only queries)
See this related feature request already added to the Flyway 5.2.0 milestone, but no ETA announced.
We're currently investigating contributing to this, as we'll need that exact feature.
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.
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 8 years ago.
Improve this question
I have a tomcat/mysql website that I would like to move over to Google app engine does anyone know of a good tutorial outlining this? Or can anyone make some suggestions on how to do this?
As long as you use standard servlet and JSPs you will be fine.
The limitations for Google App Engine are documented here : http://code.google.com/appengine/docs/java/jrewhitelist.html
Sessions are kind of expensive (read slow) so avoid state on the server as much as possible.
The backing store is also quite different than standard SQL if you use any db calls in your app.
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.