Week 26 — Where are the possible use cases for Java on microsystems?
Question of the Week #26
Where are the possible use cases for Java on microsystems?
4 Replies
Java can be used in microsystems in a number of ways. For example, Java can be used to analyse data from a sensor and call a specific function when a certain value is reached. Java can be used to monitor and control heating, cooling and air conditioning systems:
- If the room temperature falls below 20°C -> the heating is switched on.
- If the room temperature goes above 22°C -> the heating is switched off.
Submission from StormOfGalaxy#8898
Java is not so useful in microsystems as C or C++ as the compiler for java takes up a lot of memory which may not be available in a microsystem.
Submission from OnePlusIota#6731
possible answers for this week could be usage like working on raspberryPI or other microtechs
Submission from Arpit#1291
Historically, Java was used for writing code on Microsystems. Due to Java being platform independent and its safety guarantees, it was also used there. This was done with Java ME, a subset of Java SE specifically made for smart devices, mobile phones, microcontrollers, PDAs and similar devices. These APIs allowed writing the same code for a variety of different devices while still being able to access specific features of these devices.
The alternative JVM implementation "OpenJ9" originated from the concept of using Java on microsystems and comes with less memory consumption and faster startup times.
While Java ME isn't used much anymore nowadays, Java is still used for mobile phones. Native Android applications are compiled to Java bytecode which is then run on Android devices.
⭐ Submission from dan1st#7327