What you should know

From the course: Learning Spring with Spring Boot

Start my 1-month free trial
  • Course details

    Spring is the hugely popular framework for developing Java applications in the enterprise space. In this course, discover how to leverage Spring Boot, which takes an opinionated view of the Spring platform. Follow Frank Moley as he walks through how to use Spring Boot to quickly and efficiently develop a practical, enterprise-style web application. As Frank explains how to develop the app, he helps to familiarize you with the general Spring framework. Plus, Frank dives into some of the basic projects of Spring that you can use to develop Java-based applications.

    Instructor

    • Click here to view Frank P Moley III’S instructor page

      Frank P Moley III

      Technical Manager, Cloud Native Coder, System Designer, Security focused, Teacher, Student

      Frank Moley is a senior software engineer at DataStax, where he works on cloud-based systems.

      Frank's passions include modern application architectures and containerization of systems in multi-cloud, public and private cloud, and hybrid offerings. His passions extend beyond developing software into security, data design and modeling, DevOps and agility, and quality. His greatest professional passion, however, is education, as both a teacher and student. He strives to learn something new every day and then teach it to as many people as he can.

    Skills covered in this course

  • Learn rapid development with Spring Boot

    - [Man] Before we get started with Spring, we have a little housekeeping to do first. First and foremost, we will be using Java. You need to have a Java 11 JDK installed on your machine and available on your path. I won't go into explaining how to install Java on your machine, but a quick web search of JDK install and your operating system, should give you clear instructions. Now, you will need to know the basics of the Java language. While I won't get too deep into the more obscure aspects of the language, I will expect your knowledge of the language to be sufficient, such that I won't have to actually focus time on the Java itself because I won't be focusing on the Java code, but instead, on what we are doing with Spring itself. With that being said, I am focused solely on teaching Spring here, so if there's a question about the Java code, you're going to need to do a little bit of fact finding to figure out what I'm doing. The most obscure thing I will probably do is some Lambda operations. I may do some things that would never be used in production code, and I will call them out when they relate to Spring, but for the purposes of demo, sometimes good enough is just that. So, keep that in mind that this is demo code and not production. We will also need to build a dependency management system, and for that we will use Maven. Now out of the box, Spring supports the two most popular dependency management and build systems for Java, both Maven and Gradle. If you want to learn more about Maven, I have a course here on LinkedIn Learning, introducing Maven, that you may find beneficial. That being said, the only reason we are using Maven, is to manage dependencies. If you want to use Gradle instead, feel free to do so. Now, when it comes to Maven, you just need to have it installed on your machine, and on your path. The documentation for installing it from Apache, for your specific operating system, should be very straight forward. We will be using an in-memory embedded database for some of this course, however we will also use an external database, to show you a more production like scenario. For that purpose, I will be using Postgres. If you want to work exactly like I am, you will need to have Docker up and running on your machine. Once again, the Vendor provides very detailed documentation for your operating system. If you don't want to use Docker, you are free to install native Postgres on your machine as well, but you're on your own with that. You can also use a remote or cloud-based Postgres if you really want to, or if you have access. The point here is that all of these options are really treated the same, from a Spring perspective, and as such, you can do what you want here. I will use Docker because it's how I do work most effectively in my development routine and my full-time job. The final piece of software you will need to have available is an IDE. Now, you could be a glutton for punishment and use a text editor, that's how I started writing Java, but I wouldn't recommend it. Any Java focused IDE is sufficient for this course. Consider the availability of dedicated Spring plug-ins however, they exist for the most popular IDEs and tend to offer insights into your runtime, that is very helpful if indeed you do use an IDE to run and debug your code. Now, I will be using JetBrains IntelliJ Ultimate Edition. This is a paid IDE, but I've been a very big fan of their products from all of the languages that I use. I may have some features available in my IDE, that free versions just don't have. I will do my best to stay away from those in most cases. So now, let's jump into the Spring framework.

  • Practice while you learn with exercise files

    Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.

    Download the exercise files for this course. Get started with a free trial today.

  • Download courses and learn on the go

    Watch courses on your mobile device without an internet connection. Download courses using your iOS or Android LinkedIn Learning app.

    Watch this course anytime, anywhere. Get started with a free trial today.

Contents