Java Card Implementation
I know there are some threads which discussed on Java Card Implementation. And things are scattered. I would like to share my understanding with few questions.
My Understanding:
Javacard toolkit helps developers to write smart card application. Developers should by smartcard which supports JCVM and Compatabile reader to develop Java Card application.
Seeking Clarification:
1. A developer should contact sun and get JCVM license if he has to bundle JCVM with his applets in any processor, am right?
2. I am having a reader (microcrontroller 32 flash and 2kRAM), can it be used to Read Java Card? if so, whether this memory should be sufficient? Does the reader should have JCVM ?
Out of box question:
How to award duke stars. i can't find any link other than knowing about duke stars program and info about my duke stars stock!
Thanks in advance
Message was edited by:
vskay
[947 byte] By [
vskaya] at [2007-11-27 6:33:26]

# 1
1. A developer should contact sun and get JCVM license if he has to bundle JCVM with his applets in any processor, am right?
You need to obtain a license from Sun if you want to sell a Java Card product. Your product is Java Card compliant if it follows the license terms and passes the JC-TCK test suite.
You do not need a license if you are just creating applets.
2. I am having a reader (microcrontroller 32 flash and 2kRAM), can it be used to Read Java Card? if so, whether this memory should be sufficient? Does the reader should have JCVM ?
Your reader has nothing to do with Java Card. The reader should be ISO7816-3 and PC/SC compliant.
The JC Virtual Machine is solely intended for a smart card.
Out of box question:
How to award duke stars. i can't find any link other than knowing about duke stars program and info about my duke stars stock!
I think you need first to assign duke stars to a topic and reward someone once your problem is solved.
# 2
thanks lexdabear.
Few more clarifications...
1. As a knowledge, I would like to know is it possible to bundle JCVM with applet if i want to try java card model in a processor(embedded board). Whether Javacard dev kit allows developer to create image with JCVM or developers can only be able develop Java Card Applets (CAP file).
2. Consider i have reader which supports 14443 and 15693. Can i buy a java card which supports similar protocol and develop applets and load the same into the java card? or do i need a special writer to load the applets
Out of box:
I could not find a link to assign the duke stars. In which page can i find the link?
null
vskaya at 2007-7-12 17:59:19 >

# 3
1. As a knowledge, I would like to know is it possible to bundle JCVM with applet if i want to try java card model in a processor(embedded board). Whether Javacard dev kit allows developer to create image with JCVM or developers can only be able develop Java Card Applets (CAP file).
No, you cannot bundle a smart card OS and an applet with Sun's Java Card Kit. The Kit is intended for applet development.
Sun added a reference implementation to the kit though (in C). What you could do is implement the OS for your chip according to this implementation, install an applet and make an image of your EEPROM and RAM.
2. Consider i have reader which supports 14443 and 15693. Can i buy a java card which supports similar protocol and develop applets and load the same into the java card? or do i need a special writer to load the applets
As far as I know there are Java Card OS's that support ISO7816-3, ISO7816-12, ISO14443 and NFC.
Applets are independet of the transport layer. To load an applet you need an installer for the specific Java Card OS. Most implementation support GlobalPlatform for content management where the installation commands are defined.
http://developers.sun.com/forums/dukestars/how_works.jsp
How Do I Assign Duke Stars to a Question?
1. In the forum you want to post a question, click on "Post New Topic".
2. Type in the question and click on "Post".
3. Assign Duke Stars to the question by clicking on the "Assign Duke Stars" link.
4. Choose the Duke Stars amount you want to award between 1 and 10.
5. Your question has now been posted with a Duke icon next to it.
# 4
-> thanks for your information. So I can make my RFID reader to read
Java Card which supports 14443/15693
-=-=-=-=-=-=-=-
No, you cannot bundle a smart card OS and an applet with Sun's Java Card Kit. The Kit is intended for applet development.
Sun added a reference implementation to the kit though (in C). What you could do is implement the OS for your chip according to this implementation, install an applet and make an image of your EEPROM and RAM.
->So.. does it mean that i can create a java card model on an embedded platform with eeprom and RF antenna (14443/15693) with 'C' implementation of Java Card OS?
-=-=-=-=-=-=-=-
Applets are independet of the transport layer. To load an applet you need an installer for the specific Java Card OS. Most implementation support GlobalPlatform for content management where the installation commands are defined.
-> installer mean, a device which is used to upload the applet? or the reader can be used to upload the applet with certain commands.
-=-=-=-=-=-=-=-
3. Assign Duke Stars to the question by clicking on the "Assign Duke Stars" link.
I can't see the "Assign Duke Stars" link :(. i have spent enough time before posting this question, I don't know whether i have to enable any other option. All i can see the following links in 'post' page
? Forum Settings
? Watch List
? My Duke Stars
? Duke Stars Program
? My Forums
? Feedback
? Logout
i feel silly to disturb you on this.. but i can't help.. bear with me pls :)
vskaya at 2007-7-12 17:59:19 >

# 5
->So.. does it mean that i can create a java card model on an embedded platform with eeprom and RF antenna (14443/15693) with 'C' implementation of Java Card OS?
Yes.
-> installer mean, a device which is used to upload the applet? or the reader can be used to upload the applet with certain commands.
.. the commands .. which have to be supported on-card. Java Card does not specify how the applet gets on the card. It just mentions that there should be an installer and deletion manager with certain properties (JCRE, 11). You need to specify yourself this components or follow an existing standard, e.g. GlobalPlatform.
# 6
.. the commands .. which have to be supported on-card. Java Card does not specify how the applet gets on the card. It just mentions that there should be an installer and deletion manager with certain properties (JCRE, 11). You need to specify yourself this components or follow an existing standard, e.g. GlobalPlatform.
Mean.. i have to have installer and deletion manager if i am creating a Java Card. But if i buy the Java Card from vendors, they should have alreay loaded with those installer,deletion manager, and developers has to write the applet and use the Comman defined by GlobalPlatform to install/delete, am i right?
vskaya at 2007-7-12 17:59:19 >

# 7
If it is a GlobalPlatform card and the card is not static (installer and optionally deletion manager disabled) the installer and deletion manager are implemented. You then just need to write your applet and install/delete it according to the GlobalPlatform commands.
# 8
1. Do I have to use Java in Reader Side also OR simple 'C' program is sufficient?2. How are the message passing model like RMI and STSA are acheived if Java is not used.
vskaya at 2007-7-12 17:59:19 >

# 9
On the application level the reader has nothing to do with the smart card OS. The most relevant standards for the reader are ISO7816-3 and PC/SC.The only other smart card OS which uses RMI is .NET smart card.