From the course: Creating Spring Boot Microservices
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
The domain model - Spring Boot Tutorial
From the course: Creating Spring Boot Microservices
The domain model
- [Instructor] Before we can start implementing the solution for the Explore California RESTful Web Service, we need to flesh out the domain model from the ubiquitous language. This is the terminology used by the stakeholder. A big help is to look at the Explore California's current website, specifically in the explorecalifornia.org/tours page. The primary entities are tour packages and tours. So here is a list of tour packages, which is a collection of tours, for example, Backpack Cal, California Calm, California Hotsprings, Cycle California. And then if I drill down into Backpack Cal, for example, I see Big Sur Retreat and it's three days and it's $750, and a description of it, the rating, if it's a medium, high or low, and then how many days it is. And it's also some difficulty and ease that that's what the rating is, is how difficult it is or not. And then looking at this website, I've defined the following classes. So I've defined the following classes, and I have them in this…
Contents
-
-
-
-
-
(Locked)
The domain model2m 9s
-
(Locked)
The persistence entities2m 2s
-
(Locked)
Declare JPA repositories4m 36s
-
(Locked)
Spring Data JPA repository dependency injection3m 48s
-
(Locked)
Invoking the repositories7m 33s
-
(Locked)
Introduction to Spring Data query methods3m 2s
-
(Locked)
Challenge: Create a JPQL query method38s
-
(Locked)
Solution: Create a JPQL query method2m 35s
-
(Locked)
-
-
-
-
-
-
-