This is a exercise that implements a simple nio socket server/client.
- implement nio server/client.
- server can handle incoming requests in parallel.
- data is stored in xml file, when server start, data will be loaded into memory.
- client can send request to add/remove/list data.
- server has a thread to save updated data on in-memory to data file.
- UML class diagram of server is doc/server.jpg
- UML class diagram of client is doc/client.jpg
- install jdk
- install ant
- run "ant" to build.
- run "java -cp ./dist/classes/ app.server.startup.Server" to start server.
- run "java -cp ./dist/classes/ app.client.startup.Client" to start client.