Creating Your First Spring Boot Application

This course will introduce the Spring Boot framework and how it works in the Spring Ecosystem. You'll learn Spring Boot by building a full Spring Stack app from scratch.
Course info
Rating
(450)
Level
Intermediate
Updated
Mar 16, 2016
Duration
2h 35m
Table of contents
Description
Course info
Rating
(450)
Level
Intermediate
Updated
Mar 16, 2016
Duration
2h 35m
Description

This course introduces developers to the Spring Boot framework. Spring Boot is a new way of looking at Spring development and Java applications. Developers will learn the core aspects of Spring Boot by coding through the basics with a sample application. First, is the stand-alone architecture of Spring Boot. No more containers and XML files. Your app runs as a pure Java app and can be deployed in any environment that runs Java, including cloud platforms. Second, developers will learn about the Spring Boot starters. These starters allow quick and easy integration with many Spring technologies and 3rd Party libraries and frameworks. Starters also provide the concept of auto-configuration allowing developers to incorporate concepts such as data sources or REST services. By the end of this course, developers will be able to understand the Spring Boot architecture and how it plugs in and works with core Spring. They will be able to install Spring Boot, configure it, and utilize many of the framework's features.

About the author
About the author

Dan is the Scripted Practice Manger for Software Technology Group. Dan also works with the Java Practice Team and specializes in Spring, Ruby, Python, Groovy, JavaScript, and PHP. In his free time, Dan provides Jazz Guitar lessons.

More from the author
Heroku: Getting Started
Beginner
2h 8m
2 Nov 2017
More courses by Dan Bunker
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hello everyone, my name is Dan Bunker, and welcome to my course on Spring Boot called Creating Your First Spring Boot Application. I'm a software consultant at Software Technology Group based out of Salt Lake City, Utah. In this course we're going to build a full stack application from scratch using the Spring Boot architecture and framework. A few of the course topics that will be covered are Spring Boot starters, container-less deployments, Spring Boot auto-configuration, and how to test your application with Spring Boot. At the end of this course you will know the fundamentals of Spring Boot and how to work with it on a real world project. To get the most out of the course, you should be familiar with Java and some basic Spring fundamentals before starting the course. Once you've completed this course you can continue working on Spring-related technologies by going more in depth with courses on Java, Core Spring, Spring MVC, Spring Data, JPA, and Spring JDBC. You can also enhance your full stack application development power by looking at front-end application technologies like Angular or React. I hope you'll join me on this journey to learn Spring Boot with creating your first Spring Boot application course at Pluralsight.

Creating Your First Spring Boot Project
Hi, this is Dan Bunker with Pluralsight, and welcome to my course on Creating your First Spring Boot Application. Spring Boot is a fairly large topic when combined with Spring, so this course will cover the fundamentals of working with Spring Boot while creating an application. This course is geared towards the beginner or intermediate Spring develop and we'll introduce Spring Boot in that context, giving you an understanding of what it is, how to use it out the gate, and cover the fundamental concepts and architecture of the framework. I will say this about Spring Boot, this platform is a game changer for Java applications. If you've never had a chance to use Spring Boot before, get ready for a paradigm shift in how you think about building web applications with Java technologies. I'm excited to show you just how great Spring Boot is, so we're going to go ahead and get started immediately with building a web app from scratch.

Creating Web Apps
Hey, this is Dan Bunker with Pluralsight. We are working with Spring Boot in this course and we've already got a project created that is waiting for us to start coding up our shipwreck diving application. In this module we're going to see how to set up Spring MVC to handle communicating with our web client via a REST API. Spring Boot auto-configures Spring MVC for us, so we'll take a look at how to create controllers, configure Spring MVC with Spring Boot application properties, and learn where to put web-related resources, like HTML, CSS, and JavaScript so Spring Boot's embedded container can properly serve the web resources up to a browser. Make sure that your Spring Boot application we made in the first section of this course is working and running okay before continuing on because we're going to do a lot of learning by coding in this module. Let's get started by seeing what our goals are before we do some coding.

Configuring and Accessing a Data Source
Hey, this is Dan Bunker with Pluralsight. No web application is of any worth unless there's a proper DataSource and DataSource configured for it. In this module we're going to focus on how to use Spring Boot to integrate a DataSource in an appropriate JDBC driver for our shipwreck application. This will involve working with the Spring Boot starters and the auto-configuration as we work with the Spring Data JPA framework, entity models, and the Flyway database migration framework. By the end of this module you'll not only be able to use and work with DataSources in a Spring Boot app, but you'll also have a better understanding of what it takes to integrate Spring and third-party frameworks using the Spring Boot starters. We'll get started by covering the application architecture we'll be working with and then jump into a demo as we provision a database to use with our application.

Testing the Spring Boot Project
Hey, this is Dan Bunker with Pluralsight. If you've made it this far in my Spring Boot course you should have a working app that's using Spring, and a few other frameworks in a Spring Boot-centered application. One thing that I haven't covered in any of the previous demos and modules in this course is testing. Over the years, as I've consulted with various teams and companies, one thing is pretty consistent, and that is the lack of testing in most organizations. Perhaps your team is one of those teams that has good intentions on testing, but it always gets put off or ignored as the projects get rolling. Why is testing so hard to do consistently? Everyone knows the benefits of testing, but why is it often not done? I think there are a couple of reasons testing has a lower importance on most teams. First, creating and integrating and maintaining tests is often difficult. And second, unless you're an engineer that has done a lot of testing, and seen its importance and value, you probably won't place it high on your priority list to learn, and make a part of your development process. Fortunately, Spring Boot is making integrating and working with tests easier than ever before. Let's see what Spring Boot can do for us in this space.