Mastering Spring 5.0

Develop cloud native applications with microservices using Spring Boot, Spring Cloud, and Spring Cloud Data Flow
Preview in Mapt

Mastering Spring 5.0

Ranga Karanam

2 customer reviews
Develop cloud native applications with microservices using Spring Boot, Spring Cloud, and Spring Cloud Data Flow

Quick links: > What will you learn?> Table of content> Product reviews

Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Mastering Spring 5.0 Book Cover
Mastering Spring 5.0
$ 39.99
$ 28.00
Spring 5.0 Microservices - Second Edition Book Cover
Spring 5.0 Microservices - Second Edition
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781787123175
Paperback496 pages

Book Description

Spring 5.0 is due to arrive with a myriad of new and exciting features that will change the way we’ve used the framework so far. This book will show you this evolution—from solving the problems of testable applications to building distributed applications on the cloud.

The book begins with an insight into the new features in Spring 5.0 and shows you how to build an application using Spring MVC. You will realize how application architectures have evolved from monoliths to those built around microservices. You will then get a thorough understanding of how to build and extend microservices using Spring Boot. You will also understand how to build and deploy Cloud-Native microservices with Spring Cloud. The advanced features of Spring Boot will be illustrated through powerful examples. We will be introduced to a JVM language that’s quickly gaining popularity - Kotlin. Also, we will discuss how to set up a Kotlin project in Eclipse.

By the end of the book, you will be equipped with the knowledge and best practices required to develop microservices with the Spring Framework.

Table of Contents

Chapter 1: Evolution to Spring Framework 5.0
Spring Framework
Why is Spring Framework popular?
Spring modules
Spring Projects
New features in Spring Framework 5.0
Spring Boot 2.0 new features
Summary
Chapter 2: Dependency Injection
Understanding dependency injection
Summary
Chapter 3: Building a Web Application with Spring MVC
Java web application architecture
Basic flows
An overview of Spring MVC
Important concepts behind Spring MVC
Spring MVC - advanced features
Spring Security
Summary
Chapter 4: Evolution toward Microservices and Cloud-Native Applications
Typical web application architecture with Spring
Problems solved by Spring
Application development goals
Challenges with monolithic applications
Understanding microservices
Cloud-Native applications
Spring projects
Summary
Spring Framework
Why is Spring Framework popular?
Spring modules
Spring Projects
New features in Spring Framework 5.0
Spring Boot 2.0 new features
Summary
Chapter 5: Building Microservices with Spring Boot
What is Spring Boot?
Spring Boot Hello World
What is REST?
First REST service
Creating a todo resource
Spring Initializr
A quick peek into auto-configuration
Summary
Chapter 6: Extending Microservices
Exception handling
HATEOAS
Validation
Documenting REST services
Securing REST services with Spring Security
Internationalization
Caching
Summary
Chapter 7: Advanced Spring Boot Features
Externalised configuration
Embedded servers
Developer tools
Spring Boot Actuator
Deploying ;an application to Cloud
Summary
Chapter 8: Spring Data
Background - data stores
Spring Data
Spring Data Rest
Big Data
Summary
Chapter 9: Spring Cloud
Introducing Spring Cloud
Demo microservices setup
Centralized microservice configuration
Spring Cloud Bus
Declarative REST Client - Feign
Load balancing
The Name server
Workings of Name server
API Gateways
Distributed tracing
Hystrix - fault tolerance
Summary
Chapter 10: Spring Cloud Data Flow
Message-based asynchronous communication
Spring projects for asynchronous messages
Spring Cloud Stream
Spring Cloud Data Flow
Spring Cloud Task
Summary
Chapter 11: Reactive Programming
The Reactive Manifesto
Reactive use case - a stock price page
Reactive programming in Java
Summary
Chapter 12: Spring Best Practices
Maven standard directory layout
Layered architecture
Exception handling
Keeping your Spring configuration light
Managing dependency versions for Spring Projects
Unit testing
Integration testing
Caching
Logging
Summary
Chapter 13: Working with Kotlin in Spring
Kotlin
Kotlin versus Java
Creating a Kotlin project in Eclipse
Creating a Spring Boot project using Kotlin
Implementing a REST service using Kotlin
Summary

