Meaningless Drivel is fun!
The moose likes JDBC and Relational Databases and the fly likes connection to database from an applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "connection to database from an applet" Watch "connection to database from an applet" New topic

connection to database from an applet

ravi janap
Ranch Hand

Joined: Nov 04, 2000
Posts: 389
can we get connected to database from an applet using Type 3 & Type 4 drivers ? It seems the Type 1 and Type 2 driver have this limitation. Kindly clarify.

Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
You can connect to a database from an applet. The issue is that it must be from the same server where the applet was loaded from. Browser security will not permit an applet to access any other server unless it has a security certificate and has been approved by the user.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: connection to database from an applet
It's not a secret anymore!