Proceed to WirelessDevNet Home Page
Publications, e-books, and more! Community Tutorials Store Downloads, tools, & Freebies! IT Career Center News Home
newnav.gif

Newsletters
EMail Address:



   Content
  - Articles
  - Columns
  - Training
  - Library
  - Glossary
 
   Career Center
  - Career Center Home
  - View Jobs
  - Post A Job
  - Resumes/CVs
  - Resource Center
 
   Marketplace
  - Marketplace Home
  - Software Products
  - Wireless Market Data
  - Technical Books
 
   News
  - Daily News
  - Submit News
  - Events Calendar
  - Unsubscribe
  - Delivery Options
 
   Community
  - Discussion Boards
  - Mailing List
  - Mailing List Archives
 
   About Us
  - About WirelessDevNet
  - Wireless Source Disks
  - Partners
  - About MindSites Group
  - Advertising Information
 
INDEX
* Introduction
* Building Clients For Multiple Platforms
* Implementation and Lessons Learned

Serious Java Programming For The Wireless World

by Shiuh-Lin Lee

View Discussions On This Article

In this article, I assume that readers are already familiar with the Java KVM (K Virtual Machine), and I won’t spend time discussing the benefits of KVM applications in the wireless world. If readers are interested on those missing topics, there are several good articles that can be found in the reference section. In this article, I will mainly address the experience gained from a port of my full-featured GIS (Geographic Information System) program from the Java SE (Standard Edition) to the Java ME (Micro Edition) KVM environment.

In 1997, I implemented an Internet Java GIS applet program, JShape, which allows users to load GIS, CAD or image data from the web server and display them on the user’s web browser screen. After Sun introduced KVM, in the latter portion of 1999, I ported JShape to the Java Micro Edition CLDC (Connected Limited Device Configuration) Palm KVM environment as KShape. Also, in the early months of 2000, I implemented a new MShape GIS program, which can run on a Java Micro Edition MIDP (Mobile Information Device Profile) Motorola iDEN phone environment. Due to the different computing environment, the resulted programs have several different features. The following table explains the major differences between Java SE and Java ME (CLDC and MIDP).

Details Java SE Java ME - CLDC (Palm) Java ME - MIDP
Hardware Type PC, Workstation Handheld device, PDA Cellular Phone, Pager
CPU Speed 100+ MHz 16-20 MHz (slow) Very Slow
Program Memory Size 16+ MB 128-256 KB Less Than 128 KB
Storage Size 1+ GB 2-8 MB Less than 256 KB
Display Size 640x480 pixels + 160x160 pixels 100x100 pixels
Internet Connection Speed 56.6 KBps + 19.2-33.6 KBps for regular modems; 14.4 KBps for some wireless modems 9600 KBps
Java Class Library Full Subset Subset
GUI Class Library AWT, Swing N/A N/A
Internet Connection Class Library HTTP, Socket, Datagram Socket Datagram
Math Class Library Yes N/A N/A
Float/Double Data Types Supported N/A N/A
Implemented GIS Program JShape KShape MShape

Next: Building Clients For Multiple Platforms

Sponsors

Search

Eliminate irrelevant hits with our industry-specific search engine!









Wireless Developer Network - A MindSites Group Trade Community
Copyright© 2000-2010 MindSites Group / Privacy Policy
Send Comments to:
feedback@wirelessdevnet.com