Sun Logo


Virtual Machine Specification

Java Cardtrademark Platform, Version 3.0.1,

Connected Edition

5-30-09



Contents

Figures

Preface

1. Introduction and Background

1.1 Comparison to CLDC 1.1 Specification

2. Goals, Requirements, and Scope

2.1 Goals

2.2 Requirements

2.2.1 Hardware Requirements

2.2.2 Software Requirements

2.2.3 Java Card Requirements

2.3 Scope

3. High-level Architecture and Security

3.1 Java Card VM High-Level Architecture

3.2 Application Management

3.3 Security

3.3.1 Low-Level (Virtual Machine) Security

3.3.2 Application-Level Security

3.3.2.1 Sandbox Model

3.3.2.2 Protecting System Classes

3.3.2.3 Additional Restrictions on Dynamic Class Loading

3.3.3 End-to-End Security

4. Adherence to the Java Language Specification

4.1 No Floating Point Support

4.2 No Finalization of Class Instances

4.3 Exception and Error Handling Limitations

5. Adherence to Java Virtual Machine Specification

5.1 No Floating Point Support

5.2 Features Eliminated from the Virtual Machine

5.2.1 User-Defined Class Loaders

5.2.2 Thread Groups and Daemon Threads

5.2.3 Finalization of Class Instances

5.2.4 Errors and Asynchronous Exceptions

5.3 Class File Verification

5.4 Class File Format and Class Loading

5.4.1 Supported File Formats

5.4.2 Public Representation of Java Applications and Resources

5.4.3 Class File Lookup Order

5.4.4 Implementation Optimizations and Alternative Application Representation Formats

6. Java Card Platform Libraries

6.1 Overview

6.2 Classes Derived from Java SE Platform

6.2.1 System Classes

6.2.2 Data Type Classes

6.2.3 Collection Classes

6.2.4 Input-Output Classes

6.2.5 Calendar and Time Classes

6.2.6 Additional Utility Classes

6.2.7 Additional Security Classes

6.2.8 Basic Internationalization and Localization Classes

6.2.9 Exception and Error Classes

6.2.9.1 Exception Classes

6.2.9.2 Error Classes

6.2.10 Internationalization

6.2.11 Property Support

6.3 Classes Derived from Java ME Platform

6.3.1 The Generic Connection Framework

6.3.1.1 Additional Remarks

6.3.2 Public Key Infrastructure Classes

Glossary

Index