File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Applet Database Proxy Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet Database Proxy Problem" Watch "Applet Database Proxy Problem" New topic

Applet Database Proxy Problem

Joseph Mathew

Joined: Apr 21, 2004
Posts: 19
Hello all,
I have an applet which connects to a MySQL database for user authentication. Currently I am doing on a local machine and all goes well and fine. But my problem is the same applet when accessed through a proxy the database connection wont happen. Can someone suggest a way to solve it. Or this problem is not solvable.
Thank you
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1873
Hi Joseph
JDBC won't work via Proxy. You would have to write some server side components (servlets) to communicate with the database and connect to that servlet to pass queries and get results back. Communication between applet and servlet would happend by HTTP Tunneling.
I agree. Here's the link:
subject: Applet Database Proxy Problem
It's not a secret anymore!