Mobile Java - An Introduction For Those Interested In Mobile Programming

Mobile Java

Mobile Java is the common term used to designate the Java Platform, Micro Edition. It was earlier known as J2ME (Java 2 Platform, Micro Edition). Mobile Java is a product of Sun Microsystems. It has since been turned into an open source product under the name phoneME, the source code of which is available to the public under the GNU General Public License.

Mobile Java is used primarily in mobile phones to enable software, which enhances the functionality of a cell phone. The reason for the development of Mobile Java was to replace Sun's aging Personal Java Platform which was based on Java 1.1.8, which had been rendered obsolete by the newer Java 2 standard. Mobile Java is nothing more than a set of Java APIs, which have been optimized to run on lower end hardware. Mobile Java runs a Java virtual machine on the host device. Although virtualization is known to be able to make even the best hardware crawl, Mobile Java is one of the rare cases in which a virtual machine runs on low-end hardware with an almost negligible loss in performance.

Mobile Java

Mobile Java is primarily used for the development of games to be run on cell phones and PDAs, although other common uses include the development of specialized multimedia applications for which it uses the capability of Java Mobile Media API. Mobile Java games are crossplatform, because they are not dependent on a particular type of native hardware for operations. Developers are provided special software based Mobile Java emulation kits using which they can test Mobile Java applications right on the PC. This is unlike other hand-held gaming solutions such as the Nintendo DS or Sony PSP in which the code has to be ported on to the actual hardware kit fitted in a PC. Due to this, the number of people developing on the Mobile Java API is far higher as compared to others.

Mobile Java needs to implement a profile to run. In cellphones Mobile Java implements the MIDP (Mobile Information Device Profile). In combination, both Mobile Java and MIDP have a virtual monopoly in the world of low resource applications meant for cellphones, although, Qualcomm's BREW is also available in some cases. A Mobile Java application based on the MIDP profile is known as a Java MIDlet.

The (CLDC) Connected Limited Device Configuration is the most basic subset of Mobile Java required to run a Java virtual machine. It is used in such a manner that it can bring various devices based on different specifications to run on a fixed configuration on which the Java virtual machine can operate.

Privacy Policy