File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Applet across firewall Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Applet across firewall" Watch "Applet across firewall" New topic

Applet across firewall

Ramesh Talwar

Joined: Jun 20, 2001
Posts: 16
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

Joined: Aug 04, 2001
Posts: 40
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...
Chetan Mehta
I agree. Here's the link:
subject: Applet across firewall
It's not a secret anymore!