Program Design for the j2e-hpc

Source: Internet
Author: User

Preface
A major feature of Java is cross-platform. It allows programming programmers to write a program once, so that they can access different platforms (such as windows, linux ...), The benefits brought by such features are unambiguous. This cross-platform feature is even more important for the development of applications on mobile phones. Think about it. Every mobile phone dealer has its own production platform, if a software company wants to develop applications on its mobile phone, it needs to develop applications that can be published on mobile platforms, the huge scale of its project can be imagined. In addition, the mobile platform can be used to launch new ones. If a new mobile phone comes out every time, software Vendors must re-develop applications for them, which is somewhat impractical. As a result, the mobile phone manufacturers are born in such a situation. As long as the mobile phone manufacturers provide Java programming machines that can be used to compile j2's on their production platforms, then, you can use the applications developed by using j2s to improve the developer's intention to develop applications on the mobile phone.

He Xiaoming j2s
Java 2 platform (Micro Edition) is a tool developed by Sun Microsystems to develop a series of small-scale devices for general elimination, due to the wide variety of settings and the wide variety of features, I have introduced two new concepts for this question, configuration and profile are different. The main purpose of configuration is to improve the network speed and speed of consumer products, the memory capacity and other features are classified into categories. Configuration Setting defines some of the basic core types of operators, the Java login bot attached to it should support the classes defined in configuration. Currently, the following two configurations have been defined for the use of j2-based architecture:

1.

CDC (connected device configuration)
these products are used in high-end consumer products, such as interactive boxes and Internet calls.

2.

cldc (connected, limited device configuration)
This product is applicable to low-cost consumer electronic products, such as mobile phones and PDAs.


On the other hand, although configuration has already made traditional electronic products a simple classification, there are still many differences in the characteristics of various traditional products, for example, cldc contains mobile phones and PDAs, but the presentation capabilities of mobile phones and PDAs are different. The presentation screens of PDA are much larger than those of mobile phones. Therefore, the use of profile on the use of profile for different regions in a more complex classification, profile can be said to define a type of correspondence other than a group of operators on the configuration. Based on mobile phones, the mobile information device profile (MIDP) is defined for mobile phones. The MIDP role defines the types of scripts used by mobile phones, for example, sending audio streams and processing audio streams.

In this article, we will discuss the development of the j2's program on the mobile machine, so we will use cldc and MIDP. However, due to limited space, we cannot explain the cldc and MIDP-defined correspondence in a one-to-one manner. For more information, see the MIDP version and the supported response, beginners can take the test on the official website of j2-based storage:
Http://java.sun.com/j2me/

Http://www.j2mehome.com/

The first J2EE Program
Install
However, there are currently a lot of development programs that can be used to develop the application program of j2-based, but for beginners, the j2e-wireless Toolkit should be the easiest tool to obtain (you can directly download it from the Sun Microsystems website). Therefore, this article will focus on the j2e-wireless toolkit.

Before installing the j2se wireless toolkit, you must first install j2se. If you have not installed j2se, you can log on to and download j2se from the Sun Microsystems website and follow the instructions to install j2se, if j2se has been installed, skip this step.

Next j2se website
Http://java.sun.com/j2se/

After j2se is installed, you can install the j2wireless toolkit, which is written from Sun Microsystems.ArticleThe latest version is j2rwireless toolkit 2.1, so this version will be used in this article. However, the program mentioned in this Article can also be used in previous versions, however, the operation process may be somewhat different, and the process is still the same.
More websites related to the j2s tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.