Skip to content

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.

Notifications You must be signed in to change notification settings

NCherfaoui/allocine-jaxrs-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages