The Java Smartcard I/O API (javax.smartcardio, JSR 268) introduced in Java 1.6 is the bridge between PC/SC readers and the Java world. Java-based applications and applets may now communicate with smartcards in an interoperable and portable way. This makes it possible for web pages to access data stored in smartcards, or to invoke services running in a smartcard (either running a JavaCard cardlet or whatever native card application).
- The applet has to be signed, as the smartcard is a critical computer's resource, not immediately available to the applets running in the sandbox,
We've written a small yet precise HOWTO that explains the whole process of developing such an applet. You may download it here.
Following this HOWTO, a sample applet has been developed and signed for demos and tests. You can test it online here (the applet is signed with our certificate 'www.springcard.com'. You must accept the signature, otherwhise you will be able to list the readers but not to connect to the cards).