Spring Quickly
Learn what you need and learn it well
Laurentiu Spilca
  • MEAP began September 2020
  • Publication in Summer 2021 (estimated)
  • ISBN 9781617298691
  • 425 pages (estimated)
  • printed in black & white

Nothing beats a good, modern, and recent introductory book on Spring. That's something I wish it was available some years back when I first encountered Spring.

Alexandros Dallas
Spring is a massive ecosystem. In this focused, hands-on guide you'll learn the parts you really need and learn them really well.

Spring is a must-learn tool for Java developers. Spring Quickly introduces you to Java development with Spring by concentrating on the core concepts you'll use in every application you build. You'll learn how to refactor an existing application to Spring, how to use Spring tools to make SQL database requests and REST calls, and how to secure your projects with Spring Security. There's always more to learn, and this book will make your next steps much easier.

About the Technology

Spring Framework is packed with features to make your applications fast, maintainable, robust and secure. This extensive ecosystem of tools for cloud computing, microservices, and more have made it the de facto choice for building enterprise Java applications.

About the book

Spring Quickly teaches you how to build professional-quality applications using Spring and Spring Boot. Author Laurentiu Spilca draws on a decade of Java experience to show you when, where, and why to use Spring in existing and brand-new apps. You'll start with the core components of the framework and then learn how features like Spring Boot simplify the tedious repetitive tasks you face in every project. When you're done, you'll be able to create Spring apps, secure it with authentication and authorization, and move on to the next exciting steps of your Spring journey.
Table of Contents detailed table of contents

Part 1: Fundamentals

1 Spring in the real world

1.1 Why should we use frameworks?

1.2 The Spring ecosystem

1.2.1 Discovering Spring Core – the foundation of Spring

1.2.2 Using Spring Data Access feature to implement the app’s persistence

1.2.3 The Spring MVC and Spring WebFlux features for developing web apps

1.2.4 The Spring Testing feature

1.2.5 Projects from the Spring ecosystem

1.3 Spring in real-world scenarios

1.3.1 Using the Spring in the development of a backend app

1.3.2 Using Spring in a test automation app

1.3.3 Using Spring for the development of a desktop app

1.3.4 Using Spring in mobile apps

1.4 When not to use frameworks

1.4.1 You need to have a small footprint of the app

1.4.2 Security needs dictate custom code

1.4.3 Abundant existing customizations make a framework impractical

1.4.4 You won’t benefit from switching to a framework

1.5 What will you learn in this book

1.6 Summary

2 The Spring Context: Defining beans

2.1 Creating a Maven project

2.2 Adding new beans to the Spring context

2.2.1 Using the @Bean annotation to add beans into the Spring context

2.2.2 Using stereotype annotations to add beans into the Spring context

2.2.3 Programatically adding beans to the Spring context

2.3 Summary

3 The Spring Context: Wiring beans

3.1 Implementing relationships among beans defined in the configuration file

3.1.1 Wiring the beans using a direct method call between the @Bean methods

3.1.2 Wiring the beans, using the @Bean annotated method’s parameters

3.2 Using the @Autowired annotation to inject beans

3.2.1 Using @Autowired to inject the values through the class fields

3.2.2 Using @Autowired to inject the values through the constructor

3.2.3 Using dependency injection through the setter

3.3 Dealing with circular dependencies

3.4 Choosing from multiple beans in the Spring context

3.4 Choosing from multiple beans in the Spring context

4 The Spring Context: Abstraction

5 The Spring Context: Bean scopes and lifecycle

6 Using aspects with Spring AOP

Part 2: Implementation

7 Implementing web apps with Spring Boot and Spring MVC

8 Developing REST services with Spring Boot

9 Using data sources

10 Using transactions

11 Implementing data persistence with Spring Data

12 Developing reactive apps with Spring WebFlux

13 Securing applications with Spring Security

14 Testing your Spring app


Appendix A: Architectural approaches

A.1 The monolithic approach

A.2 Using a service-oriented architecture

A.3 From microservices to serverless

A.4 For further reading

Appendix B: Using XML for the context configuration

What's inside

  • Manage application objects with Spring context
  • Implement data persistence using data sources and transactions
  • Implement data exchange between applications using REST services
  • Learn Spring Boot's convention-over-configuration approach
  • Write unit and integration tests for apps implemented with Spring

About the reader

For developers who know the fundamentals of Java.

About the author

Laurentiu Spilca is a dedicated development lead and trainer at Endava where he leads the development of a project in the financial market of European Nordic countries. He has over ten years' experience as a Java developer and technology teacher.

placing your order...

Don't refresh or navigate away from the page.
Manning Early Access Program (MEAP) Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
print book $24.99 $49.99 pBook + eBook + liveBook
Additional shipping charges may apply
Spring Quickly (print book) added to cart
continue shopping
go to cart

eBook $39.99 3 formats + liveBook
Spring Quickly (eBook) added to cart
continue shopping
go to cart

Prices displayed in rupees will be charged in USD when you check out.
customers also reading

This book

FREE domestic shipping on three or more pBooks