Architecture and Design Guide
Sun Java
Wireless Client Software 2.2
Java Platform, Micro Edition
12-2008
|
Contents |
Build the Software on the Reference Platform
Run TCKs on the Reference Port
Set Up and Configure Your Device Development Environment
Understanding the Event Module
3. Hardware and Software Requirements and Constraints
The DEFAULT_TOTAL_SPACE Property
The STORAGE_SUITE_LIMIT Property
Networking Resource Limitations
4. Managing Properties and Constants
Changing the Output Format of Constants
5. Using the Logging, Tracing, and Assertion Services
Building to Enable the Logging, Tracing, and Assertion Services
Dynamic Logging and a MIDlet’s JAD File
Using the Logging, Tracing, and Assertion APIs
6. Porting the Record Management System
Design Rationale, Notes, and Considerations
Design Rationale, Notes, and Considerations
7. File Organization and Naming
Naming Convention for Native Files
PCSL Memory Allocation Library
Porting malloc-Based Implementations
Porting the Heap-Based Implementation
Alternative Networking Implementations
Socket-over-Serial Implementation
Porting Unicode Resource Names
Encoding for Non-English Resource Names
10. Low-Level Graphics and Images Services
Primitive Graphics Routines and Porting
Design Rationale, Notes, and Considerations
Porting the Primitive Graphics Group
Porting Checklist for Primitive Graphics
Porting Image Manipulation Group
Porting Checklist for the Image Manipulation Group

Facilitating Porting of the Image Manipulation Group
String and Font Drawing and Accessing Group
Backlighting Porting Interface
Strategies for Porting Backlighting
11. Implementing the High-Level UI Using Adaptive User Interface Technology
Property Loading and Skin Customization
Compressed Images Compared With Uncompressed Images
ROMized Images Compared With File System Images
Storing Image Resources in the File System
Storing Image Resources in the ROM
RAW Format Platform Specification
12. Implementing the High-Level UI Using Platform Components
13. Porting the Event Processing Service
Setting the MAX_EVENTS Constant
14. Application Management with the Java Platform
External Interactions With AMS
Using the Pipe Communication Protocol
Downloading Dynamic Components
Configuring the AMS for Dynamic Components
Defining the Location for Dynamic Content
Strategies for Porting the AMS
Strategies for Customizing the AMS
Design Rationale, Notes, and Considerations

Adding Network Protocols for Push
Native VM Startup Code and MIDlet Suite Loader
Classes Protected by Security Tokens
Classes Used by Internal MIDlets
Design Rationale, Notes, and Considerations
Using Permissions for Internal MIDlets
Finding the Status of a Security Certificate
18. Native Resource Management for Multitasking
19. Porting the Networking Subsystem
Generic Connection Framework and Protocol Implementations
Porting the Networking Subsystem
General Porting Considerations
Porting Considerations for HTTP
HTTP1.1 Persistent Connections
Porting Considerations for HTTPS
Using the Java Wireless Client Software SSL Implementations
Porting Considerations for Server Socket
20. Porting the User Message Bundle Service
Design Rationale, Notes, and Considerations

Adding Additional Message Strings

Supplying Locale-Specific Strings
Changing the Default Screen Orientation
Customizing the Screen Display
Engineering and Device Requirements
Design Rationale, Notes, and Considerations
Handling Startup Time Variance
Optimizing a MIDlet for Improved Application Startup Time
Optimizing the System for Improved Application Startup Time
Minimizing the Static Initialization of System Classes
Controlling the JIT Compiler and Ahead-of-Time Compilation
Minimizing Static and Dynamic Footprint
Heap Capacity for the Java Platform

Minimizing the Space Used by AOT and JIT Compilation
Minimizing Full Garbage Collections at Startup
Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.