If5 Java Support; Executing Java Applications - Intermec IF5 User Manual

Fixed reader
Hide thumbs Also See for IF5:
Table of Contents

Advertisement

Chapter 3 — Developing and Using RFID Applications

IF5 Java Support

68
Note: Previous versions of the IF5 firmware included the IDL
RFID Java libraries. To minimize compatibility issues, the IF5
firmware no longer includes those libraries. You can obtain the
libraries as part of the RFID Resource Kit download, and install
them along with your application.
The IF5 ships with IBM's WebSphere Everyplace
MicroEnvironment (WEME). WEME implements the J2ME
Connected Device Configuration (CDC)/Foundation 1.0
standard. The IF5 supports the CDC/Foundation profile, which
is a subset of J2SE version 1.3.1.
The IF5 also comes with a SQL Server JDBC driver, located in
/usr/local/jdbc. Use this driver to create applications that write
data directly from the IF5 to a remote SQL Server database.
For more sophisticated Java development, the IF5 ships with the
IBM Services Management Framework (SMF). This Java
framework is an implementation of the open standard OSGi
service-oriented architecture. This allows system administrators
to install, uninstall, enable, and disable system services (also
known as bundles) without having to reboot the IF5 each time.
To use OSGi effectively, you need an OSGi server. For more
information, see www.osgi.org.
Note: Because the IF5 Java runtime environment is based on
J2ME CDC/Foundation 1.0, it does not support class files
targeted for JDK 5 (or later) Virtual Machines. If you use a J2SE
compiler to build your application, the generated class files must
be compatible with JDK 1.4 VMs. Use
ensure class version compatibility.

Executing Java Applications

To execute a Java application on the IF5, use this command:
$JAVA_HOME/bin/j9 -jcl:foun10 MyJavaClass
To execute .jar files, use this command:
$JAVA_HOME/bin/j9 -jcl:foun10 -jar MyJar.jar
javac -source 1.4
IF5 Fixed Reader User's Manual
to

Advertisement

Table of Contents
loading

Table of Contents