The Multitasking Guide highlights multitasking programming issues in the Sun Java
Wireless Client software. It describes how to make code safe for the multitasking environment of the Java Wireless Client software. There is a special section about resource management. The Multitasking Guide also describes some multitasking policies implemented in the Java Wireless Client software and discusses possible alternatives.
|
Note - Sun Microsystems has simplified the naming schemes for the various Java platforms. Java Platform, Enterprise Edition (Java EE) was formerly Java 2 Platform, Enterprise Edition (J2EE ). Java Platform, Standard Edition (Java SE) was formerly Java 2 Platform, Standard Edition (J2SE ), and Java Platform, Micro Edition (Java ME) was formerly Java 2 Platform, Micro Edition (J2ME ).
References in this guide to specific documents, specifications, and products that were released when the old naming scheme was in use retain their original names. General references in this guide to Java platforms use the new, simplified naming scheme.
|
Before You Read This Guide
Readers using this guide must be familiar with the MIDP 2.1 Specification. The specification is available from http://www.jcp.org/. It is also useful if the reader is familiar with the Java Wireless Client software code.
|
Note - Note - Sun is not responsible for the availability of web sites mentioned in this document. Sun does not endorse and is not responsible or liable for any content, advertising, products, or other materials available through such sites.
|
How This Guide Is Organized
This book contains the following chapters:
Chapter 1 provides an overview of the implementation and pitfalls of the Java Wireless Client software's multitasking environment.
Chapter 2 describes how source code can be made safe for multitasking.
Chapter 3 covers strategies and implementations for managing device resources.
Chapter 4 includes a brief overview of the multitasking policies and alternatives in the Java Wireless Client software.
Related Documentation
The following documentation is included with this release of the Java Wireless Client software:
|
Application
|
Title
|
|
All
|
Release Notes
|
|
Building the Sun Java Wireless Client software
|
Build Guide
|
|
Porting the Sun Java Wireless Client software
|
Porting Guide
|
|
Porting implementations of optional Java Specification Requests (JSRs)
|
Optional Packages Porting Guide
|
|
Creating a new Adaptive User Interface (skin) for the Java Wireless Client software
|
Skin Author's Guide to Adaptive User Interface Technology
|
|
Configuration and Testing Tools
|
Tools Guide
|
|
Multitasking Test Tools
|
Multitasking Quality Test Suite Guide
|
|
Viewing reference documentation created by the Javadoc tool
|
Java API Reference
|
|
Viewing reference documentation created by the Doxygen tool
|
Native API Reference
|
Typographic Conventions Used in This Guide
|
Typeface
|
Meaning
|
Examples
|
|
Courier
AaBbCc123
|
The names of commands, files, and directories; on-screen computer output
|
Edit your .login file.
Use ls -a to list all files.
% You have mail.
|
|
Bold
AaBbCc123
|
What you type, when contrasted with on-screen computer output
Important parts of a code sample
|
% su
Password:
|
|
Italic
AaBbCc123
|
Book titles, new words or terms, words to be emphasized
Command-line variable; replace with a real name or value
|
Read Chapter 6 in the User's Guide.
These are called class options.
You must be super user to do this.
To delete a file, type rm filename.
|
Accessing Sun Documentation Online
The Java Developer Connection
program web site enables you to access Java platform technical documentation at http://java.sun.com/.
Sun Welcomes Your Comments
We are interested in improving our documentation and welcome your comments and suggestions. Provide feedback to Sun at
http://developers.sun.com/contact/feedback.jsp?&category=j2me.
| Multitasking Guide
|
05-2007
|
  
|
Copyright © 2007, Sun Microsystems, Inc. All rights reserved. SUN PROPRIETARY/CONFIDENTIAL.