Learning Spring Boot 2.0 - Second Edition

Use Spring Boot to build lightning-fast apps

Access cutting-edge content as it's created

Want access to this book right now? Read as we develop it as part of our Early Access program. Click here to find out more about Early Access.

Code Files

Learning Spring Boot 2.0 - Second Edition

Greg L. Turnquist

Use Spring Boot to build lightning-fast apps

Access cutting-edge content as it's created

Want access to this book right now? Read as we develop it as part of our Early Access program. Click here to find out more about Early Access.

Mapt Subscription
FREE
$29.99/m after trial
Early Access eBook
$25.20
RRP $35.99
Save 29%
Pre-Order Print
$44.99
RRP $44.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
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
Early Access eBook
Pre-Order Print
Start 30 Day Trial

Frequently bought together


Learning Spring Boot 2.0 - Second Edition Book Cover
Learning Spring Boot 2.0 - Second Edition
$ 35.99
$ 25.20
Spring Boot Cookbook - Second Edition Book Cover
Spring Boot Cookbook - Second Edition
$ 35.99
$ 25.20
Buy 2 for $35.00
Save $36.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781786463784
Paperback460 pages

Book Description

Spring Boot provides a variety of features that address today’s business needs with a powerful database and state of the art MVC framework. This practical guide will help you get up and running with all the latest features of Spring Boot.

The book starts off by helping you build a simple app, then show you how to bundle and deploy it to the cloud. From here, we take you through reactive programming showing you how to interact with controllers and templates and handle data access. Once you’re done, you can start testing using unit tests, slice, and embedded spring boot tests.

We also go into detail about developer tools, messaging, web sockets, security, and deployment. So if you want a good understanding of the core app functionality using Spring Boot, this is the book for you.

Table of Contents

Chapter 1: Quick Start with Java
Getting Started
Spring Boot starters
Running a Spring Boot application
Delving into Spring Boot's property support
Bundling up the application as a runnable JAR file
Deploying to Cloud Foundry
Adding production-ready support
Summary
Chapter 2: Developer Tools for Spring Boot Apps
Using Spring Boot's DevTools for hot code reloading
Using Spring Boot's autoconfiguration report
Making local changes and seeing them on the target system
Writing a custom health check
Adding build data to /info
Creating custom metrics
Creating custom CRaSH commands
Summary
Chapter 3: AMQP Messaging with Spring Boot
Getting started with RabbitMQ
Adding messaging as a new component to an existing application
Create message producer/message consumer
Add customized metrics to track message flow
Peeking at Spring Cloud Stream (with RabbitMQ)
Summary
Chapter 4: Microservices with Spring Boot
Quick primer on microservices
Dynamically registering and finding services with Eureka
Introduction to @SpringCloudApplication
Calling one microservice from another with client side load balancing
Implementing microservice circuit breakers
Monitoring circuits
Offloading microservice settings to a configuration server
Summary
Chapter 5: WebSockets with Spring Boot
Publishing saved comments to a chat service
Creating a chat service to handle WebSocket traffic
What is STOMP?
Moving to a fully asynchronous web client
Handling AJAX calls on the server
Introducing user chatting
Checking out the final product
JSR 356 vs. Spring Messaging
Summary
Chapter 6: Securing your App with Spring Boot
Securing a Spring Boot application
Using Spring session
Securing the chat microservice
Sharing session details with other microservices
Securing the images microservice
Wiring in image ownership
Tailoring the UI with authorization checks
Securing WebSockets
Tracing calls
Securing the Config Server
Securing the Eureka Server
Summary
Chapter 7: Taking Your App to Production with Spring Boot
Profile-based sets of beans
Creating configuration property beans
Override property settings in production
Pushing app to Cloud Foundry and adjusting the settings
Summary

What You Will Learn

  • Create powerful, production-grade applications and services with minimal fuss
  • Support multiple environments with one artifact, and add production-grade support with features 
  • Find out how to tweak your apps through different properties
  • Use custom metrics to track the number of messages published and consumed
  • Enhance the security model of your apps
  • Make use of reactive programming in Spring Boot
  • Build anything from light weight unit tests to fully running, embedded servlet integration tests

Authors

Table of Contents

Chapter 1: Quick Start with Java
Getting Started
Spring Boot starters
Running a Spring Boot application
Delving into Spring Boot's property support
Bundling up the application as a runnable JAR file
Deploying to Cloud Foundry
Adding production-ready support
Summary
Chapter 2: Developer Tools for Spring Boot Apps
Using Spring Boot's DevTools for hot code reloading
Using Spring Boot's autoconfiguration report
Making local changes and seeing them on the target system
Writing a custom health check
Adding build data to /info
Creating custom metrics
Creating custom CRaSH commands
Summary
Chapter 3: AMQP Messaging with Spring Boot
Getting started with RabbitMQ
Adding messaging as a new component to an existing application
Create message producer/message consumer
Add customized metrics to track message flow
Peeking at Spring Cloud Stream (with RabbitMQ)
Summary
Chapter 4: Microservices with Spring Boot
Quick primer on microservices
Dynamically registering and finding services with Eureka
Introduction to @SpringCloudApplication
Calling one microservice from another with client side load balancing
Implementing microservice circuit breakers
Monitoring circuits
Offloading microservice settings to a configuration server
Summary
Chapter 5: WebSockets with Spring Boot
Publishing saved comments to a chat service
Creating a chat service to handle WebSocket traffic
What is STOMP?
Moving to a fully asynchronous web client
Handling AJAX calls on the server
Introducing user chatting
Checking out the final product
JSR 356 vs. Spring Messaging
Summary
Chapter 6: Securing your App with Spring Boot
Securing a Spring Boot application
Using Spring session
Securing the chat microservice
Sharing session details with other microservices
Securing the images microservice
Wiring in image ownership
Tailoring the UI with authorization checks
Securing WebSockets
Tracing calls
Securing the Config Server
Securing the Eureka Server
Summary
Chapter 7: Taking Your App to Production with Spring Boot
Profile-based sets of beans
Creating configuration property beans
Override property settings in production
Pushing app to Cloud Foundry and adjusting the settings
Summary

Book Details

ISBN 139781786463784
Paperback460 pages
Read More

Read More Reviews

Recommended for You

Learning Angular 2 Book Cover
Learning Angular 2
$ 31.99
$ 22.40
Learning Spring Boot Book Cover
Learning Spring Boot
$ 26.99
$ 18.90
Mastering Concurrency Programming with Java 8 Book Cover
Mastering Concurrency Programming with Java 8
$ 43.99
$ 30.80
RESTful Java Web Services - Second Edition Book Cover
RESTful Java Web Services - Second Edition
$ 35.99
$ 25.20
Mastering Microservices with Java Book Cover
Mastering Microservices with Java
$ 35.99
$ 25.20
Data Analysis with Pandas and Python [Video] Book Cover
Data Analysis with Pandas and Python [Video]
$ 39.99
$ 34.00