• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to a database over the internet

 
Shalini Sridhar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
Ok heres an interesting question -

I would like to have an applet running on my browser which needs to connect to a central server over the internet, which in turn will need to connect to a database and query some results. These results will be stored as flat files within the server.

At the moment, I have an URL that connects to the database via the
internet and that is working. However I don't think my applet on my browser
will be able to create a flat file on that server direclty.
Could some one please tell me how to go about this problem?

Shalini
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shalini,
Welcome to JavaRanch!

I'm moving this to our applet forum since it has more to do with applets and security than JDBC.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You'd need a server process to create the file on the server, e.g. a servlet. Some hints on how an applet can contact a server process can be found on this wiki page.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic