A desktop-based Inventory Management System and Point of Sale (POS) application built with JavaFX, Hibernate, and MySQL.
- Product management
- Category management
- Supplier management
- Employee/user management
- Sales management
- Purchase management
- Invoice management
- Inventory tracking
- Point of Sale (POS)
- Dashboard with charts
- PDF invoice generation
- MySQL database integration
| Technology | Version |
|---|---|
| Java | 21 |
| JavaFX | 21.0.8 |
| Hibernate ORM | 6.6.56.Final |
| Jakarta Persistence | 3.1.0 |
| MySQL Connector/J | 9.4.0 |
| Apache Commons Codec | 1.19.0 |
| iText | 5.5.13.4 |
| Maven | 3.x |
- JDK 21
- Maven 3.x
- MySQL Server
JavaFX is managed through Maven, so a separate JavaFX SDK installation is not required.
Database credentials are loaded from:
src/main/resources/application.properties
Example:
db.url=jdbc:mysql://localhost:3306/inventory db.username=your_username db.password=your_password
Make sure the inventory database exists in MySQL before starting the application.
Security: Do not commit
application.propertiescontaining real database credentials to a public repository.
A template can be provided as:
src/main/resources/application.properties.example
From the project root:
mvn clean javafx:run
Open the project as a Maven project and use JDK 21 as the project SDK.
The application entry point is:
com.rafsan.inventory.MainApp
To compile and package the application:
mvn clean package
The generated files are placed in:
target/
Self-contained Windows deployment using jlink and jpackage is planned for a later stage.
This project is licensed under the MIT License.
See the LICENSE file for details.
Rafsan
This project is actively developed and may evolve over time.

