1

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 ?

1 Answer 1

1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

can you please give me some link ? I am not sure what you are talking about... :(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.