This project is production of light network application that is coded by Java.
This application provides the "searching service" from database.
A server pripare database, then client connect to it.
Also application supports the GUI function.
model.png shows the application sequence chart.
I tested it with the following environment
- OS
- MacOS Mojave 10.14.6
- Java version
- OpenJDK Runtime Environment (build 13+33)
- Database
- Sqlite3 (3.24.0)
At first, a database table has to be created in server.
For example, I recomend you to use Chinook sample dataset.
Then, you type the following command in the top directory.
make build
But, you have to set the classpath that refers corrent directory and postgresql.jar. (Currently the path is hardcoded in server source file)
At first, server program is started.
./run.sh serverClient program is started as well after server running.
./run.sh client localhost