Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Codecademy

Learn Spring

via Codecademy

Overview

Build an API using the Spring framework and Java language

### Why Learn Spring?

If you want to build reliable web APIs, expand your Java knowledge, and develop market-ready skills, Spring is your framework. The Spring framework was ranked as one of the most popular Java frameworks by sources like [HackerRank](https://research.hackerrank.com/developer-skills/2020) and [Snyk](https://snyk.io/blog/jvm-ecosystem-report-2018-platform-application/). This course focuses on building APIs (application programming interfaces), but Spring can be used to build much more, including cloud services, front-end web apps, and microservices.

### Take-Away Skills

In this course, you will learn how to build RESTful APIs with the annotations-based approach to Spring and Spring Boot. You'll first get acquainted with the framework, exploring the file structure, and starting up your own Spring app on your computer. We'll show you how to test it with both your browser and the curl command-line tool. After that, you'll learn how to handle, route, and respond to requests using controllers. Next, you'll get under the hood of Spring, learning how Spring beans, the application context, dependency injection, and Spring Boot work together. Finally, you'll learn how to define, store, and edit information in your database using JPA and H2 technology.

Syllabus

  • How Spring Works: Learn how the web works and how Spring fits into it
    • Lesson: Hello Spring
    • Article: Spring Project Layout and Running Locally
    • Quiz: Hello Spring Quiz
    • Article: What is curl?
    • Quiz: What is curl?
  • Spring Controllers: Build Spring controllers using Java and Spring annotations
    • Lesson: Responding to Requests with Spring
    • Quiz: Spring Controllers
    • Project: Travel Adventures API
  • Boots and Beans: Learn about the technology underlying the Spring framework: Spring beans and Spring Boot
    • Article: What is a Spring Bean?
    • Article: What is Spring Boot?
  • Data Strategies: Learn best practices for handling data in Spring applications
    • Article: What is CRUD?
    • Article: Spring Data Options
  • Spring Data and JPA: Add a database to your Spring application
    • Lesson: Add a Database with JPA
    • Lesson: Custom Queries with JPA
    • Quiz: REST Services with JPA
    • Project: The Boots Bootique
    • ExternalResource: Working with the H2 Console

Reviews

4.3 rating at Codecademy based on 195 ratings

Start your review of Learn Spring

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.