The BlackBerry Java Development Environment Component Package includes the following development tools for development
within third-party IDEs such as NetBeans™ or Eclipse™:
•
RAPC: You can use this command prompt compiler to compile .java and .jar files into .cod files that you can run in the
BlackBerry Smartphone Simulator or on a BlackBerry device.
•
JavaLoader: You can use this tool to add or update an application on a BlackBerry device for testing, and to view information
about application .cod files.
•
BlackBerry® Signature Tool: You can use this tool to send code signature requests to the BlackBerry® Signing Authority
Tool.
•
Preverify Tool: You can use this tool to partially verify your classes before you load your application onto a BlackBerry device.
•
JDWP: You can use this tool to debug applications using third-party integrated development environments.
Java ME and Java APIs for BlackBerry
Java® ME is an industry standard platform that defines common sets of Java APIs for different types of wireless and embedded
devices. A Java ME application on a BlackBerry® device runs in the BlackBerry® Java® Virtual Machine, which provides all of the
runtime services to the applications and performs functions such as typical memory allocations, security checks, and garbage
collection.
The Java ME MIDP standard addresses the API and BlackBerry JVM needs of a constrained wireless device with a user interface.
The BlackBerry device supports the Java ME MIDP standard as defined in JSR 118. The Java MEMIDP standard provides a core
set of Java APIs that any BlackBerry device can support, regardless of its underlying operating system. Developers can often build
one Java application using the MIDP standard APIs and run that application on many different types of devices.
Support for standard Java APIs
The BlackBerry® device and the BlackBerry® Java® Development Environment support the Java® ME MIDP standard, which
provides a core set of Java APIs that you can use to develop wireless device applications. The BlackBerry device and the BlackBerry®
Java® Development Environment also support the following JSRs:
•
JSR 30: Connected Limited Device Configuration Version 1.0
(supported on devices with BlackBerry® Device Software version 4.0 or earlier)
•
JSR 37: Mobile Information Device Profile Version 1.0
(supported on devices with BlackBerry Device Software Version 4.0 or earlier)
•
JSR 75: Portable Optional Packages for the J2ME Platform (PDAP) support for the PIM APIs only and the File Connection
API for Java ME (supported on devices with BlackBerry Device Software version 4.2 or later)
•
JSR 82: Java APIs for Bluetooth®
•
JSR 118: Mobile Information Device Profile Version 2.0
•
JSR 120: Wireless Messaging API (WMA) Version 1.1
•
JSR 135: Mobile Media APIs (MM API) Version 1.1
Fundamentals Guide
Java ME and Java APIs for BlackBerry
7