A P P E N D I X A |
Application Module and Library Formats |
This appendix describes the application module and library formats supported by the Java Card 3 platform card manager. Applications are distributed and deployed as application module JAR files. The application module distribution format JAR file contains one application. Libraries are distributed and deployed as standard library JAR files containing the library classes.
There are two types of library formats:
This appendix contains the following sections:
FIGURE A-1 shows the directory structure of the web application module distribution format. The structure must be that of the web archive ( .war ) file with the following differences:
FIGURE A-1 Web Application Module Format
See the Runtime Environment Specification, Java Card Platform, Version 3.0.1, Connected Edition for specific details about the web application module format.
FIGURE A-2 shows the directory structure of the extended applet application module format. See the Runtime Environment Specification, Java Card Platform, Version 3.0.1, Connected Edition for specific details.
FIGURE A-2 Extended Applet Application Module Format
See the Runtime Environment Specification, Java Card Platform, Version 3.0.1, Connected Edition for specific details about the extended applet application module format.
FIGURE A-3 shows the directory structure of the classic applet application module distribution format. The structure is similar to that of the extended applet application module with the following differences:
FIGURE A-3 Classic Applet Application Module Format
See the Runtime Environment Specification, Java Card Platform, Version 3.0.1, Connected Edition for specific details about the requirements of the classic applet application module format.
The extension library distribution format uses the Java Platform Standard Edition library JAR file structure. FIGURE A-4 shows the format of a Java Platform Standard Edition library JAR file format.
FIGURE A-4 Java Platform Standard Edition Library JAR Format
See the Runtime Environment Specification, Java Card Platform, Version 3.0.1, Connected Edition for specific details about the extension library format.
FIGURE A-5 shows the format of a classic library distribution format. The classic library distribution format uses the Java Platform Standard Edition library JAR file format (see FIGURE A-4) with the following restrictions and additions:
FIGURE A-5 Classic Library Format
See the Runtime Environment Specification, Java Card Platform, Version 3.0.1, Connected Edition for specific details about the classic library format.
Copyright © 2009 Sun Microsystems, Inc. All rights reserved.