Class file contains all necessary information required to run a Java program for Java virtual machine. However, it is found that the structure of Java class file is not as efficient in respect of both size and accessibility. Because embedded systems u...
Class file contains all necessary information required to run a Java program for Java virtual machine. However, it is found that the structure of Java class file is not as efficient in respect of both size and accessibility. Because embedded systems usually have low-performance processors and small amount of memory, it is not a good idea to store and access class files directly on embedded Java system in storage and performance viewpoint.
In this paper, we present a design and implementation of the class ROMizer, a tool that allows Java class files to be pre-loaded in preparation for placing them into the ROM memory of an embedded Java application. The ROMizer produces a single binary image file from a multiple set of Java class files. The binary image file is more effient than class file in repect of both size and accessibility. The basic architecture of the ROMizer is presented and the performance and accessibility of the designed binary image file is analyzed in this paper.