Spring Data JPA

In this tutorial, I will demonstrate how to implement the One-to-Many Mapping in your Spring Boot application that uses Hibernate/Spring Data JPA. As a database, I will use a MySQL server. To demonstrate how the one-to-many relationship works, I will implement two JPA entities: a Book and a Story. One book can have many stories…

Read More One to Many Mapping Hibernate/JPA Using Spring Boot and MySQL

In this tutorial, I will demonstrate how One to One Mapping in Hibernate/Spring Boot Data JPA works. As a database, I will use a MySQL database server. We will create two JPA entities: the Book and the Story. The Book and the Story entities have one to one relationship which means that the Book entity…

Read More One to One Mapping Hibernate/JPA Using Spring Boot and MySQL

In this tutorial, you will learn how to implement pagination in your RESTful Web Services app built with Spring Boot. The code example below will demonstrate how to implement pagination to implement “Get a list of users” registered with our app feature. I assume you already have your Spring Boot RESTful Web Service built but…

Read More Pagination Tutorial with Spring Boot REST

Create a Servlet Container deployable Jersey web application Create new Jersey web application using Maven. The project created with the below jersey-quickstart-webapp archetype can be built and deployed to a servlet container like for example Apache Tomcat. mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes \ -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.26 POM.XML Dependency to Support JSON To support JSON in your Jersey Web App add…

Read More RESTful Web Services with Jersey and Spring Data JPA – Cheat Sheet

Free Video Lessons

Enter your email and stay on top of things,

Subscribe!