by Tom Pfaeffle March 2002
Test your knowledge of the new features in Java Card Version 2.2 technology. For more information on Java Card Version 2.2 technology, you can download the Platform Specifications.
Logical Channels
1. Logical channels allow multiple applications, one on each channel, to execute on Java Card platform simultaneously. What is the maximum number of logical channels that Java Card technology can support?
2. For an applet to be selectable on multiple channels simultaneously, it must implement which interface?
java.applet.AppletContext
javacard.framework.Multiselectable
java.applet.Simultaneous
javacard.applet.Multiselectable
3. Only specific APDU commands can contain encoded logical channel information.
4. For the applets you want to use simultaneously, one of the methods for which you must provide an implementation is the Multiselectable.select method. This method informs the applet that:
Object, Package, and Applet Deletion
5. The object deletion mechanism is an optional feature in Java Card Version 2.2 technology that reclaims memory that is used by unreachable objects. The object deletion mechanism is like garbage collection in standard Java programming.
6. A Java Card applet can request the object deletion mechanism with a call to which method?
JCSystem.requestObjectDeletion
javacard.framework.requestGarbageCollection
Object.delete
Object.requestObjectDeletion
7. Interdependent applets cannot be deleted from a Java Card Version 2.2 platform.
8. A package deletion request removes a package and all of its applet instances, provided all of the applet instances are not active.
Java Card Remote Method Invocation (JCRMI)
9. What advantages does the addition of RMI and the component framework support give to Java Card technology?
10. Is it required to generate stubs for the Java Card RMI client framework?
11. What are the characteristics of a typical JCRMI interface?
java.rmi.Remote
RemoteException