Showing posts with label java ME. Show all posts
Showing posts with label java ME. Show all posts

Wednesday, July 7, 2010

The Java ME Universe Today


The current universe of configurations, profiles and optional packages is shown in the diagram below. The tables immediately following provide more details about the abbreviations in the figure.

Java ME Overview



Configurations

JSR 30 CLDC 1.0 Connected, Limited Device Configuration (http://jcp.org/en/jsr/detail?id=30)
JSR 139 CLDC 1.1 Connected, Limited Device Configuration 1.1
JSR 36 CDC Connected Device Configuration
JSR 218 CDC 1.1 Connected Device Configuration 1.1

Profiles

JSR 37 MIDP 1.0 Mobile Information Device Profile
JSR 118 MIDP 2.0 Mobile Information Device Profile 2.0
JSR 75 PDAP PDA Profile
JSR 46 FP Foundation Profile
JSR 219 FP 1.1 Foundation Profile 1.1
JSR 129 PBP Personal Basis Profile
JSR 217 PBP 1.1 Personal Basis Profile 1.1
JSR 62 PP Personal Profile
JSR 215 PP 1.1 Personal Profile 1.1
JSR 195 IMP Information Module Profile
JSR 228 IMP-NG Information Module Profile - Next Generation

Optional Packages

JSR 75 PIM PDA Optional Packages for the Java ME Platform
JSR 82 BTAPI Java APIs for Bluetooth
JSR 120 WMA Wireless Messaging API
JSR 205 WMA 2.0 Wireless Messaging API 2.0
JSR 135 MMAPI Mobile Media API
JSR 164 JAIN SIMPLE Presence
JSR 165 JAIN SIMPLE Instant Messaging
JSR 172 Java ME Web Services
JSR 177 SATSA Security and Trust Services API for Java ME
JSR 179 Location API for Java ME
JSR 180 SIP SIP API for Java ME
JSR 184 3D Mobile 3D Graphics API for Java ME
JSR 186 JAIN Presence
JSR 187 JAIN Instant Messaging
JSR 190 Event Tracking API for Java ME
JSR 209 Advanced Graphics and User Interface Optional Package for Java ME Platform
JSR 211 CHAPI Content Handling API
JSR 213 Micro WSCI Framework for Java ME
JSR 214 Micro BPSS for Java ME Devices
JSR 226 Scalable 2D Vector Graphics API
JSR 229 Payment API
JSR 230 Data Sync API
JSR 232 Mobile Operational Management
JSR 234 Advanced Multimedia Supplements
JSR 238 Mobile Internationalization API
JSR 239 Java Bindings for OpenGL ES
JSR 246 Device Management API
JSR 253 Mobile Telephony API (MTA)



As the diagram shows, Java ME has two main branches.The first is based on the Connected, Limited Device Configuration (CLDC). This configuration is for small wireless devices with intermittent network connections, like pagers, mobile phones, and Personal Digital Assistants (PDAs). The Mobile Information Device Profile (MIDP), which is based on CLDC, was the first finished profile and thus the first finished Java ME application environment. MIDP-compliant devices are widely available. http://developers.sun.com/mobility/device/

The other major branch of the Java ME tree is based on the Connected Device Configuration (CDC). This configuration is for larger devices (in terms of memory and processing power) with robust network connections. Set-top boxes and internet appliances are good examples of CDC devices, although high-end PDAs like the Sharp Zaurus also fit this configuration well. The Foundation Profile extends CDC and serves as the basis for several other profiles. It provides fundamental APIs gleaned from Java SE, including classes and interfaces from java.lang, java.io, java.security, java.util, and more. For a list of Java ME terms and definitions, see our glossary http://developers.sun.com/mobility/glossary/

Optional packages bubble like a froth above the CLDC and CDC branches of Java ME. These provide all sorts of capabilities ranging from Bluetooth communication through web services and instant messaging. Look in the table for links to the specifications themselves.

For a thorough look at Java ME, see:

A Survey of Java ME Today http://developers.sun.com/mobility/getstart/articles/survey/

The world of wireless Java technology also includes Java Card, for smart cards. For more information on Java Card, see:

An Introduction to Java Card Technology - Part 1 http://developers.sun.com/mobility/javacard/articles/javacard1/

Overview of Java ME

Unlike Java SE, Java ME is not a piece of software, nor is it a single specification. This difference can be confusing, even for developers who are already familiar with Java SE. Instead, Java ME is a platform, a collection of technologies and specifications that are designed for different parts of the small device market. Because Java ME spans such a variety of devices, it wouldn't make sense to try to create a one-size-fits-all solution.

Java ME, therefore, is divided into configurations, profiles,and optional packages. Configurations are specifications that detail a virtual machine and a base set of APIs that can be used with a certain class of device. A configuration, for example, might be designed for devices that have less than 512 KB of memory and an intermittent network connection. The virtual machine is either a full Java Virtual Machine1 (as described in the specification) or some subset of the full JVM1. The set of APIs is customarily a subset of the Java SE APIs.

A profile builds on a configuration but adds more specific APIs to make a complete environment for building applications. While a configuration describes a JVM1 and a basic set of APIs, it does not by itself specify enough detail to enable you to build complete applications. Profiles usually include APIs for application life cycle, user interface, and persistent storage.

An optional package provides functionality that may not be associated with a specific configuration or profile. One example of an optional package is the Bluetooth API (JSR 82), which provides a standardized API for using Bluetooth networking. This optional package could be implemented alongside virtually any combination of configurations and profiles.