With rapid development of wireless communicatin, more and more mobile stations are used in the world, and the mobile stations are more than the PC now.Mobile become powerful with the office, entertainment, communication functions.J2ME platform is favored by most developers, manufactures and customers. More and more portable devices start to use KVM(Embedded Java Virtual Machine) as an inside appliance.This paper introduced the Java language and its system architecture. Then, analyzed the models of KVM deeply which include class loading model, class verify model, memory management and garbage collect model, thread management model and executing model. It disclosed Java internal running system by detailing the main function of the models, the execute flow, and the relation ship of the models. And brought forward a partition fo poring layers which include J2ME kernel interface, J2ME abstract interface and Java Application Management interface.This kind of poring layers make the porting course more standardization and increasing the porting efficiency.Finally, take JSR120 as an example explaining how to analysis, design and implementation the optional JSRs in poring process. |