Palmtops, Pagers and cell phones are everywhere and diversity is endless. The industry needs for these devices to run and perform almost all tasks used on the desktop require a standard and simple way to develop applications. The solution must be suitable for various platforms and take care of many limitations, such as limited memory, small screen sizes, other input methods, and slow-moving processors.
Admit that "One Size Is Not Fit All," Sun restructured its Java technology in three versions, which targets a particular market:
o J2EE – A goal with a heavy duty server system.
o J2SE – Aim of Standard Desktop and Workstation Applications
And Java 2 Platform Micro Edition (J2ME) – Considering small and smaller forced devices and standardizing the use of Java technology in wireless devices. The J2ME architecture had to be modular and scalable due to the diversity of the target audience. To achieve this, J2ME offers a range of virtual machines, each optimized for different types of gifts and smaller cookies.
J2ME features include better security and consistency of application applications and devices, better user interface with graphics, ability to work on wireless coverage, peer permissions, and no license fees for SDK, which means everyone can create applications And marketed.
J2ME vs. WAP
J2ME applications have much more to offer than those built under the Wireless Application Protocol (WAP), both in terms of both features and security. By WAP is a thin client development agreement, J2ME is a development center specifically for smart applications. J2ME applications offer the following security improvements on WAP applications:
o Without a WAP gateway in the middle, smart applications can provide flexible backup from end to wireless device. This will be especially important as the back cover evolves into a message-based web service framework.
o Smart applications can store and process data on-site, thus reducing network traffic. Not only preserves this precious wireless bandwidth and reduces delays, it reduces the likelihood that important information will be removed or interrupted (for example, by denial of service).
o Clever applications efficiently utilize device power. Instead of encrypting everything with the same key strength, regardless of needs, customers can establish a comprehensive, different content-based security policy.
J2ME vs. Native Fields
Compared to native platforms, Java's main strength is that it allows us to write portable applications. Portability Java system stems from the model's construction. Specifically, it is because of the use of JVM to process a Java bytecode into a codec on a runtime, which gives a harmonization layer to the hardware. The implementation model of the Java system also introduces some important security improvements that are lacking in instrumentation. This benefit is as follows:
o JVM verifies all categories of chargers and ensures that programs do not perform any dangerous actions. Because the verification of the period is computationally expensive for MIDP VMs, MIDP has a separate dual bitrate verification system. We will deal with this system in the second half.
o JVM has a monitoring system to ensure runtime error message. A good example is garbage collection. JVM can clear my application memory heap automatically at runtime. This helps to prevent less leaks that are the main causes of collapse among native programs.
o JVM can provide a security manager or sandbox for applications. Viruses and other hostile code downloaded by the Web can cause serious security risks. In the Java system, all applications (i.e., JAR files) can be digitally signed. JVM Security Manager provides signed privileges to access certain APIs (domains) based on trusted signatories. We will discuss further the telecommunications technology based on the domain in the latter section.
Smart, usable focus and built-in implementation of the Java system give J2ME applications high performance and security over WAP and native applications.
Source by Jignesh Padhiyar