Course programme
Building a Spring Boot App from Scratch with Spring Initializr 4 lectures 24:33 The Course Overview This video gives an overview of the entire course. Website Navigation Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Picking Options for Our App When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. Unpacking and Importing the Bundled App into Our IDE Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Building a Spring Boot App from Scratch with Spring Initializr 4 lectures 24:33 The Course Overview This video gives an overview of the entire course. Website Navigation Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Picking Options for Our App When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. Unpacking and Importing the Bundled App into Our IDE Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. The Course Overview This video gives an overview of the entire course. The Course Overview This video gives an overview of the entire course. The Course Overview This video gives an overview of the entire course. The Course Overview This video gives an overview of the entire course. This video gives an overview of the entire course. This video gives an overview of the entire course. Website Navigation Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Website Navigation Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Website Navigation Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Website Navigation Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Building apps with Spring Boot is fast. But nothing can make things faster than having a website where you pick components off the menu and load a prebuilt app into your development environment. • Tour start.spring.io • Pick components for the app in this course • Load the newly minted project into our IDE. Picking Options for Our App When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. Picking Options for Our App When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. Picking Options for Our App When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. Picking Options for Our App When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. When constructing an app, our architecture can impact many decisions down the road. For a solid, front-to-back app, we need several components. • Select Spring Data JPA and H2 for persistence • Pick Thymeleaf and WebSocket for the UI • Pick Spring Security, Spring Boot Actuator, Spring Boot DevTools, and Spring Boot Remote Shell for production-grade support. Unpacking and Importing the Bundled App into Our IDE Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Unpacking and Importing the Bundled App into Our IDE Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Unpacking and Importing the Bundled App into Our IDE Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Unpacking and Importing the Bundled App into Our IDE Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Many platforms in the past have suffered stagnation when you download and install them. Spring Boot solves this by delivering its stack of open source components as a managed collection of versioned components that you can easily update. • Import the project into your IDE and it will start downloading the declared artifacts. • Switching to a different version of Spring Boot can be done by editing one setting in the build file. Adding supported dependencies is also easy thanks to Boot's self-managed list of versions. • With our build system in place and an app runner, we can now proceed to build our app, knowing that we can keep up with new releases and not have to start over from scratch every time. Defining the Domain 2 lectures 09:21 Creating a JPA Entity to Represent an Image When we upload images, there is always extra data that need to be associated with them. What is the easiest, simplest way to declare that data and associate it with an image? • Create an image-based class and flag it as a JPA entity via standard annotations • Add any necessary fields • Create an empty constructor to support JPA requirements, and a convenient constructor. Also add idiomatic getters and setters. Creating a Repository Interface for the Image Domain Object Declare a repository with a Java interface and extend it with a custom finder, writing zero code. • Create a custom repository by declaring an interface • Tour Spring Data's PagingAndSortingRepository • Create a custom finder method Defining the Domain. 2 lectures 09:21 Creating a JPA Entity to Represent an Image When we upload images, there is always extra data that need to be associated with them. What is the easiest, simplest way to declare that data and associate it with an image? • Create an image-based class and flag it as a JPA entity via standard annotations • Add any necessary fields • Create an empty constructor to support JPA requirements, and a convenient constructor. Also add idiomatic getters and setters. Creating a Repository Interface for the Image Domain Object Declare a repository with a Java interface and extend it with a custom finder, writing zero code. • Create a custom repository by declaring an interface • Tour Spring Data's PagingAndSortingRepository • Create a custom finder method Creating a JPA Entity to Represent an Image When we upload images, there is always extra data that need to be associated with them. What is the easiest, simplest way to declare that data and associate it with an image? • Create an image-based class and flag it as a JPA entity via standard annotations • Add any necessary fields • Create an empty constructor to support JPA requirements, and a convenient constructor. Also add idiomatic getters and setters. Creating a JPA Entity to Represent an Image When we upload images, there is always extra data that need to be associated with them. What is the easiest, simplest way to declare that data and associate it with an image? • Create an image-based class and flag it as a JPA entity via standard annotations • Add any necessary fields • Create an empty constructor to support JPA requirements, and a convenient constructor. Also add idiomatic getters and setters. Creating a JPA Entity to Represent an Image When we upload images, there is always extra data that need to be associated with them ring MVC "home" link to serve up a template • Write a simple Thymeleaf template to render the page of images Create a web template to display a page of images. • ...