1 About Oracle Java ME SDK

Oracle Java ME SDK provides a set of tools for rapid development of embedded software. You can use it to write, edit, compile, package, sign, test, and debug embedded applications. Oracle Java ME SDK 8.3 supports integration with NetBeans IDE 8.1 and Eclipse IDE 4.5 by installing a set of plug-ins that enable all features to be used from within the popular IDE.

This chapter contains the following sections:

What Is Oracle Java ME SDK

Oracle Java ME Embedded 8.3 is a platform for running intelligent and connected services on resource-constrained devices, such as those found in wireless modules, building and industrial controllers, smart meters, tracking systems, environmental monitors, healthcare equipment, home automation devices, vending machines, and so on. Oracle Java ME SDK 8.3 provides a complete development environment for the Oracle Java ME Embedded 8.3 platform.

Oracle Java ME SDK 8.3 includes the Java ME Embedded 8.3 runtime as a device emulation environment for Windows and Linux desktop computers. The emulation environment uses the same code base that Oracle licenses to device manufacturers for use on real devices. This enables you to perform extensive testing of your embedded applications on an emulated device before deploying them on a real device.

There are several default emulated embedded devices included with Oracle Java ME SDK. Using the Custom Device Editor, you can create a customized emulated device that mimics the target device. This enables you to start developing and testing your application without the final hardware being available.

At the heart of Oracle Java ME SDK is the Device Manager that registers all available emulated devices and connected external devices. The Device Selector can then be used to switch between target devices on which you want to run the application.

Oracle Java ME SDK provides application management functionality both through a graphical user interface (GUI) and through a command-line interface (CLI). You can use it to install, update, remove, start, and stop applications. You can view the state of applications and control the behavior of the system.

Oracle Java ME SDK can communicate with the on-device tooling (ODT) agent running on the Java Virtual Machine (JVM) on the device. The ODT agent provides breakpoint functionality, access to variables and data structures, and other runtime information. This enables live testing, analysis, and debugging of applications at the Java source level on the target device.

Oracle Java ME SDK enables you to emulate realistic network properties and events for testing purposes. You can use the Connectivity Emulation Tool to configure the number and type of network interfaces, switch between network modes, set wireless signal strength, and so on.

Built-in profiling and monitoring utilities enable you to investigate application performance, optimize memory use, which is critical for resource-constrained devices, and minimize the impact of limited network connectivity.

Supported Application Programming Interfaces

Oracle Java ME SDK 8.3 supports various standard application programming interfaces (APIs) defined through the Java Community Process (JCP) program. JCP APIs are often referred to as JSRs, named after the Java Specification Request process.

You can download the specification documents for all JSRs on the JCP website at https://www.jcp.org.

Required Specifications

The Java ME Embedded 8.3 platform (included with Oracle Java ME SDK 8.3) is an implementation of the following specifications:

  • JSR 360: Connected Limited Device Configuration 8 (CLDC 8)

  • JSR 361: Java ME Embedded Profile (MEEP 8)

Optional Specifications

The following optional specifications (often referred to as optional packages) are also supported by Oracle Java ME SDK 8.3:

  • JSR 75: PDA Optional Packages for the J2ME Platform

  • JSR 120: Wireless Messaging API

  • JSR 172: J2ME Web Services Specification

  • JSR 177: Security and Trust Services API for J2ME

  • JSR 179: Location API for J2ME

  • JSR 280: XML API for Java ME

Oracle APIs

As part of Java ME Embedded 8.3, Oracle also provides the following additional APIs for embedded software development:

  • Device I/O API

  • JSON API

  • HTTP Client API

  • OAuth 2.0 API

  • Configuration API

  • Security API

  • Security and Trust Services Extension API

  • SSL Extension API