AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Three tiered servers?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Ike
Guest





PostPosted: Tue Nov 18, 2003 1:42 am    Post subject: Three tiered servers? Reply with 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
Henrique Seganfredo
Guest





PostPosted: Tue Nov 18, 2003 3:54 am    Post subject: Re: Three tiered servers? Reply with quote



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





PostPosted: Thu Nov 20, 2003 1:31 pm    Post subject: Re: Three tiered servers? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.