Java Communication Component
Needed a way to communicate with Java app running in the car and on the Web site.
TCP/IP sockets seemed to be the easiest transport.
Designed a simple string based protocol.
Socket open to send commands to peer.
Socket open to receive commands to peer.
Client sends command (string) to server, server sends response (string) back to client.
Commands designed to be asynchronous, so Actor pattern used to serial message sends to server.
Also had to handle retries.