|
|
![]() The JavaPOS standard defines the set of Java language retail device interfaces for use by Java retail applications. It also provides a reference implementation for the corresponding Device Control logic needed to connect these applications to the JavaPOS Device Services written by the actual device manufactorers. The information below will be of primary use to developers trying to write a JavaPOS Device Service for a specific retail peripheral product "once" and have it be accessible and controllable by JavaPOS application programs anywhere. In other words, those who need to extend the Java promise of OS and hardware neutrality down to the device driver level should keep reading. Basically the missing Java piece here is the ability to directly access physical devices connected via the various IO bus configurations which might be present on a given POS terminal configuration, in a consistent and unchanging manner. RS232 serial ports and IEEE 1284 parallel portsIf you want to configure pure Java Device Services which can communicate with devices that are connected via RS232 or IEEE 1284 ports then you will need to include the javax.comm package. Basically, by using the JavaComm package, a device driver / JavaPOS Device Service can be supplied for every platform on which JavaComm is supported. JavaComm provides the following capabilities:
Some of the primary JavaComm sites are listed below:
If you want to configure pure Java Device Services that connect to the Universal Serial Bus (USB) then you will also need the implementation of the JSR 80 API specification for USB support. The API is defined at: http://jcp.org/en/jsr/detail?id=80 and the implementation is a sourceforge project, located at http://sourceforge.net/projects/javax-usb. At present, only a Linux port exists.
For questions or problems concerning the operation of this site please
contact the webmaster.
|