hi all

I am trying to make a server and client side instant messenger in java.

Now I was thinking is there a way to make a database in the server where I would keep thier usernames and passwords. Then I would have a button in the client side where users can register?

if yes, is it with mysql and is there any tutorials?

thanx

Recommended Answers

All 3 Replies

thnx but how would i connect it to java and also how would I implement it in the server?

you need to either set up an sql server on your own server(s), or purchase hosting that allows access to their sql servers. Read around some mysql tutorials to show you how to get the mysql database up and running with a schema that you're happy with. There's probably little point in trying to use Java to interact with mysql unless you know what's going on in there.

Once you're happy with all that, download and have a play with JDBC
http://dev.mysql.com/downloads/connector/j/3.0.html

There's a good sun tutorial here:
http://java.sun.com/docs/books/tutorial/jdbc/basics/gettingstarted.html

and a simple search shows more here:
http://www.google.com/search?hl=en&q=mysql+jdbc+tutorials&meta=

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.