JAVA Desktop platform, which allows retailers, warehouses and headquarters better track inventory, employees and communicate between each entity.
Explore the project report »
Table of Contents
JAVA made application using two tier architecture, where the presentation layer runs on a client, and data is stored on a server using PostgreSQL database.
The application uses sockets between tiers to communicate.
Features:
- Headquarter's platform - Can supervise other entities and communicate using chat system to control nonproblematic workflow between Retailer and Warehouse
- Retailer's platform - Inventory management, Employee management, Send request to warehouse for items, See deliveries from warehouse, Chat system with other entities
- Warehouse platform - Inventory management, Employee management, Send delivery items to retailer, See requests from retailer, Chat system with other entities
- Java JDK 1.8
- jdbc - Java Database Connectivity
- JavaFX Scene Builder - GUI
Code is located in Code/src
folder.
Documentation is located in documentation
folder. SCRUM and UP framework related things are in Analysis and Design
folder.
- Java JDK 1.8
- Java IDE
- Clone the repository:
git clone https://github.com/davele-itsme/Semester-project-2.git
- Open the project in Java IDE
- Run: RunApplicationHQ, RunApplicationWH, RunApplicationRT
If you want to create tables with already existing data to test the system, please follow these guidelines
- Open PgAdmin
- Create a new database
- Go into
src/jdbc/
and openDataBaseModel
- Find setConnection() and change the Strings to match the database
- Run
src/jdbc/Setup.java
Now you have the required tables and dummy data
Now you have to run the server before running the applications Run application:
- Run
src/network/Server/Server.java
- Open
src/Run.java
,src/RunHQ.java
andsrc/RunRT.java
and change the HOST String to "localhost"
Now you can use RunApplicationHQ, RunApplicationWH and RunApplicationRT to open the different clients. Beware of closing clients, the Server still thinks you're connected and will keep throwing exceptions, which might slow down your system.