Java,browser and smart cards

I am looking for a way toread and write from/to a smart card with a browser(prefferably mozilla).Is there a way to do that?I mean, can mozilla communicate directly with a smart card?The only solution is with a java applet?

The problem:

The only thing that I want toread and write from/to the card, is a unique code.All the rest infomation remains in the database.The program will be web based.The browser reads a code from the smart card,it passes it to the web server,the server side program does something and it showes the result on the browser.

[611 byte] By [lazarocka] at [2007-9-25]
# 1

> I am looking for a way to read and write from/to a smart card with a browser(prefferably mozilla).Is there a way to do that?

> I mean, can mozilla communicate directly with a smart card?

Without using third party software/components: No.

> The only solution is with a java applet?

You acn use a java applet but you need to use Java6 or you need an installed JNI-library which allows to access the card reader.

> The problem:

> The only thing that I want to read and

> write from/to the card, is a unique code.All

> the rest infomation remains in the database.

Sounds for me like a bookmark. Why do you want to use a smartcard?

Jan

JPJavaa at 2007-7-15 > top of java,Java Mobility Forums,Consumer and Commerce...
# 2
Looks like you need a Java Card 3 product. In the draft spec you will find TCP/IP support and all kind of other goodies.As JPJava already pointed out you need to dig into the PCSC driver (Windows) and connect it to your browser application.
lexdabeara at 2007-7-15 > top of java,Java Mobility Forums,Consumer and Commerce...