Taking Java Everywhere Else
Java Card
Anki R. Nelaturu

Sep 17, 2008 Sophia-Antipolis, French Riviera. Hands-On Session on Application Development for Java Card 3.0 Platfrom at
 
Archives
« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today
Click me to subscribe
Search

Links
 

Today's Page Hits: 4

« Java Card 3.0 -... | Main | Not An Architecture... »
Tuesday Apr 15, 2008
Java Card 3.0 - Split VM, JDK 6

Java ME developers are aware of split VM architecture. In simple terms, Data Flow Analysis happens off the device. This is done by preverifier tool. Then, the byte code verification happens on the device using the information generated by preverifier tool. This information is stored in an attribute "StackMap" for each method's "Code".

Java Card 3.0 is adapting the same style. But with a different approach.

Since JDK6, the Java compiler generates preverified class files. There is a slight difference compared to Java ME style preverification. The first difference is the Attribute name itself. Attribute name in JDK6 generated class files is "StackMapTable". And the second difference is, "StackMapTable" is in compressed format compare to "StackMap". I am not going into details. You can check latest Class file format (JSR-202) for more details.

Java Card 3.0 is trying to leverage on JDK 6, so that the learning curve will be not so bumpy/steep/perpendicular :)

Posted at 09:10AM Apr 15, 2008 by anki in Java Card 3.0  |  Comments[1]

Comments:

Post a Comment:
Comments are closed for this entry.