Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Spring Boot 3.0 Cookbook
  • Table Of Contents Toc
Spring Boot 3.0 Cookbook

Spring Boot 3.0 Cookbook

By : Felip Miguel Puig
4.8 (6)
close
close
Spring Boot 3.0 Cookbook

Spring Boot 3.0 Cookbook

4.8 (6)
By: Felip Miguel Puig

Overview of this book

In today's dynamic landscape, crafting robust and scalable Java web applications presents formidable challenges. Spring Boot emerges as the leading framework for web and microservices development, featuring a dynamic ecosystem and seamless integrations to address a spectrum of scenarios, from scaling apps on the cloud to deploying them to production. In this book, you’ll explore its streamlined, convention-over-configuration approach, simplifying application development. You’ll start by covering recipes showcasing Spring Boot's features. As you progress, you’ll understand how it helps streamline application development while staying ahead of technology trends. The book helps you grasp concepts effectively, explores basic REST APIs, shows you how to escalate to advanced scenarios, and tackle common cloud application challenges like security, scalability, performance optimization, and automated deployments. Dedicated sections are designed to help you stay ahead of the curve with recipes that delve into the latest trends such as containers, observability, native images, DevOps, test automation, and microservices, ensuring your applications align with evolving industry standards. By the end of this book, you’ll be able to build and automate the deployment of a scalable and high-performing distributed solution using Spring Boot 3.
Table of Contents (16 chapters)
close
close
Lock Free Chapter
1
Part 1:Web Applications and Microservices
6
Part 2: Database Technologies
9
Part 3: Application Optimization
12
Part 4: Upgrading to Spring Boot 3 from Previous Versions

Creating a native executable using Spring Boot

In the previous recipes, we built the native application to run as a container. Even if that is a convenient solution for most modern cloud-native scenarios, we may need to build a native executable to be executed directly without a container engine.

In this recipe, we’ll learn how to configure our computer to build native applications using the GraalVM JDK.

Getting ready

In this recipe, we’ll reuse the result of the Using GraalVM Tracing Agent to configure the native application recipe. I prepared a version of the application that you can use as a starting point for this recipe. You can find it in the book’s GitHub repository at https://github.com/PacktPublishing/Spring-Boot-3.0-Cookbook/, in the chapter7/recipe7-6/start folder.

You will need the GraalVM JDK version 21 installed on your computer. You can follow the instructions from the official website at https://www.graalvm.org/downloads/.

The application...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Spring Boot 3.0 Cookbook
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon