摘要
Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual Machine (JCVM), the framework, the associated native methods and the API (Ap plication Programming Interface). JCVM is implemented as two separate pieces: off-card VM (Virtual Machine) and on-card VM. The stack model and heap memory structure used by on-card VM and exception handling are introduced. Because there airs limited resources within smart card environment, and garbage collection is not supported in JCVM, the preferred way to exception handling does not directly involve the use of throw, although the throw keyword is supported. Security is the most important feature of smart card. The Java card applet security feature is also discussed.
Java card is a new system for programming smart cards, which is based on the Java language and Virtual Machine. Java card programs (applets) run in Java Card Runtime Environment (JCRE) including the Java Card Virtual Machine (JCVM), the framework, the associated native methods and the API (Ap plication Programming Interface). JCVM is implemented as two separate pieces: off-card VM (Virtual Machine) and on-card VM. The stack model and heap memory structure used by on-card VM and exception handling are introduced. Because there airs limited resources within smart card environment, and garbage collection is not supported in JCVM, the preferred way to exception handling does not directly involve the use of throw, although the throw keyword is supported. Security is the most important feature of smart card. The Java card applet security feature is also discussed.
基金
This work was supported by the special science foundation of Heilongjiang Province for post-doctor.