Wednesday, June 1, 2011

Pretty much everything in a nutshell

1:48am: J2ME - is the java platform for small devices.
J2ME spans such a diverse selection of hardware divided into Configurations, Profiles and Optional APIs.

A Configuration specifies a subset of J2SE functionality and the behavior of the JVM


While Profiles are generally more specific to a family of devices that have similar characteristics


Optional APIs offer added functionality in a flexible package.

MIDP Vendors

Wireless Devices

A new permission architecture allows users to deny untrusted code access to certain API features. For example, if you install suspicious-looking MIDLet suite on your phone it will be only be able to make network connections if you explicitly if you explicitly allow it to do so.

MIDP 2.0

1:20am: In MIDP 2.0 MIDLet suites can be cryptographically signed and then verified on the device which gives users some security about executing downloaded code.

Killer Feature.

But the above said feature is the killer feature of the MIDP. It allows manufacturers and carriers to open up application development to the world, more or less free from certification and verification programs, without the fear that the rogue coders will write applications that crash phones.

Secondly, the CLDC does not allow for the application-defined classloaders. This means that most dynamic application delivery is dependent on device-specific mechanisms.
A MIDP application never be able to write to the device memory that doesn't belong to the JVM. A MIDP application will never mess up with another application on the same device or the device OS itself.

Advantages of MIDP - Security

1:01am: Java is well known for its ability to safely run downloaded code like applets. Its easy to imagine nifty applications dynamically downloading to your mobile phone. But its not a rosy picture. For one thing the JVM used in the CLDC only implements a partial bytecode verifier, which means that part of the bytecode verification must be performed off the MIDP device.

Advantages of MIDP - Portability

12:51am: Any application written using the MIDP APIs will be directly portable to any MIDP devices.