This video is an exercise about implementing the Repository pattern in Spring and having the framework utilize it.
- [Instructor] So now it's time to take a look … at a repository in action. … And I'm going to encourage you to put your seatbelts on, … 'cause we're going to go through a lot of material here … in this video. … Go ahead and jump over into your IDE, … and if you've loaded the exercise files, … the first thing I want you to notice … is in source by resources, … I've added a data.sql and a schema.sql. … And we're just going to use that to populate a database … so we can actually implement the pattern. … Let's go ahead and open up our base package. … Before we do anything else, … we will create a package called repository. … Now, because we're using Maven and Spring, … we need to add a few things to our pom. … Let's jump into our pom file here. … And we're going to add two dependencies. … The first dependency that we're going to add … is spring-boot-starter-data-jpa. … And that comes from org.springframework.boot. … We'll allow Maven do its resolution there … while we add our second dependency. …
AuthorFrank P Moley III
- The patterns of the Spring framework
- Creational patterns in Spring
- The adapter and decorator pattern in action
- Structural patterns in Spring
- The repository pattern in action
- The observer, command, and mediator patterns
Skill Level Advanced
Spring: Framework In Depth (2017)with Frank P Moley III2h 16m Intermediate
What you should know1m 28s
1. Design Patterns and Spring
2. Creational Patterns in Spring
3. Structural Patterns in Spring
4. Operational Patterns in Spring
5. Other Framework Patterns in Spring
Next steps3m 27s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.