This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Applets and the fly likes appletJdbcconnection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "appletJdbcconnection" Watch "appletJdbcconnection" New topic



Joined: Jul 19, 2002
Posts: 2
I am trying to access the database from within an applet but i'm not able todo.I would like to know which driver can i use.And from where can i download.Please help in this regards
Eric Peterson
Ranch Hand

Joined: Jan 08, 2002
Posts: 31
It is not hard to access a database from within an applet,in fact, a lot of times people will use a servlet to accomplish this and I have done a project like this. The first thing that we need to know, however, is what kind of database are you trying to access? That will determine which driver that you are going to need.
[ July 19, 2002: Message edited by: Eric Peterson ]

Eric Peterson
John Dahlstrom

Joined: Dec 27, 2001
Posts: 17
Because of applet security, doesn't the database have to be on the same server that served the applet?
I agree. Here's the link:
subject: appletJdbcconnection
Similar Threads
Java/Jboss/Hibernate Developers needed in Atlanta, GA
what are specs ?
Flex3 with Java - Questions