Booking options
£101.99
£101.99
On-Demand course
5 hours 6 minutes
All levels
From tackling cross-cutting project concerns with Spring to integrating Spring JDBC to work with databases, this course teaches you the essentials you need to know to confidently use the Spring framework container in the workplace.
By promoting excellent coding practices and speeding up development time, the Spring framework has proved its metal in the world of software development and is now the most in-demand skill for Java developers. If you're looking to get to grips with Spring and the important techniques and best practices, then this is the right course for you.
You'll start by configuring a project's dependencies to use Spring. Next, you'll understand the functionality and application of dependency injection and inversion of control in Spring. As you progress, you'll manage application properties and state using Spring property management and learn how to apply profiles in Spring. You'll also find out how to use proxies for making service methods transactional. Moving ahead, you'll get to grips with lifecycle and callback interfaces and the events needed to integrate and access lower-level components of the Spring container. Later, you'll get an overview of Spring JDBC and uncover techniques to work with databases. Finally, you'll delve into web application development with Spring.
By the end of this course, you'll be able to confidently work with existing Spring applications and build your own projects from the ground up.
All the resources and support files are available at https://github.com/PacktPublishing/Mastering-Spring-Framework-Fundamentals
Use properties in Spring applications
Apply profiles in Spring applications to manage property sets
Find out how a Spring container is used in modern Java applications
Autowire dependencies in the Spring container
Apply Spring to tackle cross-cutting project concerns
Build a Maven project to use Spring MVC
This course is for anyone who wants to learn Spring from the ground up. Experienced developers who want to reinforce their knowledge of Spring fundamentals and developers who are transitioning into Java technology will also find this course useful. Basic knowledge of Java and OOP concepts is necessary to get started with this course.
This course explains Spring concepts through engaging lectures that are conducted in an easy-to-understand manner. With the help of examples and activities, you'll learn how to work with the Spring framework in the real-world.
Get to grips with the Spring framework * Develop a solid understanding of Spring containers and their applications * Become well-versed with Spring MVC and web application development using Spring
https://github.com/PacktPublishing/Mastering-Spring-Framework-Fundamentals
Matthew Speake is a Java technologist and trainer. He has over 20 years of experience working everywhere from small start-ups to large global corporations and is the principal trainer at Zention in the UK. He started JavaEasily in 2018 to produce courses focused on teaching Java technology to students all around the world. Since then, JavaEasily has been busy creating and publishing courses and articles on different aspects of Java to help beginners and intermediate Java developers enhance their skills. JavaEasily helps you become a better Java developer by teaching you the core skills you need in order to succeed in your Java career.
1. Getting Started
1. Welcome to the Course This video introduces you to the course. |
2. Section Introduction This video provides an overview of what you will learn in this section. |
3. Key Spring Resources You Will Need to Know This video focuses on the useful resources that you will need to complete this course. |
4. Configuring a Project's Dependencies to Use Spring This video explains how to configure a project's dependencies to use Spring. |
5. Adding the Spring BOM to Manage Dependency Versions Better This video demonstrates how to add the Spring Bill of Material (BOM) to better manage the dependency versions. |
2. Creating the Spring Container with Application Contexts
1. Section Introduction This video provides an overview of what you will learn in this section. |
2. A Look at the Application Context (also known as The Spring Container) This video provides an overview of the Spring container. |
3. Creating the File System XML Application Context This video explains how to create a basic XML application file. |
4. Configuring Autocomplete while Writing Spring XML Configuration Files This video explains how to configure Autocomplete when you write the Spring XML configuration files. |
3. Creating, Retrieving, and Using Spring-Managed Beans
1. Section Introduction This video provides an overview of what you will learn in this section. |
2. Creating a Bean Managed Spring's XML Container Configuration This video explains how to create a Bean that is managed by Spring's XML container configuration. |
3. Retrieving and Using a Bean from the Spring Container This video explains how to retrieve and use a Bean from the Spring container. |
4. Using the Classpath XML Application Context This video demonstrates how to use the Classpath XML application context in your application. |
5. Understanding the Singleton Scope This video explains the Singleton Scope. |
6. Understanding the Prototype Scope This video explains the Prototype Scope. |
7. Understanding How Spring Creates Stateless Beans This video explains how Spring creates stateless Beans. |
4. Understanding Dependency Injection and Inversion of Control
1. Section Introduction This video provides an overview of what you will learn in this section. |
2. Coding Beans to Use Constructor Dependency Injection This video explains how to code Beans to use constructor dependency injection. |
3. Interpreting a Spring Container Exception This video explains how to interpret a Spring container injection. |
4. Applying Constructor Dependency Injection to XML Configuration This video demonstrates how to apply the constructor dependency injection to XML configuration. |
5. Verifying the Constructor Dependency Injection with the Debugger This video explains how to verify the constructor dependency injection with the debugger. |
6. Shareability of Beans in an Inversion of Control (IoC) Container This video explores the shareability of Beans in an IoC container. |
7. The Benefits of Dependency Injection in an Inversion of Control (IoC) Container This video discusses the benefits of dependency injection in an IoC container. |
8. Alternatives to Using Constructor Dependency This video explains the alternative to using a constructor dependency injection and discusses how it works. |
9. Coding Beans to Use Setter Dependency Injection This video explains how to create beans to use the Setter Dependency Injection. |
10. Applying Setter Dependency Injection in XML Configuration This video explains how to apply the Setter Dependency Injection in an XMl configuration file. |
11. Verifying the Setter Dependency Injection using the Debugger This video illustrates how to verify the Setter Dependency Injection using the debugger. |
5. Auto-wiring Dependencies in the Spring Container
1. Section Introduction This video provides an overview of what you will learn in this section. |
2. Adding Component Scanning to Auto-detect Spring Managed Bean Annotations This video explains how to add component scanning to auto-detect Spring-managed Bean annotations. |
3. Coding Beans to be Auto-managed and Auto-wired by Spring through Annotations This video explains how coding Beans can be auto-managed and auto-wired by Spring through annotations. |
4. The Advantage of Annotation-based Configuration over XML Configuration This video discusses the advantage of annotation-based configuration over XML configuration. |
5. Verifying the Annotation-driven Auto Wired Beans This video explains how to verify the annotation-driven auto- wired beans. |
6. Spring's Stereotype Annotations for Better Code Readability This video explores Spring's stereotype annotations for better code readability. |
7. Setter Dependency Injection with Annotations This video discusses the Setter Dependency Injection with annotations. |
8. Constructor Dependency Injection with Annotations This video discusses the Constructor Dependency Injection with annotations. |
9. Using the Annotation-based Application Context This video explains how to use the annotation-based application context. |
10. Creating a Java Configuration Class This video demonstrates how to create a Java configuration class. |
11. Applying Java-based Configuration with @Bean This video explains how to apply Java-based configuration with @Bean. |
12. Using Scopes with Java-based Configuration This video explains how to use scopes with Java-based configuration. |
13. Modeling a More Complex Application to Demonstrate Auto-wiring Ambiguity Issues This video illustrates how to model a more complex application to demonstrate auto-wiring ambiguity issues. |
14. Resolving Ambiguous Arguments of the Same Type by Narrowing the Reference Type This video explains how to resolve ambiguous arguments of the same type by narrowing the reference type. |
15. Resolving Ambiguous Arguments of the Same Type by Using @Qualifier This video explains how to resolve ambiguous arguments of the same type by using @Qualifier. |
6. Using Properties and Profiles in Spring Projects
1. Section Introduction This video provides an overview of what you will learn in this section. |
2. Injecting Properties Read from a Properties File with @Value in Spring Managed Bean This video explains how to inject properties that are read from a properties file with @Value in a Spring-managed bean. |
3. Exploring Property Overriding in Spring This video explains how to override a property in Spring. |
4. Accessing and Using Properties with the Property Placeholder in XML Configuration This video explains how to access and use properties with the Property Placeholder in an XML configuration file. |
5. Specifying Default Properties for Property Values This video explains how to specify default properties for property values. |
6. Exceptions for Missing Property Keys in Spring This video discusses the exceptions for missing property keys in Spring. |
7. Resolving and Using a Property Value in a Bean Definition in XML Configuration This video explains how to resolve and use a property value in a Bean definition in an XML configuration file. |
8. Accessing the Current Active Profiles using the Environment Interface This video explains how to access the current active profiles using the environment interface. |
9. Setting the Current Active Profile Programmatically and Through a Property Switch This video explains how to set the current active profile programmatically and through a property switch. |
10. Creating Profile-specific Bean Configuration This video demonstrates how to create a profile-specific bean configuration. |
11. Conditional Beans with @Profile This video explores conditional Beans with @Profile. |
7. Getting to Know the Spring Container
1. The Proxy Design Pattern This video explains the proxy design pattern. |
2. Seeing Proxies in Action This video illustrates the proxies in action. |
3. The Disadvantages of a Regular Proxy This video discusses the disadvantages of using a regular proxy. |
4. Understanding the Java Development Kit (JDK) Dynamic Proxies This video explains the JDK dynamic proxies. |
5. Dynamic Proxies in Spring This video explains the dynamic proxies in Spring. |
6. Understanding how Spring Makes Service Methods Transactional using Proxies This video explains how Spring uses proxies to make service methods transactional. |
7. Spring-managed Bean Lifecycle Callback Methods This video explains the callback methods used for the Spring-managed Beans. |
8. The Java Development Kit (JDK) Standard Lifecycle Annotations (@PostConstruct and @PreDestroy) This video explains the JDK standard lifecycle annotations: @PostConstruct and @PreDestroy. |
9. The Sequence of Spring Container Callbacks on a Spring-managed Bean This video discusses the sequence of container callbacks on a Spring-managed Bean. |
10. Application Container Callbacks and Events This video explains how container callbacks and events can be used in your applications. |
11. Using the *Aware Interfaces to Access Lower-level Spring Framework Components This video explains how to use the *Aware interfaces to access lower-level components of the Spring framework. |
8. Accessing Databases with Spring
1. Creating and Configuring Data Sources This video explains how to create and configure databases with Spring. |
2. Creating a Data Access Object to Access a Database This video demonstrates how to create a data access object to access a database. |
3. Connecting Pool Data Sources in Spring This video explains how to connect the pool data sources in Spring. |
4. Creating a Java Database Connectivity (JDBC) Template to Access a Database This video explains how to create a JDBC template to access a database. |
5. Using Java Database Connectivity (JDBC) Templates to Insert and Query Data This video demonstrates how to insert and query data using the JDBC template. |
6. Using Java Database Connectivity (JDBC) Data Access Object Pattern (DAO) Support to Remove Boilerplate JDBC Code This video explains how to remove boilerplate code using JDBC DAO support. |
9. Aspect-oriented Programming in Spring
1. Preparing a Spring Project to Use Aspects This video explains how to prepare a Spring project to use Aspects. |
2. Creating a Spring-managed Bean to be Intercepted This video demonstrates how to create a Spring-managed Bean that can be intercepted. |
3. Advising Beans in Spring This video explains how to create advising Beans in Spring. |
4. Understanding Pointcuts and Joinpoints This video explains Pointcuts and Joinpoints. |
5. Accessing Joinpoints Programmatically within an Aspect This video explains how to programmatically access the Joinpoints within an Aspect. |
6. Coding Dynamic Advice with Around This video explains how to code dynamic advice with Around. |
10. Web Application Development in Spring
1. Preparing a Maven Project to Use Spring Model-View-Controller (MVC) This video illustrates how to prepare a Maven project to use Spring MVC. |
2. Registering the Dispatcher Servlet as the Front Controller This video explains how to register the dispatcher servlet as the front controller. |
3. Creating the Web Application Context This video explains how to create a context for web applications. |
4. Creating a Controller Class This video demonstrates how to create a controller class. |
5. Configuring the Jetty Plug-in in Maven to Run a Web Application This video explains how to configure the Jetty plug-in in Maven to run a web application. |
6. Setting Up Remote Debugging of a Web Application This video explains how to set up remote debugging of a web application. |
7. Understanding the Dispatcher Servlet Processing Flow This video explains the flow of the dispatcher servlet process. |
8. Writing a Controller to Service Web Requests This video explains how to write a controller to service web requests. |
9. Rendering a Jakarta Server Pages (JSP) Based View with View Resolvers This video explains how to render a JSP-based view with view resolvers. |
10. Understanding How a Request is Serviced This video explains how to service a request. |
11. Passing a Model to the View for More Dynamic Pages This video explains how to pass a model to the View for more dynamic pages. |
12. Injecting the HTTP Servlet Request and Response into a Controller This video explains how to inject the HTTP servlet request and response into a controller. |
13. Passing Request Parameters and Query Strings to a Controller This video demonstrates how to pass request parameters and query strings to a controller. |
14. Using Path Variables to Access Parts of the Request Path This video explains how to use the path variables to access parts of the request path. |