Spring Boot 2.0 Projects
Build production-grade reactive applications and microservices with Spring Boot
Mohamed Shazin Sadakath
- 336 pages
- English
- ePUB (adapté aux mobiles)
- Disponible sur iOS et Android
Spring Boot 2.0 Projects
Build production-grade reactive applications and microservices with Spring Boot
Mohamed Shazin Sadakath
Ă propos de ce livre
Develop diverse real-life projects including most aspects of Spring Boot
Key Features
- Run production-grade based applications using the Spring WebFlux framework
- Learn to develop high performance, asynchronous applications with Spring Boot
- Create robust microservice-based applications with Kotlin using Spring Boot
Book Description
Spring is one of the best tools available on the market for developing web, enterprise, and cloud-ready software. The goal of Spring Boot is to provide a set of tools for quickly building Spring applications that are easy to configure, and that make it easy to create and run production-grade Spring-based applications. Spring Boot 2.0 Projects will get you acquainted with important features of the latest version of this application-building tool and will cover basic, as well as advanced topics.
The book starts off by teaching you how to create a web application using Spring Boot, followed by creating a Spring Boot-based simple blog management system that uses Elasticsearch as the data store. As you make your way through the chapters, you'll build a RESTful web services application using Kotlin and the Spring WebFlux framework. Spring WebFlux is a new framework that helps in creating a reactive application in a functional way. Toward the end of the book, you will build a taxi-hailing API with reactive microservices using Spring Boot and a Twitter clone with a Spring Boot backend. Finally, you'll learn how to build an asynchronous email formatter.
What you will learn
- Learn the fundamental features of Spring Boot 2.0
- Customize Spring Boot 2.0 applications
- Build a basic web application
- Use Redis to build a taxi-hailing API
- Create a simple blog management system and a Twitter clone
- Develop a reactive RESTful web service with Kotlin using Spring Boot
Who this book is for
This book is for competent Spring developers who wish to understand how to develop complex yet scalable applications with Spring Boot. You must have a good knowledge of Java programming and be familiar with the basics of Spring.
Foire aux questions
Informations
Building an API with Reactive Microservices
- Using Spring Data Redis for persistence
- Using Spring WebFlux for controllers
- Using asynchronous data transfer for cross-microservice communication
- Using Docker to support microservices
- Demonstrating Saber
Technical requirements
- To install Java Development Kit (JDK) 8, download it from its official page at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- To install Maven 3, download it from its official page at https://maven.apache.org/download.cgi
- To install IntelliJ IDEA, download it from its official page at https://www.jetbrains.com/idea/download/
- To install Spring Tool Suite (STS), download it from its official page at https://spring.io/tools
- To install Docker, download it from its official page at https://www.docker.com/get-docker
Getting started
Microservices architecture
- Service components: The components in a microservice architecture are services that can communicate via a web request, RPC call, and so on. Unlike library components in a monolithic application where communication happens between library components via in-memory, in-process calls internally without an external API.
- Organized by business domain: In a monolithic application, l...