Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

.scr file and APDU

1022375Jul 26 2013 — edited Jul 30 2013

I am using JCard sim, java card version 2.2.2 and I want to know how the .scr file is associated with the .java file.

If someone can provide me with some useful links on how these two files are related, I would greatly appreciate it.

I have looked through the following links, but they were not specifically helpful in illustrating how I can modify the .scr file in association with my .java file

C H A P T E R 5 - Converting Java Class Files

How to write a Java Card applet: A developer's guide - JavaWorld

Basically what I am trying to do is create a test applet (without the need of .scr files to send and receive APDUs by my other files)

     - I want to be able to read APDU which contains the the parameters for a function in my process method

     - That function will then create another APDU as its output, which another function will read as one of it's parameters

  

As far as I understand, the .scr file is used to send command APDUs that is read by the applet, but there is no way to write to the .scr file.

How can I create my own .java test file that sends and receives APDUs instead of relying on the .scr?

I can provide more details of what my code looks, if absolutely required.

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2013
Added on Jul 26 2013
4 comments
807 views