Porting Guide
Sun Java
Wireless Client Software 2.0
Java Platform, Micro Edition
05-2007
|
Contents |
2. Hardware and Software Requirements and Constraints
Networking Resource Limitations
3. File Organization and Naming
Naming Convention for Native Files
JavaCall API Directory Structure
Native VM Startup Code and MIDlet Suite Loader
Classes Protected by Security Tokens
Classes Used by Internal MIDlets
5. Managing Properties and Constants
Changing the Output Format of Constants
Build the Software on the Reference Platform
Run TCKs on the Reference Port
Set Up and Configure Your Device Development Environment
Port CLDC HotSpot Implementation
Implement Native PCSL Functionality and Expand Testing
Normal and Slave Mode Event Handling
Run the Java Device Test Suite Software
Enable the Multitasking Feature
Understanding the Event Module
PCSL Memory Allocation Library
Porting malloc-Based Implementations
Porting the Heap-Based Implementation
Alternative Networking Implementations
Socket-over-Serial Implementation
9. 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
10. Porting the Event Processing Service
Setting the MAX_EVENTS Constant
11. Native Resource Management for Multitasking
13. 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
Engineering and Device Requirements
Design Rationale, Notes, and Considerations
15. 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
16. Implementing the High-Level UI Using Platform Components
17. Porting the Record Management System
Design Rationale, Notes, and Considerations
Design Rationale, Notes, and Considerations
Design Rationale, Notes, and Considerations
Using Permissions for Internal MIDlets
19. Application Management with the Java Platform
External Interactions With AMS
Strategies for Porting the AMS
Strategies for Customizing the AMS
Design Rationale, Notes, and Considerations

Adding Network Protocols for Push
21. Porting the User Message Bundle Service
Design Rationale, Notes, and Considerations

Adding Additional Message Strings

Supplying Locale-Specific Strings
22. Using the Logging and Tracing Service
Using the Logging and Tracing APIs
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 © 2007, Sun Microsystems, Inc. All rights reserved. SUN PROPRIETARY/CONFIDENTIAL.