Enterprise-grade desktop task management system developed with Java and JavaFX, featuring strict MVC & DAO architectural patterns, reactive in-memory filtering, and safe JDBC persistence.
TaskMaster Flow is an advanced desktop productivity suite designed to structure, track, and manage business workflows. It was engineered as the Capstone Project (TFG) for the Higher Vocational Degree in Multi-platform Applications Development (DAM).
The project demonstrates core software engineering practices: strict separation of concerns, decoupled persistence contracts, defensive resource lifecycle management, and in-memory data querying for optimal user responsiveness.
The application enforces a decoupled Model-View-Controller (MVC) design paired with a formal Data Access Object (DAO) persistence layer:
graph TD
UI[FXML / JavaFX View] -->|User Events| Ctrl[Controller Layer]
Ctrl -->|Binds Data| Model[POJO Model / ObservableList]
Ctrl -->|Invokes Operations| DAOInterface[DAO Interface]
DAOInterface -.->|Implements| DAOImpl[DAO JDBC Implementation]
DAOImpl -->|Acquires Connection| DBConn[Singleton DBConnection]
DBConn -->|Thread-Safe Pooling| MySQL[(MySQL Database)]
DAOImpl -->|Parametrized Queries| MySQL
- DAO Pattern: Persistence logic is completely isolated behind contracts (
TareaDAO), ensuring that switching the database engine (e.g., from MySQL to PostgreSQL) requires zero modifications to UI controllers. - Connection Lifecycle (Singleton + Try-with-resources): The database connection pool lifecycle is centralized through a thread-safe
DBConnectionSingleton, ensuring every SQL statement enforces safe closure viatry-with-resourcesto eliminate connection and memory leaks. - SQL Injection Prevention: Enforced usage of parameterized
PreparedStatementinstances across all CRUD operations. - Zero-Latency In-Memory Filtering: Instead of firing recurring expensive
SELECTqueries across the wire on keystrokes, dataset searching utilizes JavaFX'sFilteredListwrapping in-memoryObservableListcollections.
- Full Lifecycle CRUD: Create, read, update, and resolve tasks with validation.
- Real-Time Dynamic Search: Instant UI re-rendering driven by reactive predicate bindings.
- Adaptive UI Architecture: Flexible layouts crafted with FXML and CSS, applying constrained column resize policies (
CONSTRAINED_RESIZE_POLICY) to ensure responsiveness across different display resolutions. - Automated Regression Suite: Automated unit testing suite covering business domain rules and persistence edge cases via JUnit.
TaskMaster-Flow/
├── src/
│ ├── app/ # Application bootstrap & JavaFX entry point
│ ├── controller/ # Event coordinators (TareaController, TareaFormController)
│ ├── dao/ # Persistence boundary contracts and JDBC implementations
│ ├── db/ # Centralized Singleton connection manager
│ ├── model/ # Domain entity POJOs & observable wrappers
│ ├── resources/ # FXML view templates, CSS styling, and visual assets
│ └── test/ # Automated unit testing suite (JUnit)
├── pom.xml # Maven dependency & lifecycle configuration
└── README.md # Project documentation
- Language: Java 17+ (LTS)
- Desktop Framework: JavaFX 17+ (FXML, Controls, CSS)
- Relational Database: MySQL 8.0+
- Driver: MySQL Connector/J
- Quality Assurance: JUnit 5
- Build Automation & Packaging: Apache Maven
- JDK 17+ installed and configured on
$JAVA_HOME. - MySQL Server active locally or via Docker.
- Apache Maven installed.
- Clone the repository:
git clone [https://github.com/Rubenzt8/TaskMaster-Flow.git](https://github.com/Rubenzt8/TaskMaster-Flow.git) cd TaskMaster-Flow - Configure your database credentials in
src/db/DBConnection.java(or export environment variables). - Build the project with Maven:
mvn clean compile
- Execute the application:
mvn javafx:run
Rubén Flores Calderón
Backend-focused Software Developer
- LinkedIn: ruben-flores-calderon
- Email: Rubenzt88@gmail.com