Java Program accessing hardware driver

I am planning to develope a project with a USB smart card reader. The USB smart card reader is for some form of authenication purpose of the card holder to verify that the authenticated user is using the program. The application will be a web based program in which a java applet (or java application) will be developed for the web page to access the local USB smart card reader. Can Java Applet has some form of ability to access the hardware, either by accessing the smart card API or it can directly access the USB port to read/write information directly to the smart card reader, provided that the USB reader can provide the low-level communication protocol.

[669 byte] By [koowaihunga] at [2007-10-3 5:22:22]
# 1
You will have to sign your appletAnd you might also need native libraries to access the card reader
LRMKa at 2007-7-14 23:29:25 > top of Java-index,Java Essentials,Java Programming...
# 2

> You will have to sign your applet

> And you might also need native libraries to access

> the card reader

Thanks for your prompt help.

Because I am quite new to Java, I might ask some naive question.

When you "sign" the applet, which I believe it will be done in the browser setting to trust the applet, this will loosen the security concern of the applet, right?

The native libraries should then be in the form of a DLL in windows environment which the Java applet can call, right? And could you provide some sample code that how a DLL function call can be integrated into Jave.

Thanks again for your help.

koowaihunga at 2007-7-14 23:29:25 > top of Java-index,Java Essentials,Java Programming...