It depends on your communication protocol. If you are using a standard protocol to communicate with your hardware, you may have a chance to find a library to do some infrastructural tasks. But having a dedicated protocols, means no one can help you doing this and you shoud use Java Socket API directly. Of course using a JNI implementation of Socket API may be helpfull to acheive a higher performance.
|