Research on Developing Mobile Web Service in J2ME
- Author
- ZhangLei
- Advisor
- LiZhiShu
- School
- Sichuan University
- Major
- Applied Computer Technology
- Classification
- TP393.09 The application of computer network
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 373
- Citations
- 2
Abstract
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.
Table of contents
1 JAVA 2 MICRO EDITION Overview 9-21
1.1 Introduction: 9
1.2 J2ME architecture: 9-14
1.2.1 J2ME What is it? 9-10
1.2.2 J2ME overall architecture: 10-12
1.2.3 J2ME positioning in various Java version: -14
1.3 J2ME development strengths and weaknesses: 14-17
1.3.1 disadvantage: 14-15
1.3.2 advantages: 15-17
1.4 MIDP application, write: 17-21
1.4.1 MIDP UI: 17
1.4.2 MIDP API: 17-18
1.4.3 What is a MIDlet: 18
1.4.4 the a simple MIDlet (helloWord.java): 18-20
1.4 .5 MIDP packages 20-21
Introduction to XML 21-33
2.1 What is XML: 21
2.2 XML how to describe the data: 21-24
2.2.1 DTD: 21-23
2.2.2 Schema: 23-24
2.2.3 XML Schema compared with the DTD advantage: 24
2.3 of XML implementation architecture: 24-30
2.3.1 naming space (namespace): 25-27 <br / > 2.3.2 DOM and SAX: 27-30
2.4 XML and HTML links: 30-31
2.5 XML the four application: 31 - 33
3 MIDP Network Programming 33-37
3.1 Overview: 33-34
3.2 using the HTTP network connection: 34-35 < br /> 3.3 using the SOCKET network connection: 35-37
J2ME and XML 37-44
4.1 of XML superiority: 37-38 < br /> 4.2 JAVA technology: 38-39
4.3 JAVA conjunction with XML-perfect: 39-40
4.4 JAVA and XML combined application: 40 - 41
4.5 J2ME XML-: 41-44
4.5.1, an XML parsing: 41-42
4.5.2 XML parser used in the KVM: 42
4.5.3 use KXML: 42-44
5 mobile WEB service implementation 44-64
5.1 Background: 44
5.2 Service Description: 44-45
5.2.1 game service: 44-45
the 5.2.2 news service: 45
5.3 service requirements: 45-47
5.3.1 development environment: 45
5.3.2 interface and interface requirements: 45-46 <br / 5.3.3 backgammon games basic requirements: 46
5.3.4 backgammon game flow: 46
the 5.3.5 news service basic processes: 46-47
5.4 workflow diagram: 47-50
5.4.1 main flow chart: 47
5.4.2 game selection diagram: 47-48
5.4.3 modify / registered Profile flowchart: 48
5.4.4 game flow chart: 48-49
the 5.4.5 news service flow chart: 49-50
5.5 user interface: 50-52
5.5.1 games service: 50-52
5.5.2 News Service 52
5.6 works: 52-64
5.6.1 relationship: 52-53
the 5.6.2 function modules: 53 -64
6 mobile Web services, key technology research 64-72 track
6.1 J2ME wireless network session: 64-68
6.1.1 Background: the 64
6.1.2 network session: 64-65
6.1.3 works: 65-68
6.1.4 summarize: 68
6.2 J2ME applications in security: 68-72
6.2.1 Background: 68-69
6.2.2 \connection \ 72-73
Reference 73-75
statement 75-76
Acknowledgements 76
Related dissertations
- J2ME-based wireless network technology and applications
- The Research and Application of Web Services on Phone Service Systems
- The Development of the Mobile Office Automation System of Zhongda Huanyu Communication Company
- Research on Security in Mobile Commerce
- The Design and Implementation of the XML Database Client
- Research and Implementation Based on the the J2ME Technology of Mobile Securities System
- Design and implementation of mobile phone software and network instant communication software
- The Design and Implementation of Phone Card Games Based on J2ME
- Design and Implementation of Electronic Meal Ordering System Based on J2ME
- The Design and Implementation of Vehicle Insurance System Based on Mobile Platform
- Research and Design of Remote Intelligent Household Management System
- Research on XBRL Accounting Standards for Enterprises Universal Classification
- Research on Secure Communications Network Model Based on Security Label and Key Technologies
- Research and Implementation of Regional Health Information Platform with Unified Access Control System Based on Web Services
- Design of Integrated Radiation Transport Simulation Modeling System for Multiple Codes
- Research and Implementation of QR Code Recognition Technology Based on J2ME
- OpenCV-based Mobile Intelligent Home Video Surveillance System
- Medical Information System Based on J2ME and Web Service
- Research about Electronic Tax Management System Based on the Golden Tax and Treasury Information Processing System
- Design and implementation of J2ME mobile phone games