NCherfaoui / allocine-jaxrs-mysql

This is a Java application using JAX-RS and Hibernate. It interacts with a MySQL database, includes entities like Film, Actor, Director, and Genre. It provides CRUD operations via a DAO interface and exposes a REST API through Resource.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is a Java application based on the Jakarta EE framework, using Hibernate as a persistence provider to interact with a MySQL database. The project is structured around the MVC (Model-View-Controller) model.

The data model includes several entities, such as Film, Actor, Director, and Genre, as indicated in the persistence.xml file.

There is a FilmDAO interface that defines CRUD (Create, Read, Update, Delete) operations on the Film entity, as well as methods to add and remove actors from a film. The implementation of this interface, FilmDAOImpl, uses JPA's EntityManager to perform these operations.

Finally, there is a FilmResource class that exposes a REST API to interact with films. This API allows you to retrieve all films, get a film by its ID, create a new film, update an existing film, and delete a film.

About

This is a Java application using JAX-RS and Hibernate. It interacts with a MySQL database, includes entities like Film, Actor, Director, and Genre. It provides CRUD operations via a DAO interface and exposes a REST API through Resource.


Languages

Language:Java 100.0%