I have a system on one computer that will send data to another system on another computer. The system that will receive the data will need to read this data in real time and automatically.
But my question in building the system is how can I make it known in real time and automatically that I received the data from the other system?
I use java ..
------------------ EDIT ------------------
I am doing a CBT project, a computer that would stay at the counter of the establishment would have a program that the user registers the requests of the people. There would be a button to send the request, then this button would send the request data to a computer that is in the kitchen of the establishment. But in this kitchen computer, it would be another system that is "listening" to the arrival of these requests, that is, it would have to be automatic to know when an order arrived.