USENIX Technical Program - Abstract - Smartcard 99
Object Lifetimes in Java Card
Marcus Oestreicher, Zurich Research Laboratory, IBM Research Division; Ksheerabdhi Krishna, Austin Product Center, Schlumberger
Java Card promises the ease of programming in Java to the world of smart cards. Java's memory model however is resource intensive especially for smart card hardware. Hence, adapting Java's memory model to Java Card must retain the easy programming paradigm while enabling Java Card applications to maximize the use of smart card memory. To this end, the Java Card 2.1 Specification
 advocates an ad hoc persistent memory model that foists an unnatural programming paradigm and an inherently limited API.
In this paper we discuss memory model choices for Java Card in the context of persistent systems. We propose the concept of a transient and persistent environment for encapsulating the transient and persistent objects in Java Card applications. While offering a simple programming model, it allows efficient sharing of the memory resources among multiple applications and enables garbage collection for Java Card.
- View the full text of this paper in
HTML form and
- If you need the latest Adobe Acrobat Reader, you can download it from Adobe's site.
- To become a USENIX Member, please see our Membership Information.