asketbace1999 / hands-on-spring

Hands-on Spring Guide tutorials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hands-on-spring

Quick Start

Hands-on the tutorial.

Dependencies:

  • Spring Web

You will build a classic “Hello World!” endpoint which any browser can connect to. You can even tell it your name, and it will respond in a more friendly way.

REST service

Hands-on the tutorial. Building a RESTful Web Service.

Dependencies:

  • Spring Web

This guide walks you through the process of creating a “Hello, World” RESTful web service with Spring.

  • Create a Resource Representation Class
  • Create a Resource Controller

Spring Boot

Hands-on the tutorial. Building an Application with Spring Boot.

Dependencies:

  • Spring Web

This guide is meant to give you a quick taste of Spring Boot.

  • Create a Simple Web Application
  • Create an Application Class
  • Add Unit Test
  • Add Production-grade Services

Accessing Data JPA

Hands-on the tutorial. Accessing Data with JPA.

Dependencies:

  • Spring Data JPA
  • H2 Database

This guide walks you through the process of building an application that uses Spring Data JPA to store and retrieve data in a relational database.

  • Define a Simple Entity
  • Create Simple Queries
  • Create an Application Class

Accessing Data REST

Hands-on the tutorial. Accessing JPA Data with REST.

Dependencies:

  • H2 Database
  • Spring Data JPA
  • Rest Repositories

This guide walks you through the process of creating an application that accesses relational JPA data through a hypermedia-based RESTful front end.

  • Create a Domain Object
  • Create a Person Repository
  • Test the Application (with curl)

Managing Transactions

Hands-on the tutorial. Managing Transactions.

Dependencies:

  • Spring Data JDBC
  • H2 Database

This guide walks you through the process of wrapping database operations with non-intrusive transactions.

  • Create a Booking Service
  • Build an Application

Handling Form Submission

Hands-on the tutorial. Handling Form Submission.

Dependencies:

  • Spring Web
  • Thymeleaf

This guide walks you through the process of using Spring to create and submit a web form.

  • Create a Web Controller

Messaging Stomp Websocket

Hands-on the tutorial. Using WebSocket to build an interactive web application.

Dependencies:

  • WebSocket

This guide walks you through the process of creating a “Hello, world” application that sends messages back and forth between a browser and a server.

  • Create a Resource Representation Class
  • Create a Message-handling Controller
  • Configure Spring for STOMP messaging

REST Service CORS

Hands-on the tutorial. Enabling Cross Origin Requests for a RESTful Web Service.

Dependencies:

  • Spring Web
  • httpclient

This guide walks you through the process of creating a “Hello, World” RESTful web service with Spring that includes headers for Cross-Origin Resource Sharing (CORS) in the response.

  • Create a Resource Representation Class
  • Enabling CORS

Spring Boot Docker

Hands-on the tutorial. Spring Boot with Docker.

Dependencies:

  • Spring Web

This guide walks you through the process of building a Docker image for running a Spring Boot application.

Accessing Data MySQL

Hands-on the tutorial. Create a MySQL database, build a Spring application, and connect it to the newly created database.

Use MySQL Commond Line Client on windows 10.

@RequestBody 和@RequestParam 的请求方式 get 和 post 关系

Accessing Data MongoDB

Hands-on the tutorial. This guide walks you through the process of using Spring Data MongoDB to build an application that stores data in and retrieves it from MongoDB, a document-based database.

Warning: the "mongo" shell has been superseded by "mongosh"

About

Hands-on Spring Guide tutorials.


Languages

Language:Java 85.0%Language:HTML 9.4%Language:JavaScript 5.0%Language:Dockerfile 0.6%