Inter-process communication using Java Sockets group task
Run the SocketServer.java
class under src/server
. This runs the server on localhost
port 1234
Run the GUI.java
class under src/UI/GUI
A GUI forms open prompting for details
- Add the # (student number) and click send
- The Student Name text field is enabled after receiving the server response.
- Continue adding details until Degree.
- After sending the degree the program automatically generates a personal token id, the status text displays the id.
- Click send to send this token to the server.
- The server accepts the id and prompts the user to send all details back. Click send.
- The server replies with the count of the details received.
- The send button text changes to exit.
- Click on the
exit
button to end the client program
Further program documentation incuded in the code.