Hello,
I was trying to follow the instructions on how to create a javacard applet and so
far I was successful into creating one. I went as far as creating a cap file via this
command:
1. Create an applet and compile the same
2. Convert the class file using converter and .opt file
3. created an SCR file
Now then, I want to test this program if this is really running but I just don't
know how to start. I want to use C-JCRE and later using a GemXpresso 211PK card.
Anyone of you got any idea how I can do this?
Thanks for your help,
Harley
7/16/01 2:28:16 PM, Sebastian Hans <[EMAIL PROTECTED]> wrote:
>The JavaCard platformn is a multiapplication platform, so you can have
>several applets installed in the card. An Applet installed in a JavaCard
>can become active in two ways.
>
>1. It is the default applet in the card, that means after insertion of
>the card into the terminal and the activation of the card, this applet
>is selected by the JCRE and becomes the active applet in the card. The
>applet becomes active when the JCRE calls the select method of the
>applet. After this all APDU's that you send now to the card will go to
>this applet and handeld by this applet.
>
>2. You select an applet via the SELECT command (described in the JCRE
>spec and based on ISO 7816-4). After a succesfull SELECT command this
>applet is now active in the card and will deal with all incomming
>APDU's.
>
>If you whant to communicate with an applets in a JavaCard you need to
>have a terminal application (running e.g. on the PC) that send and
>recsives APDU's to the card and to the applet. The perfect way to write
>application talking to a smartcard application or a JavaCard applet is
>the OCF.
>
>Sebastian
>
>"Harley V. Barrales" wrote:
>>
>> Hello,
>>
>> I am new to Java Card programming and I have some questions regarding to the
>implementation of the applet stored in the card.
>>
>> 1. Assuming that I have created an applet, how do I get this running? Will
>this execute by itself once inserted in the Reader or do I need to create a "host
program" that will send APDUs to the card. If so
>> then how?
>>
>> 2. I have accumulated Java Card literature already, how to create applet,
>etc.. but none did elaborate the question I posed above. If anyone can help me is
highly appreciated.
>>
>> Thanks,
>>
>> harley
>>
>> _________________________________________________________
>> Do You Yahoo!?
>> Get your free @yahoo.com address at http://mail.yahoo.com
>>
>> ---
>> > Visit the OpenCard web site at http://www.opencard.org/ for more
>> > information on OpenCard---binaries, source code, documents.
>> > This list is being archived at http://www.opencard.org/archive/opencard/
>>
>> ! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
>> ! to
>> ! [EMAIL PROTECTED]
>> ! containing the word
>> ! unsubscribe
>> ! in the body.
>
>--
>_____________________________________________________________________
>Sebastian J. Hans
>Java Card Business Development
>
>
>email: [EMAIL PROTECTED] Sun Microsystems
>Tel: +49-(0)30-74 70 96 701 Sebastian J. Hans
>Fax: +49-(0)30-74 70 96 99 Komturstrasse 18a
>mobile: +49-(0)174-300 75 34 12099 Berlin
> Germany
>_____________________________________________________________________
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
---
> Visit the OpenCard web site at http://www.opencard.org/ for more
> information on OpenCard---binaries, source code, documents.
> This list is being archived at http://www.opencard.org/archive/opencard/
! To unsubscribe from the [EMAIL PROTECTED] mailing list send an email
! to
! [EMAIL PROTECTED]
! containing the word
! unsubscribe
! in the body.