System requirement: The proprietary hardware should be able to send and receive text data, most likely in xml format, to our corporate Mina Server behind firewall. Server environment: Mina Server running on Linux server located behind corporate firewall. Client environment: Proprietary hardware connected to a Windows PC using RS232 serial connection. The Windows PC will have either a dial-up /dsl internet connection. The proprietary hardware always initiates the message. My current thoughts: Install a Mina SerialConnector component on these client systems (Windows PCs) which will listen for data coming through the RS232 connector. When the serial IoHandlerAdapter receives a server message/request, it send that information to our server using a SocketConnection and wait for the response. Once the server response is received, write that back to the serial port. Concerns: I will have to open up the server port on firewall to outside world, which might not be acceptable to the security administrator. In that case, I might have to move the server in front of the firewall. Any suggestions on how to design and implement such a system would be greatly appreciated. Does any one have any examples on how to read and write to a serial port?
