Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet across firewall

 
Ramesh Talwar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider following scenario
Applet is downloaded from web server behind the firewall having HTTP proxy configration.
Now is it possible for this applet to create database connection across firewall(Assume database is on webserver itself).
 
Chetan Mehta
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Why would u want to connect to database from applet? Its not a very good design practise. Instead u should have servlet and give responsibility of connecting to database to the servlet.
As a part of applet security applet can only communicate from the place where its downloaded.
I think , technically speaking you should be able connect to the database server since its on the same physical server as your web server. But how, i may not have answer for you.
Hope it helps...
Regards,
Chetan Mehta
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic