To the experienced Java developer, J2ME (the Java 2 Micro Edition) looks just familiar enough to be tempting, but just different enough to warrant caution. J2ME in a Nutshellprovides the extra security you need when venturing into programming for cell phones, PDAs and other consumer electronic devices. It gives you the reference material you need for J2ME, together with a tutorial that leverages your existing knowledge and teaches you what is different about J2ME without boring you to tears with details you already know.
J2ME in a Nutshell provides a solid, no-nonsense reference to the "alphabet soup" of micro edition programming, covering the CLDC, CDC, KVM and MIDP APIs. The book also includes tutorials for the CLDC, KVM, MIDP and MIDlets, MIDlet user interfaces, networking and storage, and advice on programming small handhelds. Combined with O'Reilly's classic quick reference to all the core micro-edition APIs, this is the one book that will take you from curiosity to code with no frustrating frills in between
Introduction to the Java 2 Micro Edition Platform API
Chapter 1 Introduction
What Is the J2ME Platform?
J2ME and Other Java Platforms
Chapter 2 The Connected Limited Device Configuration
The CLDC Java Virtual Machine
The CLDC Class Libraries
Advanced KVM Topics
Chapter 3 The Mobile Information Device Profile and MIDlets
The MIDP Java Platform
MIDlets and MIDlet Suites
MIDlet Execution Environment and Lifecycle
Delivery and Installation of MIDlets
Chapter 4 MIDlet User Interfaces
User Interface Overview
The High-Level User Interface API
Chapter 5 The Low-Level MIDlet User Interface API
The Canvas Class
Painting and the Graphics Class
Drawing Lines and Arcs
Translating the Graphics Origin
A Simple Animation MIDlet
The Graphics Clip
Multithreading and the User Interface
Chapter 6 Wireless Java: Networking and Persistent Storage
A Networking Architecture for Small Devices
Chapter 7 The Connected Device Configuration and Its Profiles
Chapter 8 J2ME Command-Line Tools
cvm: The Connected Device Configuration Virtual Machine
kdp: The KVM Debug Proxy
kvm: The Kilobyte Virtual Machine
midp: The MID Profile Execution Environment
emulator: The J2ME Wireless Toolkit Emulator
preverify: The KVM Class Preverifier
MakeMIDPApp: JAD to PRC Conversion Tool
chMEKeyTool: Public Key Certificate Management Tool
Kim Topley has more than 25 years experience as a software developer and was one of the first people in the world to obtain the Sun Certified Java Developer qualification. He is a freelance Java developer based near London, England and is the author of Core JFC and Core Swing, from Prentice-Hall.
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of J2ME in a Nutshell is a galago. Galagos are prosimian primates, "pre-monkeys" that existed before monkeys, apes, and humans evolved. These small (10-35 cm long, not including their tail, which ranges from 20 to nearly 50 cm long), nocturnal animals live in Africa, spending much of their time in trees and eating mostly bugs, fruit, and the occasional small bird. Their big ears, featured prominently on the cover, can be bent almost completely back, either one at a time or both together, something the galagos apparently like to do quite frequently. Leanne Soylemez was the production editor and copyeditor for J2ME in a Nutshell. Mary Anne Weeks Mayo was the proofreader, and Matt Hutchinson and Jane Ellin provided quality control. John Bickelhaupt wrote the index.
Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is from Animal Creation. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Melanie Wang and David Futato designed the interior layout based on a series design by Nancy Priest. Neil Walls cleaned up the original FrameMaker files for Part I. The print version of Part II was generated from XML using a basic macro set developed by Steve Talbott from the GNU troff -gs macros and adapted to the book design by Lenny Muellner; Norm Walsh wrote the Perl filter that translates XML source into those macros. The text and heading fonts are ITC Garamond Light and Garamond Book. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Leanne Soylemez.
This book is a billion years old and still on the shelves. I bought it and then returned it the same afternoon. I read through a chapter or so and thought it was good, but why spend hours trying to work around deficiencies in the rev1 spec when I could start right up with rev2? Crazy. O'Reilly, please update this title!
Two major nits: the reference is available free from Sun and the book only covers CLDC 1.0 and MIDP 1.0 and, therefore, is way out of date. If this was up to date, it would be a great addition to the library - having the text and freebie data in one place would be convient.
Normally I prefer Oreilly press for Java books.As usual I started this and this book is a must Piece for any one to understand J2ME.So its once again proved that no body can deliver the best in Java than Oreilly.