毕业设计英文翻译——基于全球卫星定位系统GPS的软件开发.doc
《毕业设计英文翻译——基于全球卫星定位系统GPS的软件开发.doc》由会员分享,可在线阅读,更多相关《毕业设计英文翻译——基于全球卫星定位系统GPS的软件开发.doc(18页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、本科生毕业设计(论文)英文翻译毕业设计题目:基于全球卫星定位系统GPS的软件开发学 院: 专业班级: 学生姓名: 指导教师: 2008年 4月 7日Deploying Wireless Java Applicationsby Qusay H. MahmoudOctober 2002 Developers usually build, test, and evaluate an application on a platform similar to the one on which it will be deployed and run. Development of wireless Jav
2、a applications is more challenging because they typically are developed on one platform (such as Solaris or MS Windows) but deployed on a totally different one (such as a cell phone or PDA). One consequence is that, while emulators enable developers to do some of their testing on the development pla
3、tform, ultimately they must test and evaluate the application in the very different environment of a live wireless network. The aim of this article is to show you the different ways you can download local and network applications to J2ME-enabled devices, for both testing and final deployment. After
4、a brief review of wireless Java applications and their development life-cycle, the article shows you how to: Deploy wireless applications remotely Download local and remotely deployed applications Download applications over the air Wireless Java ApplicationsWireless Java applications fall into two b
5、road categories: Local applications (also called stand-alone applications) perform all their operations on a handheld wireless device and need no access to external data sources through a wireless network. Examples include calculators and single-player games. Network applications consist of some com
6、ponents running on a wireless device and others running on a network, and thus depend on access to external resources. An example would be an email application, with a client residing on a wireless phone that interacts with a Simple Mail Transfer Protocol (SMTP) server to send messages. Although the
7、se two types of applications are different, they are deployed in the same way. The big difference shows up later: Local applications are easier to test than network applications. For example, a calculator application can run on a wireless phone even when it is not connected to any network, but an em
8、ail client wont work without a connection to the SMTP server that actually transmits the messages. Wireless Java Applications Development LifecycleThe development life-cycle of MIDlets and other wireless Java applications comprises three steps: Write the application. Use your favorite wireless appli
9、cation development environment and tools to develop the application. My favorite is the J2ME Wireless Toolkit. It has a simple and intuitive user interface that makes it easy to start developing wireless applications. More importantly, it includes several emulators for testing your applications. (So
10、me of what follows will assume you use this toolkit too. If you use another development environment, youll have to adapt what you read here to that environment.) Test the application in an emulation environment. Once the application compiles nicely, the best place to begin testing it is an emulator.
11、 The J2ME Wireless Toolkit comes with several, including Motorola i85s, PalmOS device, and RIM Blackberry. It is important to note, however, that these emulators do not simulate perfectly all of the features of the corresponding devices. They are merely skins with the appropriate dimensions, so the
12、following step is crucial.Download the application to a physical device and test it. Once you are happy with the applications performance on one or more emulators, download it to a real device and test it there. If its a network application, test it on a live wireless network to ensure that its perf
13、ormance is acceptable. This articles focus is on that last step: deploying and testing the application on a physical device. Deploying and Running Remote ApplicationsThe J2ME Wireless Toolkit enables you to run your local wireless application from within the development environment; the JAD and JAR
14、files are available on your own system (if youre using the J2ME Wireless Toolkit, in /apps/YourProject/bin). If you wish to market your wireless applications, however, you need to deploy them where users from all over the world can access them. Remote DeploymentTo deploy your wireless applications r
15、emotely: Upload your application files (JAD and JAR) to a remote web server. If your project is named games, for instance, upload the files: and from the bin directory of your project home (for example, /apps/games/bin). Note that the two files must end up in the same directory on the server.Reconfi
16、gure the web server so that it recognizes JAD and JAR files: For the JAD file type, set the file extension to .jad and the MIME type to . For the JAR file type, set the file extension to .jar and the MIME type to application/java-archive. How you configure the web server depends on which one youre u
17、sing. For example, if youre using Tomcat, make sure your file includes the following lines: jad text/vnd.sun.j2me.app-descriptor jar application/java-archiveChange your JAD files MIDlet-Jar-URL property to specify the URL of your JAR file. For example, in the copy of you uploaded to the server, chan
18、ge. .to. Running Remotely Deployed ApplicationsTo see whether your application deployed correctly, open an ordinary web browser and enter the JAD files URL. The J2ME Wireless Toolkits default emulator should appear and the remotely deployed application should run in it.J2ME-enabled devices (the Moto
19、rola/Nextel i85s, for example) include a Java Application Manager (JAM) responsible for downloading, installing, and configuring applications. The J2ME Wireless Toolkit includes a sample JAM you can run in the default emulator. To see how the user will download and manage your application, open a co
20、mmand prompt, change the current directory to /bin, and enter the command: emulator -Xjam The emulator appears and you see the JAMs main screen. In version of the toolkit, the main screen looks like this: Figure 1: The J2ME Wireless Toolkit Java Application Managers Main Screen Select the Install so
21、ft button and you will be prompted for the applications URL, as shown in Figure 2. Enter the URL of a web page that contains a hyperlink to the applications JAD file.Figure 2: Entering the URL for the Applications JAD File Entering a long URL into a wireless phone is inconvenient. A faster and easie
22、r way to get started is to use a command in this form: Without further entry, the JAM downloads the JAR file specified in the JAD file and installs the application. The next time you start the emulator, simply select the JAMs Menu button, then use the menu to run the application, remove it, or perfo
23、rm the other functions shown in Figure 3: Figure 3: The JAMs Main Menu It is important to note that this syntax allows you to install only one MIDlet at a time. Entering a URL allows you to view a web page that may contain several MIDlets you can choose from. As an example, consider the following HT
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 毕业设计 英文翻译 基于 全球卫星 定位 系统 GPS 软件 开发
限制150内