Home >Java >javaTutorial >What does java embedded mean?
Embedded Java (Embedded Java) is a software development platform provided by Sun Microsystems specifically for embedded systems in certain devices, such as products designed for the automotive, telecommunications, and industrial equipment markets.
Background
In 1999, Sun proposed the J2ME (Java2 Micro Edition) specification family based on Personal embedded Java . J2ME is a streamlined version of Java2 developed for consumer electronics and embedded devices. MIDP (Mobile Information Device Profile) is a subset of J2ME designed for mobile communication devices. J2ME/MIDP provides a unified development platform for mobile communication devices, allowing developers to quickly develop fully portable value-added applications for different mobile communication devices without considering the hardware and software differences of different devices.
The core of J2ME is the embedded Java virtual machine KVM (Kilobyte Virtual Machine) and CVM (Compacted Virtual Machine) as well as virtual machine-based Configuration and Profile. Currently, an organization called JCP (Java Community Process) has been launched by a series of companies related to the field. Members of this organization formulate J2ME and other Java corresponding specifications, and various research institutions and companies implement their own products based on these specifications.
Embedded Java technology represented by J2ME technology is receiving more and more research and application. In order to meet the needs of embedded applications, although J2ME as embedded Java has made many adaptive modifications, it still requires the terminal to have relatively abundant resources. Research on embedded Java focuses on the real-time technology, garbage collection technology, thread mechanism, interpretation and compilation technology, and integrated development environment of embedded virtual machines. The embedded Java virtual machine can not only reduce the demand for resources, but also meet the needs of more resources. It meets the needs of a wide range of embedded applications and can effectively reduce the power consumption of applications.
The embedded Java toolset includes: JavaFilter - a list of methods that can be used to create fields and run Java programs;
JavaCodeCompact - the fields required by an application from the entire set and method lists, and remove unnecessary platform components, as well as create representations of data structure collections;
There is also JavaDataCompact for linking various external files (such as HTML, audio or graphics files) .
Advantages
Java has been favored by the embedded field because of its many advantages, and has received a large number of research and development applications. Since Sun proposed Java technology in 1993 (Java Language Specification and Java Virtual Machine Specification), the application and research of Java has been on a gradual upward trend, and its application and research scope covers a wide range of areas.
Mainly covers the following fields:
(1) Super computing field, such as JPVM (Java ParallelVirtual Machine), PJVM (Parallel Java Virtual Machine), Java Grand, etc.;
(2 ) Enterprise computing field, such as J2EE, Grid, Web service, etc.;
(3) Embedded computing field, such as PersonalJava, embedded Java and Card Java, etc.
For embedded systems, Java technology has obvious advantages over C language and assembly language.
can be mainly summarized as the following points:
First of all, Java is cross-platform. The "write once, run anywhere" feature makes it very suitable for computing on embedded systems with large differences in hardware and operating system platforms. It can not only save a lot of resources, but also ensure the reusability of the software.
Second, it is suitable for network applications. Java has a complete network programming interface, such as Socket and Stream, URL and class loading technology through the network, etc. Using these interfaces, applications can be developed quickly and security is improved.
Third, excellent security. Java has multiple levels of security protection measures that can block viruses and other intrusions to avoid instability in the Java system and improve the reliability of embedded systems.
The above is the detailed content of What does java embedded mean?. For more information, please follow other related articles on the PHP Chinese website!