Research based on Java cross - platform
- Author
- LvKun
- Advisor
- MiaoKeJian
- School
- Northwestern Polytechnical University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2001
- Downloads
- 278
- Citations
- 11
Abstract
An important feature of the Java language is platform-independent and portable . In other words, the system constructed in the Java language can be easily ported to other Java Virtual Machine is installed on the system . TI's ADSL Modem need a Windows and Linux can run set-up and monitoring program . Take advantage of the the Java convenience of portability , you can use the Windows system rich Java development tools , developed the program and hardware device-independent part , the rest of the Dynamic Link Library . The dynamic link library using C language . Java part of the program and then ported to Linux, Finally, the relevant part of the hardware under Linux . In this way, you can quickly and easily develop cross-platform graphical interface system . The first chapter is the introduction . Describes the source of the subject , purpose and significance . The issue is the major content and arrangement of the chapters . The second chapter introduces the Java cross-platform implementation of related fields . Do a brief introduction to the Java language , the Java virtual machine , the Linux operating system , Java and C interfaces , ADSL technology . The functional requirements of the system were introduced. Chapter III describes the overall planning of the system , and analyzes the system and use techniques and tools . Then details the specific implementation process . Chapter IV describes the problems encountered in the implementation process and their solutions do . A summary of the implementation of the system were introduced , but also the direction of the next phase of development .
Table of contents
The first chapter 8-10
source of 1.1 topics, research purpose and meaning; nbsp 8-9
1.2 research and chapters arrangements , 9-10
second chapter topics related fields Introduction 10-35
2.1 ADSL MODEM 10-15
2.1.1 ADSL Features 10-11
2.1.2 system detailed introduction 11-15
2.1.2.1 Monitor function 11-14 < br /> 2.1.2.2 set function in <br 14-15 /> 2.2 Java Language Introduction 15-21
2.2.1 Java language features 15-17
2.2.1.1 is easy to learn 15-16
2.2.1.2 object-oriented 16
2. 2.1.3 Direct support network services 16
2.2.1.4 robustness 16
2.2.1.5 Structure neutral 16
a 2.2.1.6 Security 16
2.2.1.7 portability 16-17
2.2.1.8 Dynamic Properties
2.2.2 Java program the two execution mode 17
2.2.3 Java compiler and interpretation; nbsp 17-21
2.2.3.1 traditional compilation and execution mode 17-18
2.2.3.2 explain 18-19
2.2. 3.3 JIT compiler 19-20
2.2.3.4 continuous compilation model 20-21
2.3 JAVA and C interface 21-30
2.3.1 Java and C connection 21-23
2.3.2 Java and C connection steps 23-26 <br / > 2.3.2.1 written and compiled Java program 23-24
2.3.2.2 generate ShowMessage. h 24-25
2.3.2.3 generated ShowMessage. c 25
2.3.2.4 to write native code 25
2.3.2.5 compile and execute 25-26 < br /> 2.3.3 Java and C pass parameters and return values ?? the automatic parameter 26-29
2.3.3.1 26-27
2. 3.3.2 simple data types of parameters and return values ?? 27-28
2.3.3.3 complex data types of parameters and return value 28-29
2.3.4 Java and C Interface Figure 29-30
2.4 Linux operating system 30-35
2.4.1 Linux operating system generated of nbsp 30
2.4.2 Linux operating system, the structure of; 30-31
2.4.2.1 supports hardware platform 30-31
2.4.2.2 RPM upgrade 31
2.4.2.3 package 31
2.4.2.4 convenient System Management Interface 31
2.4.3 Linux operating system features 31-34
2.4.3.1 true multi-tasking, multi-user 31-32
2.4.3.2 support virtual storage 32
2.4.3.3 dynamic link shared libraries 32
2.4 .3.4 different inter-process memory protection 32
2.4.3.5 \.3.6 the disk buffer scheduling functions 33
2.4.3.7 Full source code provided 33
2.4.3.8 Linux network functions 33-34
2.4.3.9 and UNIX is fully compatible 34 the
2.4.3.10 software routers and protective walls; nbsp 34
2.4.4 Linux operating system development 34-35
third configuration monitoring software design and realization 35-58
3.1 software development tools selection and software development step 35-37
3.1.1 several popular Java development tools 35-36
the JBuilder 3.1.2 for Windows introduced 36-37
3.1.2.1 structure of The easy to create 36
3.1.2.2 structure maintainability 36-37
3.1.2.3 programming visualization the 3.1.2.4 default palette of 37
37
3.2 needs analysis and overall design 37-38
3.3 specific implementation process 38-58
3.3.1 windows on the development of the monitoring program; nbsp 38-45
3 .3.2 Windows Config program development 45-49
3.3.3 Windows Native Method under development; nbsp 49-52
3.3.4 Java program ported to Linux platform Native Method 52-54
3.3.5 Linux platform development 54-58
Chapter Summary and Outlook 58 - 66
4.1 technical problems and solution methods 58-62
4.1.1 Linux file search path 58-59
4.1 .2 Javah generated header file error 59-60
4.1.3 Java program dynamic display image 60-62
4.2 This project examines the with the development of a summary nbsp 62-63
4.3 how to proceed Outlook; 63-66