Programming Wireless Devices with the Java 2 Platform, Micro Edition / Edition 2

Programming Wireless Devices with the Java 2 Platform, Micro Edition / Edition 2

4.0 1
by Roger Riggs, Antero Taivalsaari, Jim Van Peursem, Jyri Huopaniemi, Mark Patel
     
 

ISBN-10: 0321197984

ISBN-13: 9780321197986

Pub. Date: 06/04/2003

Publisher: Addison-Wesley

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,

Overview

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.

0321197984B05222003

Product Details

ISBN-13:
9780321197986
Publisher:
Addison-Wesley
Publication date:
06/04/2003
Series:
Java Series
Edition description:
Second
Pages:
434
Product dimensions:
7.30(w) x 9.00(h) x 1.10(d)

Table of Contents

Figures.
Preface.
1. Introduction.
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.
High-Level Goals.
Target Devices.
General Notes on Consumer Devices and Embedded Systems.
Requirements.
Scope of the CLDC and MIDP Standardization Efforts.

4. High-Level Architecture and Security.
High-Level Architecture.
Security.

5. Connected Limited Device Configuration.
Introduction.
CLDC Application Model.
Java Language Specification Compatibility.
Java Virtual Machine Specification Compatibility.

6. CLDC Libraries.
Background and Goals.
Classes Derived from J2SE60.
CLDC-Specific Classes.

7. Mobile Information Device Profile.
MIDP Expert Group.
Areas Covered by the MIDP Specification.

8. MIDP Application Model.
Limitations of the CLDC Application Model.
MIDlets.
MIDlet Suites.@AHEADS = MIDP System Software.

9.IDP User Interface Libraries.
Structure of the MIDP User Interface API.
Abstract Commands.
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.
Using Screens.
Using Items.
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.
Timer Support.
System Properties.
Application Resource Files.
Exiting a MIDlet.

13. Sample Applications.
The PhotoAlbum Application.
The AddressBook Application.
The Sokoban Game Application.
Development Environments for J2ME.

14. Summary.
Appendix A. CLDC Application Programming Interface.
ALMANAC LEGEND.
java.lang.
java.io.
java.util.
javax.microedition.io.

Appendix B. MIDP Application Programming Interface.
java.lang.
java.util.
javax.microedition.io.
javax.microedition.lcdui.
javax.microedition.midlet.
javax.microedition.rms.

Index.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >

Programming Wireless Devices with the Java 2 Platform, Micro Edition 4 out of 5 based on 0 ratings. 1 reviews.
Guest More than 1 year ago
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.