The Java Communications 3.0 API is a Java extension that facilitates developing platform-independent communications applications for technologies such as Smart Cards, embedded systems, and point-of-sale devices, financial services devices, fax, modems, display terminals, and robotic equipment.
The Java Communications API (also known as javax.comm) provides applications access to RS-232 hardware (serial ports) and limited access to IEEE-1284 (parallel ports), SPP mode.
Implementations of the API are currently available for Solaris SPARC, Solaris x86, and Linux x86. Each of Sun's available implementations works with the
Sun Ray thin client product line, and include portmapping extensions to allow an administer to specify the locations of ports as well as their visibility, names, and in some cases annotated reference. (Also see
Sun Ray compatible USB / Serial Adapters)
API serial features:
Enumeration of ports (administrator and user configurable port mapping)
Port configuration (baud rate, speed, stop bits, parity)
Access to EIA232 standard DTR, CD, CTS, RTS and DSR signals
Transfer of data over RS-232 ports
Hardware and software flow-control options
Receive-buffer threshold control
Asynchronous event option for notification of:
Data available on an RS-232 port
Port hardware line level changes
Port ownership changes within a single JVM
Java communications API was initially released in 1997, prior to the Java Community Process, was 'grandfathered in' to the JCP (
http://www.jcp.org) without having an associated JSR (Java Specification Request).