Java User’s Guide
4.3 Data Flow of a Java Application Running on the Module
35
s
wm_java_usersguide_v12
Page 32 of 123
2008-02-25
Confidential / Released
4.3
Data Flow of a Java Application Running on the Module
Figure 7:
Data flow of a Java application running on the module.
The diagram shows the data flow of a Java application running on the module. The data flow
of a Java application running in the debug environment can be found in
Figure 29
.
The compiled Java applications are stored as JAR files in the Flash File System of module.
When the application is started, the JVM interprets the JAR file and calls the interfaces to the
module environment.
The module environment consists of the:
•
Flash File System: available memory for Java applications
•
TCP/IP: module internal TCP/IP stack
•
GPIO: general purpose I/O
•
ASC0: Asynchronous serial interface 0
•
ASC1: Asynchronous serial interface 1
•
I2C: 12Cbus interface
•
SPI: Serial Peripheral Interface
•
DAC: digital analog converter
•
ADC: analog digital converter
•
AT parser: accessible AT parser
The Java environment on the module consists of the:
•
JVM: Java Virtual Machine
•
AT command API: Java API to AT parser
•
File API: Java API to Flash File System
•
IMP-NG: Java API to TCP/IP and ASC0
•
GPIO API: Java API to GPIO pins and pulse counter
•
Watchdog API: Java API to HW watchdog
•
Bearer Control API: Java API for bearer state information and hang-up.