File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes applets and jdbc 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 "applets and jdbc" Watch "applets and jdbc" New topic
Author

applets and jdbc

feroz muhamed
Ranch Hand

Joined: Nov 15, 2003
Posts: 87
can applet directly access Database? when running a security exception rises.
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
Only if the IP address of the database is the same as the URL address from where the applet was loaded. Otherwise, you'll have to sign your applet to allow it to access the network.


Rob
SCJP 1.4
Peter Yunguang Qiu
Ranch Hand

Joined: Nov 22, 2003
Posts: 99
How to read / wrtie file using Stream? If the Applet and data file in the same machine, I think it is possible.
Peter
george franciscus
Greenhorn

Joined: Nov 26, 2003
Posts: 28
Hi feroz,
Please ask questions completely( exact problems).
Anyway, Applet is like normal java class so it can connect to database. But we know applets run at client side. So we have some restrictions about that..
Un signed.
A applet can connect to its downloaded server only.
So in this case if your database server & webserver are same then ur applet can connect to database directly.
if u need more help ask ur question more precisely.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: applets and jdbc
 
Similar Threads
Clock
WA #1.....word association
Java program protection.
Applet with a ServerSocket
Clock