This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet Database Proxy Problem

 
Joseph Mathew
Greenhorn
Posts: 19
  • 0
  • 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
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic