aspose file tools*
The moose likes JDBC 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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection to database from an applet" Watch "connection to database from an applet" New topic
Author

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.


SCJP, SCJD, SCWCD, SCBCD, SCEA
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: connection to database from an applet
 
Similar Threads
URGENT !! JDBC and applets
APPLETS with JDBC ODBC
connect applet to database?
permissions for using JDBC in applet
Accessing data from database and displaying in an Applet