Learning Spring 5.0

Build, test, and secure robust enterprise-grade applications using the Spring Framework
Preview in Mapt

Learning Spring 5.0

Tejaswini Mandar Jog

1 customer reviews
Build, test, and secure robust enterprise-grade applications using the Spring Framework

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

Mapt Subscription
FREE
$20.83/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


Learning Spring 5.0 Book Cover
Learning Spring 5.0
$ 39.99
$ 28.00
Mastering Spring 5.0 Book Cover
Mastering Spring 5.0
$ 39.99
$ 28.00
Buy 2 for $35.00
Save $44.98
Add to Cart

Book Details

ISBN 139781787120341
Paperback422 pages

Book Description

Spring is the most widely used framework for Java programming and with its latest update to 5.0, the framework is undergoing massive changes. Built to work with both Java 8 and Java 9, Spring 5.0 promises to simplify the way developers write code, while still being able to create robust, enterprise applications.

If you want to learn how to get around the Spring framework and use it to build your own amazing applications, then this book is for you.

Beginning with an introduction to Spring and setting up the environment, the book will teach you in detail about the Bean life cycle and help you discover the power of wiring for dependency injection. Gradually, you will learn the core elements of Aspect-Oriented Programming and how to work with Spring MVC and then understand how to link to the database and persist data configuring ORM, using Hibernate.

You will then learn how to secure and test your applications using the Spring-test and Spring-Security modules. At the end, you will enhance your development skills by getting to grips with the integration of RESTful APIs, building microservices, and doing reactive programming using Spring, as well as messaging with WebSocket and STOMP.

Table of Contents

Chapter 1: Spring at Glance
Introduction to the Spring Framework
Problems addressed by Spring
Spring architecture
What more Spring supports underneath?
Spring road map
Container - the heart of Spring
How are beans made available from container?
Chapter 2: Dependency Injection
The life of a bean
Using JSR-250 annotations for the bean life cycle
Instance creation
Dependency injection
Summary
Chapter 3: Accelerate with Spring DAO
Handling databases
Handling exceptions
Object relation mapping
Summary
Chapter 4: Aspect-Oriented Programming
Core and cross-cutting concerns
Summary
Chapter 5: Be Consistent - Transaction Management
Understanding transactions
Life cycle of transaction management
Summary
Chapter 6: Exploring Spring MVC
Features for faster development
The Spring MVC
A deep dive into Spring MVC
Summary
Chapter 7: Be Assured, Take a Test Drive
Testing - an important step
Testing tools
Phase 1 - Unit testing DAO Unit testing by JUnit
Mock testing
Phase 2 - Integration testing
Phase 3 - System testing
Chapter 8: Make It Safe - Security Management
Importance of security in an application
The Spring Security framework
New features added in Spring Security 5.0
Core components of Spring Security
Spring Security mechanism
Configuring security in Spring via namespace
Configuring AuthenticationManager
Logout
Managing the Session
Chapter 9: Explore the Power of RESTful Web Services
Web services
Summary
Chapter 10: Exchange Information - Use Messaging
Spring and messaging
Overview of the WebSocket API
SockJS
STOMP
Summary
Chapter 11: Be Active - Reactive Programming
Introduction to Reactive Streams
Reactive Stream implementations
Reactive types
Understanding stream
Spring WebMVC and Spring web reactive programming
WebClient
Summary

What You Will Learn

  • Get to know the basics of Spring development and gain fundamental knowledge about why and where to use Spring Framework
  • Explore the power of Beans using Dependency Injection, wiring, and Spring Expression Language
  • Implement and integrate a persistent layer in your application and also integrate an ORM such as Hibernate
  • Understand how to manage cross-cutting with logging mechanism, transaction management, and more using Aspect-oriented programming
  • Explore Spring MVC and know how to handle requesting data and presenting the response back to the user
  • Get to grips with the integration of RESTful APIs and Messaging with WebSocket and STOMP
  • Master Reactive Programming using Spring MVC to handle non-blocking streams

Authors

Table of Contents

Chapter 1: Spring at Glance
Introduction to the Spring Framework
Problems addressed by Spring
Spring architecture
What more Spring supports underneath?
Spring road map
Container - the heart of Spring
How are beans made available from container?
Chapter 2: Dependency Injection
The life of a bean
Using JSR-250 annotations for the bean life cycle
Instance creation
Dependency injection
Summary
Chapter 3: Accelerate with Spring DAO
Handling databases
Handling exceptions
Object relation mapping
Summary
Chapter 4: Aspect-Oriented Programming
Core and cross-cutting concerns
Summary
Chapter 5: Be Consistent - Transaction Management
Understanding transactions
Life cycle of transaction management
Summary
Chapter 6: Exploring Spring MVC
Features for faster development
The Spring MVC
A deep dive into Spring MVC
Summary
Chapter 7: Be Assured, Take a Test Drive
Testing - an important step
Testing tools
Phase 1 - Unit testing DAO Unit testing by JUnit
Mock testing
Phase 2 - Integration testing
Phase 3 - System testing
Chapter 8: Make It Safe - Security Management
Importance of security in an application
The Spring Security framework
New features added in Spring Security 5.0
Core components of Spring Security
Spring Security mechanism
Configuring security in Spring via namespace
Configuring AuthenticationManager
Logout
Managing the Session
Chapter 9: Explore the Power of RESTful Web Services
Web services
Summary
Chapter 10: Exchange Information - Use Messaging
Spring and messaging
Overview of the WebSocket API
SockJS
STOMP
Summary
Chapter 11: Be Active - Reactive Programming
Introduction to Reactive Streams
Reactive Stream implementations
Reactive types
Understanding stream
Spring WebMVC and Spring web reactive programming
WebClient
Summary

Book Details

ISBN 139781787120341
Paperback422 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

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
Spring MVC: Designing Real-World Web Applications Book Cover
Spring MVC: Designing Real-World Web Applications
$ 69.99
$ 49.00
Spring Boot Cookbook - Second Edition Book Cover
Spring Boot Cookbook - Second Edition
$ 35.99
$ 25.20
Spring: Developing Java Applications for the Enterprise Book Cover
Spring: Developing Java Applications for the Enterprise
$ 67.99
$ 47.60
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40