Multiple server access jdbc/servlet

I

Ike

If I have an applet, which is donwloaded to the local machine from server
A, and calls a servlet on server B.....can that servlet, via JDBC, access a
database on server C, assuming each of server's A, B and C are on separate
machines with separate URLs ?

Thanks, Ike
 
J

Jeff

If the applet is downloaded from server A, that applet can only
make requests from server A. So you've got a problem trying
to call server B from the applet. However, a servlet can access
any other server. Servlet code runs on your server and is not
restricted in where it can make connections.
 
A

Andrew Thompson

Jeff said:
....
If the applet is downloaded from server A, that applet can only
make requests from server A. So you've got a problem trying
to call server B from the applet.
(Top-posting corrected)

Signed applets can access servers other
than the originator. A signed applet can
break out of most of the limits usually
placed on applets.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top