1 Reply Latest reply on Mar 2, 2012 1:31 AM by safarmer

    Cap file simulation


      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
          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.