Install Jenkins using Docker

In this tutorial, I will guide you how to install Jenkins server using Docker. First, open the Terminal on macOS and Linux or the Console on Windows, then use the “docker pull” command to download the Jenkins Image from the Docker Repository. Here, we have… Read More

@RestController annotation in Spring MVC

We usually use the @Controller annotation to develop Spring MVC applications, but since version 4.x, Spring has introduced another annotation called @RestController. What is the purpose of annotation @RestController? What is the difference between @Controller annotation and @RestController annotation? In this tutorial, let’s find out!… Read More

Using @ManyToMany annotation in JPA

In this tutorial, we will research together on a final annotation in JPA, beside @ManyToOne, @OneToOne, @OneToMany annotation, to express the relationship between any two tables in the database. That is the annotation @ManyToMany! In case, any two tables have many-many relationships, such as a… Read More