Spring 5.0 By Example
- Length: 356 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2018-02-26
- ISBN-10: 1788624394
- ISBN-13: 9781788624398
- Sales Rank: #1339148 (See Top 100 Books)
Spring 5.0 By Example: Grasp the fundamentals of Spring 5.0 to build modern, robust, and scalable Java applications
Discover the real power of Spring Framework 5.0 and learn to create powerful applications in its newest version
Key Features
- Learn reactive programming by implementing a reactive application with Spring Webflux
- Create a robust and scalable messaging application with Spring messaging support
- Apply your knowledge to build three real-world projects in Spring
Book Description
With growing demands, organizations are looking for systems that are robust and scalable. Therefore, the Spring Framework has become the most popular framework for Java development. It not only simplifies software development but also improves developer productivity. This book covers effective ways to develop robust applications in Java using Spring.
The book has three parts, where each one covers the building of a comprehensive project in Java and Spring. In the first part, you will construct a CMS Portal using Spring’s support for building REST APIs. You will also learn to integrate these APIs with AngularJS and later develop this application in a reactive fashion using Project Reactor, Spring WebFlux, and Spring Data. In the second part, you’ll understand how to build a messaging application, which will consume the Twitter API and perform filtering and transformations. Here, you will also learn about server-sent events and explore Spring’s support for Kotlin, which makes application development quick and efficient. In the last part, you will build a real microservice application using the most important techniques and patterns such as service discovery, circuit breakers, security, data streams, monitoring, and a lot more from this architectural style.
By the end of the book, you will be confident about using Spring to build your applications.
What you will learn
- Implement REST APIs with Spring REST support
- Introduce the Spring Boot and understand how it makes creating robust applications extremely simple
- Understand how Spring Data helps us add persistence in MongoDB and SQL databases
- Introduce Reactive Programming and use this with Spring Webflux
- Implement a Reactive REST client and learn how it can create asynchronous applications
- Create a robust, scalable, and fault tolerant application with Spring Messaging
- Implement a websocket to add interactive behaviors in your applications
- Introduce the Spring Cloud projects
Who This Book Is For
If you’re a developer starting out with Spring, then this book will help you learn about the new Spring 5.0 framework concepts followed by their implementation in Java and Kotlin. The book will also help experienced Spring developers gain insights into the new features added in Spring 5.0.
Table of Contents
Chapter 1 Journey to the Spring World
Chapter 2 Starting in the Spring World – the CMS
Chapter 3 Persistence with Spring Data and Reactive Fashion
Chapter 4 Kotlin Basics and Spring Data Redis
Chapter 5 Reactive Web Clients
Chapter 6 Playing with Server-Sent Events
Chapter 7 Airline Ticket System
Chapter 8 Circuit Breakers and Security
Chapter 9 Putting It All Together