This project is a demonstration of
- using Java to receive AIS messages from a network feed, mapping them to DIS PDU's.
- setting up a Websocket server with 2 endpoints to serve the data.
- using Javascript to receive and display the AIS/DIS messages through Websocket calls.
The 2 endpoints are distinguished by the URL tails "/ais" and "/ais2dis". The first will stream AIS messages. The second will stream DIS pdus.
Three clients are included:
- aisWebSocketClient.html, using the first endpoint and displaying AIS messages textually in the browser.
- disAisWebsocketClient.html, which uses the 2nd endpoint and displays the generated DIS messages textually.
- googleMaps.html, which uses the 2nd endpoint to plot the ship positions on a world map.