PDA

View Full Version : Using MySQL and Java


Zap!
11-12-2002, 02:53 PM
I'm doing a project that I would have to use public variables to tell where an object would be positioned. Well, after thinking about it and how I could expand it in the future, I decided that I would like to use a database for the project so that I can expand it into running multiple instances of this client program to 'see' where the objects are and where the detection devices are.

I'm still a newbie to Java programming, but I have time to learn how everything works in order to put it into my program. How easy is it to interface Java programs and a MySQL database server together? I don't know much about how Java uses networks, so do you all have any ideas about what I should look at for all of this.

Also, which books (that are cheap) should I look for?

Strike
11-12-2002, 03:24 PM
/me points to inkedmn :D

inkedmn
11-12-2002, 05:09 PM
ok, you need to get the JDBC-MySQL driver from ww.mysql.com , read the JDBC tutorial on java.sun.com , and buy a really big wig so you don't pull your OWN hair out :)

seriously, it's not that hard. but it takes a quite a bit of reading.

look for me on aim/irc and we can discuss this in more detail.