Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Database Proxy Problem

 
Joseph Mathew
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
joseph
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Regards
Maulin
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic