- Shopping Bag ( 0 items )
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.
The high-level idea behind J2ME is to provide comprehensive application development platforms for creating dynamically extensible, networked devices and applications for the consumer and embedded market. J2ME enables device manufacturers, service providers and content creators to capitalize on new market opportunities by developing and deploying compelling new applications and services to their customers worldwide. Furthermore, J2ME allows device manufac-turers to open up their devices for widespread third-party application development and dynamically downloaded content, without losing the security or the control of the underlying manufacturer-specific platform.
At a high level, J2ME is targeted at two broad categories of products:
Because of strict manufacturing cost constraints, the majority of high-volume wireless devices today such as cell phones belong to the low-end consumer device category. Therefore, this book focuses only on the CLDC and MIDP standards that were specifically designed for that category of products.
In general, serving the information appliance market calls for a large measure of flexibility in how computing technology and applications are deployed. This flexibility is required because of
For low-end, resource-limited consumer products, the J2ME environment supports minimal configurations of the Java virtual machine and Java libraries that embody just the essential capabilities of each kind of device. As device manufacturers develop new features in their devices, or service providers develop new and exciting applications, these minimal configurations can be expanded with additional libraries that address the needs of a particular market segment. To support this kind of customizability and extensibility, two essential concepts are defined by the J2ME environment:
|2||Overview of Java 2 Platform, Micro Edition (J2ME)||7|
|3||Goals, Requirements, and Scope||23|
|4||Connected Limited Device Configuration||39|
|6||Mobile Information Device Profile||73|
|7||MIDP Application Model||79|
|8||MIDP User Interface Libraries||89|
|9||MIDP High-Level User Interface - Screen||111|
|10||MIDP High-Level User Interface - Form||129|
|11||MIDP Low-Level User Interface Libraries||149|
|12||MIDP Game API||173|
|13||MIDP Sound API||197|
|14||MIDP Persistence Libraries||221|
|15||MIDP Networking and Serial Communications||243|
|17||Event-Driven Application Launch||289|
|18||Security for MIDlet Suites||305|
|20||Additional MIDP APIs||339|
|App. A||CLDC Application Programming Interface||355|
|App. B||MIDP Application Programming Interface||391|
In the past five years, Sun has collaborated with major consumer device manufacturers and other companies to create a highly portable, secure, small-footprint Java™ application development environment for resource-constrained, wireless consumer devices such as cellular telephones, two-way pagers, and personal organizers. This work started with the development of a new, small-footprint Java virtual machine called the K Virtual Machine (KVM). Two Java Community Process (JCP) standardization efforts, Connected, Limited Device Configuration (CLDC) and Mobile Information Device Profile (MIDP), were then carried out to standardize the Java libraries and the associated Java language and virtual machine features across a wide variety of consumer devices.
The first round of the CLDC and MIDP standardization efforts took place during the fall of 1999 and spring of 2000. Twenty-four companies participated in the CLDC 1.0 and MIDP 1.0 standardization efforts directly, and more than five hundred companies and individuals participated indirectly by sending feedback while the standardization efforts were in progress. Major consumer device companies such as Motorola, Nokia, NTT DoCoMo, Palm Computing, Research In Motion (RIM), and Siemens played a key role in these efforts.
After their first release, the CLDC 1.0 and MIDP 1.0 standards have become very popular. The deployment of real-world, Java-enabled wireless devices began in 2000, and the deployments accelerated rapidly in 2001 and 2002, approaching exponential growth. It has been estimated that over 50 million devices supporting the CLDC and MIDP standards were shipped in 2002, and the number is likely to be at least twice as large in 2003. As a result of the widespread acceptance of these standards, major business opportunities are now emerging for Java application developers in the wireless device space.
The second round of the CLDC and MIDP standardization efforts was started in the fall of 2001. The goal of the CLDC 1.1 and MIDP 2.0 efforts was to expand on the success of the original standards, refine the existing feature set, and introduce additional APIs, while keeping a close eye on the strict memory limitations that still constrain the design of wireless devices. More than 60 companies were directly involved in the development of the CLDC 1.1 and MIDP 2.0 specifications, reflecting the broad acceptance and adoption of these standards in the wireless industry.
This book intends to make the results of the standardization work in the wireless Java technology area available to the wider software development community. At the high level, this book combines two Java Community Process Specifications, CLDC 1.1 (JSR 139) and MIDP 2.0 (JSR 118), and presents them as a single monograph in a way that the corresponding Java Community Process (JCP) Specifications cannot accomplish by themselves. We have added a general introduction to the Java 2 Platform, Micro Edition (J2ME™), provided more background material, and included a number of small applications to illustrate the use of CLDC and MIDP in the real world. We also provide some guidelines and instructions for getting started with Java 2 Platform, Micro Edition.
A reference implementation of the software discussed in this book is available from Sun Microsystems under the Sun Community Source License (SCSL).
The book is intended for software developers, content providers, and other professionals who want to develop Java™ software for resource-constrained, connected devices. The book is also targeted to consumer device manufacturers who want to build small Java Powered™ devices and would like to integrate a compact Java application development platform in their products.
This book is the definitive statement, "from the source," about the key specifications for Java Powered™ wireless devices. As such, this book intends to
The topics in this book are organized as follows:
The Java™ Language Specification, Second Edition, by James Gosling, Bill Joy, Guy Steele and Gilad Bracha. Addison-Wesley, 2000, ISBN 0-201-31008-2
The Java™ Virtual Machine Specification, Second Edition, by Tim Lindholm and Frank Yellin. Addison-Wesley, 1999, ISBN 0-201-43294-3
Programming Wireless Devices with the Java 2 Platform, Micro Edition, First Edition, by Roger Riggs, Antero Taivalsaari, and Mark VandenBrink. Addison-Wesley, 2001, ISBN 0-201-74627-1
MIDP 2.0 Style Guide by Cynthia Bloch and Annette Wagner. Addison-Wesley, 2003, ISBN 0-321-19801-8
Connected, Limited Device Configuration Specification, version 1.0http://jcp.org/en/jsr/detail?id=30
Connected, Limited Device Configuration Specification, version 1.1http://jcp.org/en/jsr/detail?id=139
Mobile Information Device Profile Specification, version 1.0http://jcp.org/en/jsr/detail?id=37
Mobile Information Device Profile Specification, version 2.0http://jcp.org/en/jsr/detail?id=118
Java 2 Micro Edition Product Web Pagehttp://java.sun.com/products/j2me/
Connected, Limited Device Configuration (CLDC) Product Web Pagehttp://java.sun.com/products/cldc/
Mobile Information Device Profile (MIDP) Product Web Pagehttp://java.sun.com/products/midp/
J2ME Wireless Toolkit Product Web Pagehttp://java.sun.com/products/j2mewtoolkit/
Posted September 29, 2003
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.Was this review helpful? Yes NoThank you for your feedback. Report this reviewThank you, this review has been flagged.