Programming Wireless Devices with the Java 2 Platform, Micro Edition / Edition 2by Roger Riggs, Antero Taivalsaari, Jim Van Peursem, Jyri Huopaniemi, Mark Patel
Pub. Date: 06/04/2003
This book presents the Java™ 2 Platform, Micro Edition (J2ME™) standards that support the development of applications for consumer devices such as mobile phones, two-way pagers, and wireless personal organizers. To create these standards, Sun collaborated with such consumer device companies as Motorola, Nokia, NTT DoCoMo, Research In Motion, Samsung,
This book presents the Java™ 2 Platform, Micro Edition (J2ME™) standards that support the development of applications for consumer devices such as mobile phones, two-way pagers, and wireless personal organizers. To create these standards, Sun collaborated with such consumer device companies as Motorola, Nokia, NTT DoCoMo, Research In Motion, Samsung, Siemens, Sony Ericsson, and many others. The result is a highly portable, small-footprint application development environment that brings the unique capabilities of Java technology, including platform independence and enhanced security, to the rapidly growing wireless market.
This definitive Java™ Series guide provides a programmer's introduction to the Java 2 Platform, Micro Edition. It presents a general description of wireless technology and an overview of the J2ME platform. In addition, the book details the Connected Limited Device Configuration (CLDC) version 1.1 and the Mobile Information Device Profile (MIDP) version 2.0, the standards that define the Java platform features and libraries for wireless, resource-constrained devices.
Written by a team of authors that includes the original J2ME technology experts from Sun, Motorola, and Nokia, this book provides a description of the Java 2 Platform, Micro Edition, as well as practical implementation advice.
The Java™ Series is supported, endorsed, and authored by the creators of the Java technology at Sun Microsystems, Inc. It is the official place to go for complete, expert, and definitive information on Java technology. The books in this Series provide the inside information you need to build effective, robust, and portable applications and applets. The Series is an indispensable resource for anyone targeting the Java™ 2 platform.
Table of Contents
The Wireless Internet Revolution.
Why Java Technology for Wireless Devices?
A Bit of History.
J2ME Standardization Efforts.
2. Overview of Java 2 Platform, Micro Edition (J2ME).
Java 2 Platform.
Java 2 Platform, Micro Edition (J2ME).
Key Concepts of the J2ME Architecture.
Introduction to the K Virtual Machine (KVM).
3. Goals, Requirements and Scope.
General Notes on Consumer Devices and Embedded Systems.
Scope of the CLDC and MIDP Standardization Efforts.
4. High-Level Architecture and Security.
5. Connected Limited Device Configuration.
CLDC Application Model.
Java Language Specification Compatibility.
Java Virtual Machine Specification Compatibility.
6. CLDC Libraries.
Background and Goals.
Classes Derived from J2SE60.
7. Mobile Information Device Profile.
MIDP Expert Group.
Areas Covered by the MIDP Specification.
8. MIDP Application Model.
Limitations of the CLDC Application Model.
MIDlet Suites.@AHEADS = MIDP System Software.
9.IDP User Interface Libraries.
Structure of the MIDP User Interface API.
Interactions with MIDlet Application Lifecycle.
Graphics and Canvas in the Low-Level API.
Low-level API for Events in Canvases.
Graphics Drawing Primitives.
Creating and Using Images.
A Note on Concurrency.
10. MIDP Networking Libraries.
Characteristics of Wireless Data Networks.
Network Interface Considerations.
The HttpConnection Interface.
Sample Code (NetClientMIDlet.java).
11. MIDP Persistence Libraries.
The Record Management System.
Manipulating Record Stores and Records.
Sample Code (RMSMIDlet.java).
12. Additional MIDP APIs.
Application Resource Files.
Exiting a MIDlet.
13. Sample Applications.
The PhotoAlbum Application.
The AddressBook Application.
The Sokoban Game Application.
Development Environments for J2ME.
Appendix A. CLDC Application Programming Interface.
Appendix B. MIDP Application Programming Interface.
Most Helpful Customer Reviews
See all customer reviews
The market for small devices (cellphones, PDAs, watches,...) with computational ability, but much less so than a standard PC or laptop is potentially vast. No one disputes this. Its allure is enhanced by there being no overly dominant player hoovering up over 50% of the profits, like Microsoft and Intel collectively in PCs. Logically, Sun sees growth here and this book is part of its frenetic rollout. It differs from the first edition because of significant upgrades to the 2 standards its describes. The Connected Limited Device Configuration (CLDC) went from version 1 in 1999 to 1.1 in 2002. It added more features that the book describes in detail. Basically, they give a richer compatibility with standard java (J2SE). The other standard, Mobile Information Device Profile (MIDP) went from version 1 to 2 in 2002. To developers the key additions were APIs for sound and games. In retrospect, MIDP 1 was indeed primitive, to lack these. Commercially, the MIDP 2 changes in the book may be more important than the CLDC changes. It means that you can now develop games and other applications using sound, at a high enough level of abstraction that they can be run on a broader range of hardware. Well at least that is the idea. I have not done so. But the book's explanation seems logical and thorough enough to make this plausible. Undoubtedly, if you and others follow this path, gaps or insufficiencies will be found, leading to the next increments of the standards. If you are still clutching the first edition of this book, or any other book that only covers CLDC 1 or MIDP 1, then drop it. Obsolete. Upgrade here.