aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
internet detective

Joined: May 26, 2003
Posts: 29237

Moving to our applets forum.

[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: connect applet to database?
Similar Threads
mysql driver problem
Connecting between Applet and database
Applet database connection
database connectivity