How does Java Card differ from Java?
Created May 7, 2012
Julien SIMON
Massively. Both platforms are only similar in the sense that they use the Java language and run bytecode, but thats about it. We dont think that one can call Java Card a Java subset like one would do for J2ME. Java Card should rather be seen as a Java implementation targeted at smart cards:
- The Java Card API is totally specific, except for a couple of downsized java.lang classes.
- The Java Card Virtual Machine doesnt support any of these features: dynamic class loading, bytecode verification, Security Manager, threads, garbage collection, JNI, etc. Its not even able to process Java class files.