Spring Boot Inversion of Control and Dependency Injection

Offered By
Coursera Project Network
In this Guided Project, you will:

Create a Java GUI Application to Demonstrate Inversion of Control.

Modify a Spring Boot Application to use Constructor Dependency injection to inject a Random Number Generator.

Implement Setter-based Dependency Injection in the Spring Boot Application.

Clock2 hours
IntermediateIntermediate
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this project you will use the Spring Boot Framework to implement Inversion of Control and use the IOC framework to inject Dependency into an existing web service application. Traditional application development involves a main starting program that invokes libraries and functions to accomplish something. Inversion of control is used to simplify application development by allowing a Framework to handle the control in the application. In the Spring Boot Web Framework, the developer gives the framework the objects it needs to accomplish a task, such as providing a POJO to represent the data, but the control of the application is handled by the framework itself.

Skills you will develop

Rest Web ServiceInversion Of ControlJava ProgrammingDependency InjectionSpring Boot

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create a Java GUI Application to Demonstrate Inversion of Control.

  2. Build a Java Application that illustrates Dependency Injection.

  3. Modify a Spring Boot Application to use Constructor Dependency injection to inject a Random Number Generator.

  4. Implement Setter-based Dependency Injection in the Spring Boot Application.

  5. Add a Request Parameter for Secure Random option and Debug the Spring Application.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.