1 Reply Latest reply: Mar 1, 2012 7:31 PM by safarmer RSS

    Cap file simulation

    Umer
      Hi,

      Can anybody explain how a real card treats cap file when we send any apdu to it. I mean how a java card executes apdu based on the cap file ?

      Thanks & Regards
        • 1. Re: Cap file simulation
          safarmer
          You can think of the cap file as a JAR file and it contains the byte code for your applets. When the CAP file is loaded and installed, the JCVM parses certain tokens out that enable it to execute. You can read the JCVM spec for more details on how this is done.

          Cheers,
          Shane