Course Overview Hi, everyone. My name is Bryan Hansen, and welcome to my course Spring Fundamentals. I am the director of Software Development for Software Technology Group. The Spring Framework has taken the Java community by storm, making web and enterprise development much simpler than it previously was. In this course we are going to cover the fundamentals of Spring development by going through the various configuration methods that are available inside of Spring. Some of the major topics that we will cover include XML configuration, XML configuration using annotations, Java configuration, and how to read in properties files using the Spring Framework. By the end of this course you'll know the configuration methods available in Spring and how they'll benefit your code. Before beginning the course, you should be familiar with Java, but no previous Spring experience is required. From here you should feel comfortable diving into courses on Spring MVC, Spring data JPA, and Spring Security. I hope you'll join me on this journey to learn the fundamentals of Spring Development with the Spring Fundamentals course at Pluralsight.
Introduction What is all the hype around the Spring framework? Do you already know that you want to learn Spring but aren't sure where to start? Hello, I'm Bryan Hansen and welcome to my course on Spring Fundamentals on Pluralsight. In this course, we are going to be learning about developing with Spring, and we will use the various configuration methods to illustrate some common problems we often face in software development. We will develop part of an application without Spring and then show how to configure that part of an application using XML in Spring, Java configuration, and then lastly, annotations in Spring.
Architecture and Project Setup Let's talk about the architecture of Spring and the application we will build in this course. We will walk through the basic project setup and historical approach to what Spring solves. We're also going to build a small sample application in this module that will show you the concepts that Spring will help us with.
Spring XML Configuration Let's talk about configuring Spring using XML. We're going to take the sample application that we built in the previous module and wire up that application with XML using the Spring framework.
Spring Annotation Configuration Using XML In this module, we'll walk through the configuration of Spring using XML and annotations. We're going to take the sample application that we had created in the previous modules, and wire up that application using annotations configured through XML. Annotation configuration was the second method available in Spring to wire up your application. We're going to copy our sample project, and wire up our application with a little bit of XML, and most of the configuration done in Spring using annotations.
Spring Configuration Using Java In this module, we will walk through the configuration of Spring using just Java. We're going to take the sample application that we had created previously and wire that application up using just the Java annotations and the Java Configuration loader. Java Configuration in Spring is the latest method available for wiring up your Spring application. It was introduce simply because some people don't like mixing XML and source code together for configuration. Like in previous modules, we're going to copy our sample project and then wire it up using Java and a few annotations to show you how all of this works together.
Bean Scopes In this module, we will discuss the various scopes that are available inside the Spring framework, and how you can use those while configuring your beans. Bean scopes are a very important part of the bean life cycle, and we will show you how you can use the different scopes to get different behaviors from your application. We will be editing the existing projects that we have created, instead of copying them and creating new ones.
Properties In this module, we will discuss how to import properties files using the Spring framework. Properties files are a great way to abstract out values that can change with each environment. Oftentimes, we have different things like passwords, URLs, and various connection information that needs to be extracted from our source code. Using properties files, coupled with Spring, is a great way to abstract out that configuration information. If you've ever had to recompile your source code to move from one environment to the next because something changed that was hard-coded inside your application, you're aware of what I'm referring to when I say different environmental information. Let's look at that configuration now.
Next This concludes this course on Spring Fundamentals on Pluralsight and you maybe wondering what to do next. A few course recommendations would be to do the introduction to Spring MVC course which really is an extension of this course on Spring web enabled applications. The follow up to that is the Spring MVC 4 course, where we focus on Java configuration using Spring MVC 4. Next in the series would be the Spring Data JPA with Hibernate course which continues building on what you learn in Spring MVC courses and we'll show you how to integrate hibernate into a web application which can often be a confusing and hard task if you're not clear with all the steps of what's going on with Spring. Other courses I would recommend are Spring Security and the Design Patterns in Java series that I've also published on Pluralsight. As always, I also accept courses recommendations through my LinkedIn profile or through Twitter which you can see my credentials at the beginning of this course and on my profile at Pluralsight. Thanks again for watching.