Learning Spring Boot 4: Simplify the development of production-grade applications using Java and Spring - Softcover

Wanderson Xesquevixos; Ranga Rao Karanam; Magnus Larsson; Greg L. Turnquist

 
9781807427115: Learning Spring Boot 4: Simplify the development of production-grade applications using Java and Spring

Synopsis

Build Java web apps swiftly with this fourth edition of the best-selling Spring Boot guide for beginners, updated and enhanced with defining features of Spring Boot 4

Key Features

  • Learn Spring Boot in a cohesive manner with this practical guide
  • Discover popular Java developer tools such as GraalVM native images, serving up JSON, and more
  • Build secure, observable, and scalable web applications from zero to production

Book Description

Spring Boot 4 brings more than just the powerful ability to build secure web apps on top of a rock-solid database. It delivers Jackson integration, support for JSpecify, an enhanced retry mechanism, and updated actuator defaults, along with ways to squeeze out more efficient usage of existing resources.

This fourth edition of the bestseller starts off by helping you build a simple app, and then shows you how to secure, test, bundle, and deploy it to production. Then, you’ll familiarize yourself with the ability to go “native” and release using the latest version of GraalVM. As you advance, you’ll explore reactive programming and get a taste of scalable web controllers and data operations.

Additionally, this edition includes brand-new topics, including virtual threads, concurrency, and observability, as well as building intelligent applications with Spring AI.

If you want to gain a thorough understanding of building robust, modern applications using the core functionality of Spring Boot, then this is the book for you. By the end, you’ll be able to build an entire suite of web applications using Spring Boot and deploy them to any platform you need.

What you will learn

  • Create powerful, production-grade web applications with minimal fuss
  • Support multiple environments with one artifact, and add production-grade support
  • Enhance the security model of your apps
  • Build intelligent applications with Spring AI
  • Write everything from lightweight unit tests to fully running embedded web container integration tests
  • Take advantage of the enhanced observability capabilities of Spring Boot 4
  • Get a glimpse of reactive programming and decide if it's the right approach for you

Who this book is for

This book is for both novices and experienced Spring developers looking to learn how to build applications without wasting time on infrastructure and other tedious details. Working knowledge of the Java programming language is assumed.

Table of Contents

  1. Core Features of Spring Boot
  2. Creating Web and API Applications with Spring Boot
  3. Querying for Data with Spring Boot
  4. Securing an Application with Spring Boot
  5. Testing with Spring Boot
  6. Configuring an Application with Spring Boot
  7. Releasing an Application with Spring Boot
  8. Going Native with Spring Boot
  9. Writing Reactive Web Controllers
  10. Working with Data Reactively
  11. Virtual Threads in Java and Spring Boot
  12. Messaging and Asynchronous Communication in Spring Boot 4
  13. Observability with Spring Boot 4
  14. Building Intelligent Applications with Spring AI
  15. What's New in Spring Boot 4

"synopsis" may belong to another edition of this title.

About the Authors

Wanderson Xesquevixos is a seasoned software engineer and architect with over twenty-five years of experience. He has dedicated his career to developing and designing complex systems for many global companies in the banking, telecom, tourism, retail, and e-commerce industries. He earned his computer science degree from UNIVAP in 2005. He holds an MBA in Data Science and Analytics and is pursuing another MBA in Software Engineering from the prestigious Universidade de São Paulo (USP). He holds certifications as a Java Programmer, Web Component Developer, JEE Business Component Developer, and AWS Certified Solutions Architect. Originally from Jacareí, SP, Wanderson resides in São Francisco do Sul, SC, with his wife Caroline and son Alexander.

Ranga Rao Karanam is the founder of in28Minutes, a leading training platform that has empowered over 300,000 developers worldwide in cloud computing, microservices, Spring, Spring Boot, and container technologies. With a passion for programming, Ranga specializes in consulting for startups, helping them design and build scalable cloud-native applications while adopting modern development practices such as Behavior-Driven Development (BDD), continuous delivery, and DevOps. Ranga holds multiple industry-recognized certifications, including Google Cloud Certified Professional Cloud Architect, AWS Certified Solutions Architect Associate, Google Cloud Certified Associate Cloud Engineer, AWS Certified Developer Associate, AWS Certified Cloud Practitioner, and Microsoft Azure Fundamentals Certified (AZ-900, DP-900, AI-900). Beyond his professional pursuits, Ranga is an avid hiker, cricket enthusiast, and tennis player. He dreams of dedicating a year to exploring the breathtaking trails of the Himalayas.

Magnus Larsson, an IT industry veteran since 1986, has consulted for major Swedish firms such as Volvo, Ericsson, and AstraZeneca. Despite past struggles with distributed systems, today's open source tools such as Spring Cloud, Kubernetes, and Istio offer effective solutions. For the past 10 years, Magnus has been helping customers use these tools and has shared his insights through presentations and blog posts.

Greg L. Turnquist works on the Spring team at VMware. He is a committer to Spring Data, Spring Boot, R2DBC, Spring HATEOAS, and other Spring projects. He has written the Hacking with Spring Boot series as well as Packt's best-selling title, Learning Spring Boot 2.0 2nd Edition. He co-founded the Nashville Java User Group in 2010 and hasn't met a Java app (yet) that he doesn't like. He completed his master's degree in computer engineering at Auburn University and lives in the United States with his family. Be sure to check out his YouTube channel, Spring Boot Learning, where you can learn about Spring Boot and have fun doing it at springbootlearning.



Ranga Rao Karanam is the founder of in28Minutes, a leading training platform that has empowered over 300,000 developers worldwide in cloud computing, microservices, Spring, Spring Boot, and container technologies. With a passion for programming, Ranga specializes in consulting for startups, helping them design and build scalable cloud-native applications while adopting modern development practices such as Behavior-Driven Development (BDD), continuous delivery, and DevOps. Ranga holds multiple industry-recognized certifications, including Google Cloud Certified Professional Cloud Architect, AWS Certified Solutions Architect Associate, Google Cloud Certified Associate Cloud Engineer, AWS Certified Developer Associate, AWS Certified Cloud Practitioner, and Microsoft Azure Fundamentals Certified (AZ-900, DP-900, AI-900). Beyond his professional pursuits, Ranga is an avid hiker, cricket enthusiast, and tennis player. He dreams of dedicating a year to exploring the breathtaking trails of the Himalayas.



Magnus Larsson, an IT industry veteran since 1986, has consulted for major Swedish firms such as Volvo, Ericsson, and AstraZeneca. Despite past struggles with distributed systems, today's open source tools such as Spring Cloud, Kubernetes, and Istio offer effective solutions. For the past 10 years, Magnus has been helping customers use these tools and has shared his insights through presentations and blog posts.



Greg L. Turnquist works on the Spring team at VMware. He is a committer to Spring Data, Spring Boot, R2DBC, Spring HATEOAS, and other Spring projects. He has written the Hacking with Spring Boot series as well as Packt's best-selling title, Learning Spring Boot 2.0 2nd Edition. He co-founded the Nashville Java User Group in 2010 and hasn't met a Java app (yet) that he doesn't like.

He completed his master's degree in computer engineering at Auburn University and lives in the United States with his family.

Be sure to check out his YouTube channel, Spring Boot Learning, where you can learn about Spring Boot and have fun doing it at springbootlearning.

"About this title" may belong to another edition of this title.