This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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.
subject: Applet Database Proxy Problem
It's not a secret anymore!