J2ME环境下开发移动Web服务的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
作者从事于J2ME技术的研究有一年半左右的时间,其间参与了J2ME网络游戏项目的开发,同时也针对JSP和XML技术做过相应的研究工作。本文结合作者的开发实践,设计并实现了一个移动Web服务的框架。所谓移动Web服务,它是一种让人们使用移动电话,PDA等无线通讯设备接入Internet的全新接入方式,通过这类服务用户可以享受到高速的无线数据传输,包括Internet上的各类新闻、在线游戏,银行各种网上业务等一系列网络应用服务。本文的工作主要集中在:
     (1)详细阐述开发移动Web服务所需要的两种关键技术(J2ME和XML)的工作原理。
     (2)作者利用自己的开发实例分析了移动Web服务的主要编程思想,即MIDP网络程序设计,以及J2ME与XML技术的结合。
     (3)具体展示了作者如何实现移动Web服务的客户端。其中包含以下工作:首先,作者提出了一个完整的移动Web服务的解决方案,包括服务器和客户端的结构框架;其次,作者实现了移动Web服务中的五子棋游戏功能;接下来,作者实现了移动Web服务中的新闻查看功能。本论文程序涉及67个J2ME和kXM1类,17个文件,约5000行代码。
     (4)深入分析了移动Web服务的两个关键技术:无线网络会话和无线通讯的安全性。对于前者,作者设计了一个运用XML技术的解决方案并实现了全过程。对于后者,作者阐述了可能的几种解决方案,具体实现有待进一步研究。
     本文组织如下:第一章介绍了J2ME的基本概念和体系结构,以及它的优势与不足。第二章阐述XML的基本概念和主要功能,以及在移动Web服务中的应用优势。第三章利用开发实例讲述了MIDP网络程序的开发原理。第四章介绍了Java与XML结合应用的巨大优势,提出了J2ME+XML的移动Web
    
    服务的解决方案。第五章是木文的重点,笔者详细阐述了一个移动Web服务
    的工作原理和实现过程。第六章深入分析了此服务中的两个关键技术,无线网
    络会话和无线通讯的安全性。第七章总结全文。
I have engaged in J2ME technology research for half and one year, during which I participated in the development of J2ME network game project, and meanwhile, I also made some corresponding researches, aiming at JSP and extensible Markup Language. Combining the development practice, I have designed and realized a frame of Mobile Web Service. Mobile Web Service is a brand-new access method, which can let people use wireless telecommunication equipments such as cellular telephone, PDA assistant to access internet. Through the service, users can enjoy high-speed wireless data transmission. The series of network application services includes all kinds of news on Internet, games on line, various online businesses of banks and so on. My research is concentrated mainly on the following aspects:
    Firstly, I explain in detail the operating principles of two key technologies: J2ME and extensible Markup Language, which are needed in developing Mobile Web Service.
    Secondly, I analyze the main programming thoughts that MIDP network program design, J2ME and extensible Markup Language are combined, utilizing my own development instance.
    Thirdly, the paper is shown how to realize the client of Mobile Web Service, which includes the following work.
    1. First of all, I put forward an integrated solution for Mobile Web Service which includes the structure frames of server and client.
    2. It realizes quintet game function in moving network services.
    
    
    3. It realizes news-examining function in Mobile Web Service. The procedure of this paper involves 67 classes of J2MEs and kXMls, 17 files, about 5000 lines of codes.
    Fourthly, I analyze in depth two key technologies of Mobile Web Service: wireless network conversation and security of wireless communication. As to the former, I design a solution which is exercised in extensible Markup Language technology and realizes the whole process. As to the latter, I explain several possible solutions, however, the realization of these solutions needs a further study.
    The structure of this paper is as follows: In chapter one, I introduce the basic conception and system structure of J2ME, and its advantages and disadvantages. In chapter two, I explain the basic conception and main functions of extensible Markup Language, and the application advantages in Mobile Web Service. In chapter three, I explain the development principle of MIDP network procedure, utilizing my development instance. In chapter four, I introduce the great advantage of combining and applying Java and extensible Markup Language, and put forward the solution for Mobile Web Service of J2ME + XML. In chapter five which is the emphasis of the paper, I explain in detail the operating principle and realization process of Mobile Web Service. In chapter six, I analyze in depth two key technologies of the services, wireless network conversation and security of wireless communication. In chapter seven, I summarize the whole paper.
