This self-study describes the Oracle Secure Java Coding Guidelines, Java Security, Java Native Interface secure coding, and security vulnerabilities.To minimize the likelihood of security vulnerabilities caused by programmer error, Java developers should adhere to recommended coding guidelines. This self-study follows the Secure Coding Guidelines for Java SE, Version 5.0 in detail.
Intelligent devices are becoming an ever more important and ubiquitous part of our every day lives. Mobile phones represented the first wave of smaller personal computers. And now, as the price of electronics and processing power continues to fall, there is an intersection between sensors and other electromechanical devices and computers that live on the edge of the Internet: close to the source of the data, processing the data locally and sending just what is required to other computers to consume. This wave of machine-to-machine (M2M) technology, or more broadly, the Internet of Things (IoT), is rapidly shaping the future of computing. Oracle Java Platform, Micro Edition (Java ME) provides Java developers with a direct path to this new market space by using their existing knowledge and skills.
In this tutorial, you create a Java ME Embedded 8 EA application by using a desktop development environment. Using a breadboard, you wire a simple circuit to connect a push button switch to a GPIO pin (input) and you wire a light-emitting diode (LED) to an output pin. The application changes the state of the LED (on or off) every time you press the button. This circuit illustrates the use of a pull-down resistor and a modification to the trigger type on the input pin.