I have a mysql database and an applet in some free hosting site. The applet needs to access that mysql database. How do I do that ? Is it possible to remote access mysql database from an applet? how ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The applet will execute on the client browser.
Its doubtful/unlikely that your free hosting provider allows remote mysql connections.
So your best bet would be some sort of HTTP web service.
If you can use Java on the server then check out CXF.
If you can only use PHP then things are tougher but look at NuSOAP.
On your applet you can use CXF to consume the service.