Development of the web application “PerFit” using Java Servlets, JSP and MVC architecture for personalized fitness and nutrition
Ανάπτυξη της διαδικτυακής εφαρμογής “PerFit” με χρήση Java Servlets, JSP και αρχιτεκτονικής MVC για εξατομικευμένη φυσική κατάσταση και διατροφή

Bachelor Dissertation
Author
Lamprinidou, Sotiria
Λαμπρινίδου, Σωτηρία
Date
2025-12Advisor
Alepis, EfthimiosΑλέπης, Ευθύμιος
View/ Open
Keywords
Java Servlets ; JSP ; MVC ; DAO ; MySQL ; Tomcat ; OTP ; RBAC ; Fitness ; Nutrition ; Personalized programs ; Web applications ; API integration ; SecurityAbstract
This thesis presents the design and development of PerFit, a web-based application that provides personalized fitness and nutrition programs tailored to the individual user needs. The system was implemented using Java Servlets and JSP, following the Model-View-Controller (MVC) architecture pattern to ensure a clear separation of concerns between logic, presentation, and data management.
The system supports multiple user roles - Athlete, Trainer, Nutritionist, Administrator - offering distinct functionalities and access privileges for each. Program generation is achieved through a combination of internal algorithms and external data sources, integrated via APIs such as RapidAPI (for exercises) and Spoonacular (for nutritional information).
Particular emphasis was placed on system security, incorporating mechanisms such as OTP verification, the enforcement of a strong password policy, and the adoption of RBAC.
This project demonstrates how the theoretical principles of software engineering can be transformed into a robust, functional and secure application that combines practical usability with technological innovation. Beyond its academic purpose, PerFit serves as a foundation for scalable, data-driven fitness and nutrition platforms.


