Using the Client/Server model.
The boats moving on the sea was to install a Java program by repeatedly shooting the signal include (to name the ship, ship code, length,width, moving the x, y coordinates of the boat) through the UDP server system about the center of Java, the server receives the signal from the ship will save on DATABASE and displays the location of the train is moving according to the coordinates x, y up the map set. If the two ships have the coordinates x, y separated delta xthen the system will give a warning on the map in order to avoid a collision between two ships at the same time server will send a warning to the two ships
