java虚拟机在移动平台上的实现.rar

RAR格式版权申诉手机打开展开

java虚拟机在移动平台上的实现,资源包括:正文doc格式共27页 10278字附英文资料与翻译.doc摘 要本文是一篇关于如何移植java虚拟机到mfone平台的文章。总的来说,所谓java虚拟机移植主要就是根据上下文语意修改、实现对应的native函数。本文将会解释什么是kvm,什么是mfone以及如何移植kvm 到mfone平台。首先我们会介绍一...
编号:25-257539大小:176.67K
分类: 论文>计算机论文

该文档为压缩文件,包含的文件列表如下:

内容介绍

原文档由会员 莎士比亚 发布

资源包括:正文DOC格式共27页 10278字 附英文资料与翻译.doc
摘 要
本文是一篇关于如何移植JAVA虚拟机到mFone平台的文章。总的来说,所谓JAVA虚拟机移植主要就是根据上下文语意修改、实现对应的native函数。
本文将会解释什么是KVM,什么是mFone以及如何移植KVM 到mFone平台。首先我们会介绍一些基本概念,接着以一些具体示例来演示如何移植,例如javax.microedition.io包的移植。在需要的地方我们还会给出一些注意事项(例如:如何提升性能)。总之我们的目标很明确:移植KVM到mFone平台,使得它尽可能快而且完整(不偏离KVM的设计目标)。
注意:虽然本文主要描述如何移植SUN的KVM到mFone平台上,但思想并不局限于SUN的KVM。

关键词:KVM,mFone,MIDP,CLDC

Implement of java virtual machine on mobile platform
Abstract
This page is about how to port JAVA virtual machine to mFone platform, also known as JVM porting. Generally speaking, the so-called JVM porting is mainly modify or implement the native functions by its context meaning.
In this page we’ll explain what’s KVM, mFone and how to port KVM to mFone platform. At first we’ll describe some basic concepts. And then, we will demonstrate how to port KVM by some samples in details, such as the demonstration of javax.microedition.io package. We’ll provide some notes (eg: how to speed up the performance) in somewhere if it is needed.
More specifically, our goal is to port the KVM to mFone platform, as “completely” and “fast” as possible without sacrificing the KVM design goals.
Note :This document will describe how to port the KVM to mFone platform,but the idea is not just related to SUN’s KVM.

Key words: KVM,mFone,MIDP,CLDC
目 录
1 引言 1
1.1 为什么要移植 1
1.2 研究述评 1
1.2.1 业内动态 1
1.2.2 待移植平台现状 3
1.2.3也谈知识产权 3
1.2.4 商业前景 4
1.3 内容安排 4
2 概览 5
2.1 Java概览 5
2.1.1 什么是Configuration 5
2.1.2 什么是Profile 6
2.1.3 J2me平台结构 6
2.1.4 Midlet运行流程 7
2.2 mFone平台介绍 8
2.3 包移植示例 8
2.3.1 javax.microedition.io包概览 8
2.3.2 SocketConnection的实现 9
3 API函数移植 13
3.1 MIDP API概述 13
3.2常用的宏和函数 14
3.3 MIDP API的实现 15
3.3.1 分类及示例 15
3.3.2 注意事项 19
3.4 事件 19
4 结论 20
参 考 文 献 22
致 谢 23