What You Will Learn

  • Explore the new features in Spring Framework 5.0
  • Build microservices with Spring Boot
  • Get to know the advanced features of Spring Boot in order to effectively develop and monitor applications
  • Use Spring Cloud to deploy and manage applications on the Cloud
  • Understand Spring Data and Spring Cloud Data Flow
  • Understand the basics of reactive programming
  • Get to know the best practices when developing applications with the Spring Framework
  • Create a new project using Kotlin and implement a couple of basic services with unit and integration testing

Authors

Table of Contents

Chapter 1: Evolution to Spring Framework 5.0
Spring Framework
Why is Spring Framework popular?
Spring modules
Spring Projects
New features in Spring Framework 5.0
Spring Boot 2.0 new features
Summary
Chapter 2: Dependency Injection
Understanding dependency injection
Summary
Chapter 3: Building a Web Application with Spring MVC
Java web application architecture
Basic flows
An overview of Spring MVC
Important concepts behind Spring MVC
Spring MVC - advanced features
Spring Security
Summary
Chapter 4: Evolution toward Microservices and Cloud-Native Applications
Typical web application architecture with Spring
Problems solved by Spring
Application development goals
Challenges with monolithic applications
Understanding microservices
Cloud-Native applications
Spring projects
Summary
Spring Framework
Why is Spring Framework popular?
Spring modules
Spring Projects
New features in Spring Framework 5.0
Spring Boot 2.0 new features
Summary
Chapter 5: Building Microservices with Spring Boot
What is Spring Boot?
Spring Boot Hello World
What is REST?
First REST service
Creating a todo resource
Spring Initializr
A quick peek into auto-configuration
Summary
Chapter 6: Extending Microservices
Exception handling
HATEOAS
Validation
Documenting REST services
Securing REST services with Spring Security
Internationalization
Caching
Summary
Chapter 7: Advanced Spring Boot Features
Externalised configuration
Embedded servers
Developer tools
Spring Boot Actuator
Deploying ;an application to Cloud
Summary
Chapter 8: Spring Data
Background - data stores
Spring Data
Spring Data Rest
Big Data
Summary
Chapter 9: Spring Cloud
Introducing Spring Cloud
Demo microservices setup
Centralized microservice configuration
Spring Cloud Bus
Declarative REST Client - Feign
Load balancing
The Name server
Workings of Name server
API Gateways
Distributed tracing
Hystrix - fault tolerance
Summary
Chapter 10: Spring Cloud Data Flow
Message-based asynchronous communication
Spring projects for asynchronous messages
Spring Cloud Stream
Spring Cloud Data Flow
Spring Cloud Task
Summary
Chapter 11: Reactive Programming
The Reactive Manifesto
Reactive use case - a stock price page
Reactive programming in Java
Summary
Chapter 12: Spring Best Practices
Maven standard directory layout
Layered architecture
Exception handling
Keeping your Spring configuration light
Managing dependency versions for Spring Projects
Unit testing
Integration testing
Caching
Logging
Summary
Chapter 13: Working with Kotlin in Spring
Kotlin
Kotlin versus Java
Creating a Kotlin project in Eclipse
Creating a Spring Boot project using Kotlin
Implementing a REST service using Kotlin
Summary

Book Details

ISBN 139781787123175
Paperback496 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Spring 5.0 Microservices - Second Edition Book Cover
Spring 5.0 Microservices - Second Edition
$ 39.99
$ 28.00
Spring: Developing Java Applications for the Enterprise Book Cover
Spring: Developing Java Applications for the Enterprise
$ 67.99
$ 47.60
Spring Boot Cookbook - Second Edition Book Cover
Spring Boot Cookbook - Second Edition
$ 35.99
$ 25.20
Spring 5.0 Cookbook Book Cover
Spring 5.0 Cookbook
$ 39.99
$ 28.00
Spring MVC: Designing Real-World Web Applications Book Cover
Spring MVC: Designing Real-World Web Applications
$ 69.99
$ 49.00
Building Web Apps with Spring 5 and Angular 4 Book Cover
Building Web Apps with Spring 5 and Angular 4
$ 39.99
$ 28.00