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

Using Native Queries

JPQL is a very powerful mechanism to access relational databases with an abstraction of the underlying database. Native Queries refers to executing SQL statements directly against the database. Depending on your requirements you might consider using Native queries, for instances like:

  • Executing complex SQL operations that are not easily expressible in JPQL, for instance, queries that involve subqueries or database-specific functions.
  • When you need to fine-tune the performance of a query, leveraging database-specific optimizations, indexes, and hints to improve the query execution time.
  • Database-specific features, for instance, the databases that can manage JSON structures, may have different ways of doing it.
  • Bulk Operations: Native queries are often more efficient for executing bulk insert, update, or delete operations on a large number of records, as they bypass the overhead of entity management and caching that comes with JPQL.

Keep...

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