引文
[1] James White, David Hemp Hill, "J2ME--Java in Small Things", Manning Publications Co. 2002。
    [2] Qusay H.Mahmoud, "Secure Java MIDP Programming Using HTTPS with MIDP", June 2002。
    [3] Brett McLaughlin, "Java & XML, 2nd Edition", O'Reilly, September 2001。
    [4] Brett McLaughlin, "Java and XML Data Binging", O'Reilly, May 2002。
    [5] Qusay Mahmoud, "MIDP Inter-Communication with CGI and Servlets", February 2001。
    [6] Qusay Mahmoud, "MIDP Network Programming--using HTTP and the Connection Framework", November 2000。
    [7] Jonathan Knudsen, "MIDP Application Security", December 2002。
    [8] Eric Giguere, "Using Threads in J2ME Applications", February 2003。
    [9] Jonathan Knudsen, "Session Handling in MIDP", January 2002。
    [10] Eric Giguere, "Understanding J2ME Application Models", October 2002。
    [11] Eric Giguere, "Compressing XML for Faster Wireless Networking", March 25, 2002。
    [12] Srikanth Raju, "XML AND JAVA LANGUAGE PROGRAMMING FOR WIRELESS DEVICES: A TUTORIAL", Technology Evangelist, 2002。
    [13] Stefan Haustein, "Parsing XML on the KVM", February 2001。
    [14] Jonathan Knudsen, "Parsing XML in J2ME[tm]--XML in a MIDP Environment", March 7, 2002。
    [15] Yu Feng and Dr. Jun Zhu, 《Wireless Java Programming with J2ME》, May 2001。
    [16] Alka Gupta and Mayank Srivastava, 《Integrated Java technology for end-to-end m-Commerce》, May 2001。
    [17] Keith Bigelow, Mark Beaulieu," Wap vs. i-mode vs. J2ME Programming--Paradigms and Limitations", Chief Wireless Architect, Lutris, 2002。
    [18] Srikanth Raju, "Developing Wireless Applications Using J2ME and XML", Technology Evangelist, Sun Mierosystems, 2002。
    [19] 诺基亚论坛,“高效MIDP编程”,诺基亚中国,2002,8。
    [20] Michael Juntao Yuan和Ju Long,“使用J2ME/MIDP追踪无线网络会话——学习在移动商务应用程序中维护客户端状态信息的三种方法”,2002,3。
    
    
    [21] 王森,《Java手机程序设计入门》,知城数位科技股份有限公司,2001,8,25。
    [22] Michael Juntao Yuan,“保护您的J2ME/MIDP应用程序—如何在无线设备上使用Bouncy Castle Crypto API对XML文档进行数字签名和验证”,电子商业研究中心,德州大学奥斯汀分校,2002,9。
    [23] 南凯,阎保平,“XML与JAVA在WEB上的结合应用”,中国科学院网络中心,2002,3。
    [24] 刘晟 王振兴 王智强.“XML与Java的结合”,计算机世界,2002,7。
    [25] Dreamtech软件研发组,赵刚,林瑶,赵滨燕等译,《基于J2ME的无线设备编程源代码解析》,电子工业出版社,2002,7。
    [26] Dreamtech软件研发组,杨宏,康平军等译,《多平台无线网络编程源代码解析》,电子工业出版社,2002,7。
    [27] Dreamtech软件研发组,韩锋等译,《对等网络编程源代码解析》,电子工业出版社,2002,7。
    [28] Dreamtech软件研发组,钱卫,蒋晓红等译,《即时消息传递系统编程源代码解析》,电子工业出版社,2002,7。
    [29] Dreamtech软件研发组,肖斌,董韶君等译,《嵌入式系统编程源代码解析》,电子工业出版社,2002,7。
    [30] John W.Muchow,《J2ME技术和MIDP核心》,Sun Press/Prentice Hall PTR,2001,12。
    [31] 米川英树,《J2ME MIDP手机游戏程序设计》,博硕文化股份有限公司,2003,2。
    [32] 黄聪明,《Java移动通信程序设计J2ME MIDE》,清华大学出版社,2002。
    [33] 朱立伟,《移动通信》,机械工业出版社,2002。
    [34] 焦祝军,《J2ME无线通信技术应用开发》,北京希望电子出版社,2002。
    [35] 卢军,《J2ME应用程序开发 手机、PDA程序开发捷径》,中国铁道出版社,2002。
    [36] 特朗布莱特,《J2ME无线Java应用开发》,人民邮电出版社,2002。
    [37] Roger Riggs,《J2ME无线设备编程》,机械工业出版社,2002。

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700