 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ike Guest
|
Posted: Tue Nov 18, 2003 1:42 am Post subject: Three tiered servers? |
|
|
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
|
|
| Back to top |
|
 |
Henrique Seganfredo Guest
|
Posted: Tue Nov 18, 2003 3:54 am Post subject: Re: Three tiered servers? |
|
|
Sure, why not ???
The web server that contains the html file with the <applet> tag and the
..jar or .class file will be in server A
The applet when loaded on the client will perform an http request (check the
policy stuff if it works right out of the box) to the B server, invoking the
servlet...
The servlet will open a JDBC connection to a server located in an intranet
environment and deal with some DB transaction...
No big deal I think...
"Ike" <rxv (AT) hotmail (DOT) com> wrote
| Quote: | 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
|
|
|
| Back to top |
|
 |
Paul Thomas Guest
|
Posted: Thu Nov 20, 2003 1:31 pm Post subject: Re: Three tiered servers? |
|
|
On Tue, 18 Nov 2003 01:42:52 +0000, Ike wrote:
| Quote: | 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
|
Yes but you would need to manually alter the Java security permissions on
the client PC to allow the applet to do this. IRC, default is to only
allow opening a connection to the applets server.
HTH
--
Paul Thomas
+------------------------------+---------------------------------------------+
| Quote: | Thomas Micro Systems Limited | Software Solutions for the Smaller Business |
Computer Consultants | http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+ |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|