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
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 8 days ago.
Improve this question
Its been a while since I used Java and persistence, but it was a great way to manage tables, queries, and objects.
I have an application that doesn't call for a full-blown database server (I want to share a database file on a cloud service like Google Drive with a few users, one of which will be doing most of the database updates) so I settled on SQLite.
I started with persistence (because that's what I remember) and immediately fell down a rabbit hole trying to get it to work with modern Java. I tried ormlite, but even their examples don't work out of the box. I don't mind fooling with them to get them to work, but I have to believe there is a modern database interface (like persistence or what ormlite appears to do) that works with Java, is current, and has some working examples.
Everything I find seems to be many years old :-(
Any suggestions?
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'm looking for a free scalable chat solution, sort of the equivalent of SOLR but for chat. I have a LAMP application that I need to integrate the chat with. For search I'm using SOLR and since it has a REST interface integrating with it was easy and didn't require writing any Java.
Is there a similar ready made solution that's also high peformance for chat?
Obviously MySQL/PHP/AJAX based periodic polling scripts are out of the question.
Go with a good jabber implementation.
http://www.igniterealtime.org/projects/index.jsp
http://www.igniterealtime.org/projects/openfire/index.jsp
http://www.igniterealtime.org/projects/smack/index.jsp
http://jwebsocket.org/
They have a chat demo you can download and modify (it is licensed under LGPL).
I'm developing a facebook-like chat with Node.js, it's not so difficult and works great. I'm using "socket.io" and now I'm going to develop an android app too, with https://github.com/Gottox/socket.io-java-client
Do you need private chat? or only public? Igniterealtime as #krishnakumarp posted seems much more complex and complete.
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.