This project is the main web application developed as part of the coursework for the Programming Web Applications module (Winter Semester 2024/25). It enables users to view available screenings and reserve cinema tickets via a web interface.
The application was developed following the MVC pattern using JavaServer Faces (JSF) for the view layer and Hibernate for persistence. It demonstrates a complete flow from UI interaction to database persistence, fulfilling all core requirements of the university assignment.
- Java 8
- Jakarta EE / Java EE
- JSF (JavaServer Faces)
- Hibernate ORM
- MySQL
- Bootstrap (for styling)
- NetBeans (project structure and deployment)
- Object-oriented domain model with entities like:
MovieTicketHall
- Integration with MySQL using Hibernate (via
hibernate.cfg.xml) - Views created with JSF and Facelets (
*.xhtml) - User input validation on the form (e.g. reservation process)
- Fully functional booking process with form submission and feedback
- Simple but responsive user interface using Bootstrap
- Import the project into NetBeans as a Maven project.
- Set up a MySQL database and update the
hibernate.cfg.xmlaccordingly. - Make sure all required libraries (Hibernate, JSF, MySQL) are resolved.
- Run the project on a supported application server (e.g., GlassFish 5.0.1).
- Access the web application at
http://localhost:8080/iu-cinema/.
The database is created based on the domain model. An SQL script was included as part of the coursework. You can find it here
This project was created for academic purposes as part of a university assignment and is not intended for commercial use.
Author: Dennis van den Brock
Course: Programming Web Applications (DSPWA102201)
Instructor: Christoph Schopp
Submission Deadline: March 31, 2025