摘要:
针对J2ME程序数据持久存储的问题,根据移动信息设备简表,提出一种采用缓存机制的面向对象的数据持久存储管理方案。该方案将数据封装为对象,在应用程序和持久存储之间采用数据管理层分离应用程序的数据访问逻辑和数据存储逻辑,并采用缓存机制提高数据访问效率。通过实验验证该方案的可行性,实验结果表明该缓存机制提高了频繁访问数据的访问效率。
关键词:
Java2mso-ascii-font-family: 'Times New Roman',
mso-hansi-font-family: 'Times New Roman'">微型版,
移动信息设备简表,
面向对象,
持久存储管理,
缓存机制
Abstract:
For the question of persistent storage in J2ME programs, according to Mobile Information Device Profile(MIDP), this paper proposes an object-oriented scheme with caching mechanism for storage and management. It encapsulates data into object, separates the data access and data storage by using data manage level between program and persistent storage, and uses the caching mechanism to raise the data access efficiency. The feasibility of the scheme is verified by the experiments. Experimental result indicates the access efficiency of frequently access data is improved by use of caching mechanism.
Key words:
Java2 micro edition,
Mobile Information Device Profile(MIDP),
object-oriented,
persistent storage management,
caching mechanism Java2 micro edition,
Mobile Information Device Profile(MIDP),
object-oriented,
persistent storage management,
caching mechanism Java2 micro edition,
Mobile Information Device Profile(MIDP),
object-oriented,
persistent storage management,
caching mechanism
中图分类号:
卜登立, 魏斯民, 彭嵩松. J2ME中面向对象的持久存储管理研究[J]. 计算机工程, 2010, 36(11): 78-79,82.
BO De-Li, WEI Shi-Min, BANG Song-Song. Research on Object-oriented Persistent Storage Management in J2ME[J]. Computer Engineering, 2010, 36(11): 78-79,82.