Java™ 2 Micro Edition Application Development

Book description

The key to Java 2 Micro Edition (J2ME) Application Development is the clear, concise explanations of the J2ME technology in relation to the existing Java platform. This book assumes proficiency with Java and presents strategies for understanding and deploying J2ME applications. The book presents numerous real-world examples, including health care and financial sector examples from the authors' professional experience.

Table of contents

  1. Copyright
  2. About the Authors
  3. Acknowledgments
  4. Tell Us What You Think!
  5. Introduction
  6. Java 2 Micro Edition Overview
    1. Historical Evolution
    2. Micro Edition–Related Java Specification Requests
    3. J2ME Configurations and Profiles
    4. Sun J2ME Software Development Kits
    5. Tools and Third-Party Products for J2ME Application Development
    6. Developing a Simple Application
    7. Summary
  7. The Connected Limited Device Configuration
    1. General CLDC Limitations
    2. CLDC Application Design
    3. CLDC APIs
    4. CLDC Profiles
    5. Java Application Deployment
    6. JAM on MIDP
    7. JAM for PDAP
    8. Summary
  8. MIDP Programming
    1. MIDlets
    2. High-Level API
    3. Low-Level API
    4. MIDP 2.0 Additions
    5. Summary
  9. PDAP Programming
    1. PDAP Application Life Cycle
    2. PDA User Interface
    3. Summary
  10. Data Persistency
    1. RMS Basics
    2. Basic Functionality of the Class RecordStore
    3. A Simple Diary Application Using RMS
    4. Record Listeners
    5. Storing Custom Objects
    6. Ordered Traversal: Comparators and Record Enumerations
    7. The Search Problem
    8. Summary
  11. Networking: The Generic Connection Framework
    1. Creating a Connection—The Connector Class
    2. Connection Types
    3. GCF Examples
    4. MIDP 2.0 Additions to the javax.microedition.io Package
    5. Summary
  12. PIM: Accessing the Personal Information Manager
    1. General PIM API Design
    2. Addressbook API
    3. Calendar API
    4. ToDo API
    5. Contact Sample Application
    6. Summary
  13. Size Does Matter: Optimizing J2ME Applications
    1. Reducing Class File Sizes
    2. Freeing Unused Variables and Resources
    3. Loop Condition Checking
    4. Avoiding Recursion
    5. Using Arrays Instead of Vectors
    6. Using Record Stores Instead of Heap Memory
    7. Distributing Functionality over Several Small MIDlets
    8. Fragmentation Problems
    9. User Interface Issues
    10. Summary
  14. Advanced Application: Blood Sugar Log
    1. Requirement Analysis
    2. Day Log
    3. Persistent Storage: The LogStorage Class
    4. The User Interface
    5. Summary
  15. Third-Party Libraries
    1. XML
    2. Simple Object Access Protocol: SOAP
    3. MathFP
    4. The Bouncy Castle Crypto API
    5. User Interface Extensions
    6. Summary
  16. Class Library: CLDC Packages
    1. The java.io Package
    2. The java.lang Package
    3. The java.lang.ref Package
    4. The java.util Package
    5. The javax.microedition.io Package
    6. MIDP-Specific Packages
    7. PDAP-Specific Packages
  17. Comparison Charts
    1. java.awt
    2. java.awt.event
    3. java.awt.image
    4. java.io
    5. java.lang
    6. java.lang.ref
    7. java.lang.reflect
    8. java.net
    9. java.util
    10. java.util.jar
    11. java.util.zip
    12. Packages not Available in CLDC
  18. Index

Product information

  • Title: Java™ 2 Micro Edition Application Development
  • Author(s): Michael Kroll, Stefan Haustein
  • Release date: June 2002
  • Publisher(s): Sams
  • ISBN: 9780672320958