简体   繁体   中英

How to connect MS Access database to Java Applet

We have to create a Java project on ATM Mechanism. We plan to connect it to a database also. Could you please help me as to how I can connect an MS Access database to a Java applet which we have created using BlueJ? Thank you.

Connecting the applet with MSAccess would be very complex, because of applet security limitations. An applet is not supposed to access local resources (files), so you would have to add all kinds of signatures to the applet for the browser to allow this (I did something like this about 12 years ago, and from my knowledge, the applet security limitations are still in place, or even worse).

But if you do manage to access the local filesystem, you can use some library like Jackcess or access the mdb file directly using jdbc/odbc driver as shown here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM