Multiple server access jdbc/servlet  
Author Message
Ike





PostPosted: 2003-11-18 9:42:00 Top

java-programmer, Multiple server access jdbc/servlet 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


 
Jeff





PostPosted: 2003-11-18 21:46:00 Top

java-programmer >> Multiple server access jdbc/servlet 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.
"Ike" <email***@***.com> wrote in message news:6Oeub.7184$email***@***.com...
> 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
>
>


 
Andrew Thompson





PostPosted: 2003-11-18 21:53:00 Top

java-programmer >> Multiple server access jdbc/servlet
"Jeff" <email***@***.com> wrote in message
news:Uopub.176339$mZ5.1240309@attbi_s54...
> "Ike" <email***@***.com> wrote in message
news:6Oeub.7184$email***@***.com...
> > If I have an applet, which is donwloaded to the local machine from
server
> > A, and calls a servlet on server B.....
...
> 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.