Meaningless Drivel is fun!
The moose likes Applets and the fly likes connect applet to database? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "connect applet to database?" Watch "connect applet to database?" New topic

connect applet to database?

vijay kiranwithvijay

Joined: Sep 06, 2007
Posts: 14
How can I connect from an applet to a database on the server?
sudhir nim
Ranch Hand

Joined: Aug 29, 2007
Posts: 212

Originally posted by vijay kiranwithvijay:
How can I connect from an applet to a database on the server?

Applet can make database connections only to the host from which applet is downloaded.
put driver in archive and you can create connection to database directly from applet as you do normally.

[Servlet tutorial] [Servlet 3.0 Cook Book]
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32609

Moving to our applets forum.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: connect applet to database?
It's not a secret anymore!