Posts Tagged ‘adress book’
Connect Java program (Non applet) to MySQL on a web server?
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Is there a way to connect to a MySQL database from a non-applet java application? All the API’s I’ve looked at seem to be applet based, though its not specified sometimes (Or for say, a program working on a machine with MySQL installed). From what I heard you can do it though PHP by filling in a HTML form, but to my understanding that the program would have to be an applet once again. I need to upload data from an adress book to a server, so that it can be retrieved from anywhere with an internet connection. The problem is that the ways I have explored do not seem possible from a non-java applet. The only other way is to FTP the save file back and forth, but that would cause problems behind firewalls and there are security implications.
Once again, the problem is connecting to a remote server from a Java program running on a computer (Non-Applet) through the internet, connecting to a MySQL database and changing data within the MySQL database.
