<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Spring Boot on SivaLabs</title><link>https://www.sivalabs.in/tags/spring-boot/</link><description>Recent content in Spring Boot on SivaLabs</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 10 Nov 2026 12:11:30 +0530</lastBuildDate><atom:link href="https://www.sivalabs.in/tags/spring-boot/rss.xml" rel="self" type="application/rss+xml"/><item><title>Spring Boot Tips: Easiest Way To Provide Environment Variables</title><link>https://www.sivalabs.in/blog/spring-boot-tips-easiest-way-to-provide-env-vars/</link><pubDate>Wed, 02 Sep 2026 06:00:00 +0530</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-tips-easiest-way-to-provide-env-vars/</guid><description>&lt;p&gt;Spring Boot has excellent support for &lt;a href="https://docs.spring.io/spring-boot/reference/features/external-config.html"&gt;externalized configuration&lt;/a&gt;.
You can supply configuration through properties files, YAML files, environment variables, command-line arguments, and several other sources.&lt;/p&gt;


&lt;svg width="0" height="0" display="none" xmlns="http://www.w3.org/2000/svg"&gt;
 &lt;symbol id="tip-box" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet"&gt;
 &lt;path
 d="M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"/&gt;
 &lt;/symbol&gt;
 &lt;symbol id="important-box" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet"&gt;
 &lt;path
 d="M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/&gt;
 &lt;/symbol&gt;
 &lt;symbol id="warning-box" viewBox="0 0 576 512" preserveAspectRatio="xMidYMid meet"&gt;
 &lt;path
 d="M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"/&gt;
 &lt;/symbol&gt;
 &lt;symbol id="info-box" viewBox="0 0 512 512" preserveAspectRatio="xMidYMid meet"&gt;
 &lt;path
 d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"/&gt;
 &lt;/symbol&gt;
&lt;/svg&gt;&lt;div class="box box-shortcode info" &gt;
 &lt;span class="icon-box baseline"&gt;
 &lt;svg&gt;&lt;use href="#info-box"&gt;&lt;/use&gt;&lt;/svg&gt;
 &lt;/span&gt;
 &lt;p&gt;&lt;strong&gt;Spring Boot Configuration Management Best Practices&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Explore &lt;a href="https://blog.jetbrains.com/idea/2026/08/spring-boot-configuration-management-best-practices/"&gt;Spring Boot Configuration Management Best Practices&lt;/a&gt; to learn more.&lt;/p&gt;
 &lt;/div&gt;

&lt;p&gt;That flexibility is useful, but local development still presents a small annoyance: where should you define environment variables?&lt;/p&gt;
&lt;p&gt;You could export them from &lt;code&gt;.bashrc&lt;/code&gt; or &lt;code&gt;.zshrc&lt;/code&gt;, but then they affect every terminal session.
You could configure them in your IDE, but each run configuration and each developer may need the same setup.&lt;/p&gt;
&lt;p&gt;For local development, I usually prefer a small file in the project directory.&lt;/p&gt;</description></item><item><title>Don't Pollute Your Spring Boot Main EntryPoint Class</title><link>https://www.sivalabs.in/blog/dont-pollute-spring-boot-main-class/</link><pubDate>Tue, 16 Jun 2026 04:59:17 +0530</pubDate><guid>https://www.sivalabs.in/blog/dont-pollute-spring-boot-main-class/</guid><description>&lt;p&gt;Most Spring Boot applications start with a beautifully boring main class.&lt;/p&gt;
&lt;p&gt;Then one day we need caching. We add &lt;code&gt;@EnableCaching&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Then we need async processing. We add &lt;code&gt;@EnableAsync&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Then scheduling. Then JPA auditing. Then maybe something else.&lt;/p&gt;
&lt;p&gt;Before we know it, the main class has become the place where every framework feature goes to live.&lt;/p&gt;
&lt;p&gt;At first glance, this feels harmless. The application starts. The feature works. Everybody moves on.&lt;/p&gt;
&lt;p&gt;This works great&amp;hellip; until a slice test gets involved.&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s look at why adding every &lt;code&gt;@EnableXXX&lt;/code&gt; annotation to the Spring Boot main class can make your tests more fragile, and what I prefer to do instead.&lt;/p&gt;</description></item><item><title>A Few Hard Learned Lessons On Structuring Spring Boot Applications</title><link>https://www.sivalabs.in/blog/a-few-hard-learned-lessons-on-structuring/</link><pubDate>Fri, 12 Jun 2026 04:59:17 +0530</pubDate><guid>https://www.sivalabs.in/blog/a-few-hard-learned-lessons-on-structuring/</guid><description>&lt;p&gt;One of the most common questions developers ask when starting a Spring Boot project is:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;How should I structure my code?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you spend enough time in Java circles, you&amp;rsquo;ll quickly run into recommendations like &lt;strong&gt;Clean Architecture, Hexagonal Architecture, Onion Architecture, Ports and Adapters&lt;/strong&gt;, and a dozen variations of the same idea.&lt;/p&gt;
&lt;p&gt;Now, before anyone gets upset: I think those architectures solve real problems.&lt;/p&gt;
&lt;p&gt;The issue is that many teams adopt them on day one, long before they actually have those problems.&lt;/p&gt;</description></item><item><title>The Power of Value Objects</title><link>https://www.sivalabs.in/blog/the-power-of-value-objects/</link><pubDate>Sun, 04 Jan 2026 04:59:17 +0530</pubDate><guid>https://www.sivalabs.in/blog/the-power-of-value-objects/</guid><description>&lt;p&gt;A &lt;strong&gt;Value Object&lt;/strong&gt; is a domain concept defined by its values rather than by identity.
For example, we can represent &lt;strong&gt;EventId&lt;/strong&gt;, &lt;strong&gt;EventCode&lt;/strong&gt; or &lt;strong&gt;Email&lt;/strong&gt; as a value object.
In this article, let&amp;rsquo;s explore the benefits of using value objects over primitive types.&lt;/p&gt;</description></item><item><title>Announcing FeatureTracker Application</title><link>https://www.sivalabs.in/blog/feature-tracker-application-announcement/</link><pubDate>Wed, 18 Jun 2025 04:59:17 +0530</pubDate><guid>https://www.sivalabs.in/blog/feature-tracker-application-announcement/</guid><description>&lt;p&gt;As a Java Developer Advocate at JetBrains, I frequently demonstrate IntelliJ IDEA features through videos and articles. To do this, I usually create small demo applications focused on specific features. While this works well initially, the number of such applications grows quickly. Soon, it becomes difficult to remember which app was built for what purpose, turning it into a maintenance headache.&lt;/p&gt;</description></item><item><title>You Can Code Offline With Local AI(Ollama)</title><link>https://www.sivalabs.in/blog/code-offline-with-local-ai-ollama/</link><pubDate>Thu, 09 Jan 2025 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/code-offline-with-local-ai-ollama/</guid><description>&lt;p&gt;ChatGPT and other Generative AI tools took the world by a storm.
People are using these AI tools for various purposes such as to explore a topic,
to seek answers to their questions or to get help in coding, etc.
ChatGPT and Google&amp;rsquo;s Gemini are very popular AI tools that are available for free with some usage limitations.&lt;/p&gt;</description></item><item><title>Spring Boot + Testcontainers Tests at Jet Speed</title><link>https://www.sivalabs.in/blog/run-spring-boot-testcontainers-tests-at-jet-speed/</link><pubDate>Wed, 01 Jan 2025 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/run-spring-boot-testcontainers-tests-at-jet-speed/</guid><description>&lt;p&gt;Spring Boot 3.1.0 introduced &lt;a href="https://docs.spring.io/spring-boot/reference/testing/testcontainers.html"&gt;support for Testcontainers&lt;/a&gt;
to simplify local development and testing.
&lt;a href="https://testcontainers.com/"&gt;Testcontainers&lt;/a&gt; helps in writing tests using real dependencies instead of mocks, but it may also increase the test execution time.&lt;/p&gt;</description></item><item><title>Running your own Spring Initializr and using it from IntelliJ IDEA</title><link>https://www.sivalabs.in/blog/running-custom-spring-initializr/</link><pubDate>Fri, 06 Sep 2024 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/running-custom-spring-initializr/</guid><description>&lt;p&gt;If you ever worked with &lt;strong&gt;Spring Boot&lt;/strong&gt;, then you are probably aware of &lt;a href="https://start.spring.io/"&gt;Spring Initializr&lt;/a&gt;.
The Spring Initializr is a web application that you can use to create a Spring Boot application.&lt;/p&gt;
&lt;p&gt;Do you know Spring Initializr itself is an &lt;a href="https://github.com/spring-io/start.spring.io"&gt;open-source Spring Boot application&lt;/a&gt;?
You can fork it, customize it, deploy on your infrastructure and use it to generate Spring Boot applications.&lt;/p&gt;</description></item><item><title>Mastering Spring Boot in 5 Stages</title><link>https://www.sivalabs.in/blog/mastering-spring-boot-in-5-stages/</link><pubDate>Fri, 05 Jul 2024 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/mastering-spring-boot-in-5-stages/</guid><description>&lt;p&gt;&lt;a href="https://spring.io/"&gt;Spring Boot&lt;/a&gt; is the most popular framework in the Java world to build enterprise applications.
Also, Spring Boot is the most sought-after skill to get hired as a Java developer.&lt;/p&gt;
&lt;p&gt;Here is my recommended approach to learn Spring Boot.&lt;/p&gt;</description></item><item><title>Thymeleaf Layouts using Fragment Expressions in Spring Boot GraalVM Native Image</title><link>https://www.sivalabs.in/blog/thymeleaf-layouts-using-fragment-expressions/</link><pubDate>Sat, 08 Jun 2024 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/thymeleaf-layouts-using-fragment-expressions/</guid><description>&lt;p&gt;Typically, in Spring Boot + Thymeleaf applications,
we use &lt;a href="https://github.com/ultraq/thymeleaf-layout-dialect"&gt;thymeleaf-layout-dialect&lt;/a&gt;
to define the common layout of the web pages and it works fine.&lt;/p&gt;
&lt;p&gt;But when we compile the Spring Boot application to GraalVM native image,
it is failing due to &lt;a href="https://github.com/ultraq/thymeleaf-layout-dialect/issues/235"&gt;this error&lt;/a&gt;.
I tried many suggestions mentioned in the above issue, but none of them worked for me.&lt;/p&gt;</description></item><item><title>Spring Boot + jOOQ Tutorial - 5 : Fetching Many-to-Many Relationships</title><link>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-many-to-many-associations/</link><pubDate>Thu, 26 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-many-to-many-associations/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-one-to-many-associations/"&gt;previous tutorial&lt;/a&gt;,
we have learned how to fetch &lt;strong&gt;One-to-Many&lt;/strong&gt; relationships using jOOQ.
In this tutorial, we will learn how to fetch &lt;strong&gt;Many-to-Many&lt;/strong&gt; relationships using jOOQ.&lt;/p&gt;</description></item><item><title>Spring Boot + jOOQ Tutorial - 4 : Fetching One-to-Many Relationships</title><link>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-one-to-many-associations/</link><pubDate>Mon, 23 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-one-to-many-associations/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-one-to-one-associations/"&gt;previous tutorial&lt;/a&gt;,
we have learned how to fetch &lt;strong&gt;One-to-One&lt;/strong&gt; relationships using jOOQ.
In this tutorial, we will learn how to fetch &lt;strong&gt;One-to-Many&lt;/strong&gt; relationships using jOOQ.&lt;/p&gt;</description></item><item><title>Spring Boot + jOOQ Tutorial - 3 : Fetching One-to-One Relationships</title><link>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-one-to-one-associations/</link><pubDate>Thu, 19 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-fetching-one-to-one-associations/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-crud-operations/"&gt;previous tutorial&lt;/a&gt;,
we have learned how to implement basic CRUD Operations using jOOQ.
In this tutorial, we will learn how to fetch &lt;strong&gt;One-to-One&lt;/strong&gt; relationships using jOOQ.&lt;/p&gt;</description></item><item><title>Spring Boot + jOOQ Tutorial - 2 : Implementing CRUD Operations</title><link>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-crud-operations/</link><pubDate>Mon, 16 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-crud-operations/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-getting-started/"&gt;previous tutorial&lt;/a&gt;, we have seen how to generate jOOQ code using
the &lt;a href="https://github.com/testcontainers/testcontainers-jooq-codegen-maven-plugin"&gt;testcontainers-jooq-codegen-maven-plugin&lt;/a&gt;
and use jOOQ Typesafe DSL to execute SQL queries.
In this tutorial, we will learn how to implement basic CRUD Operations using jOOQ.&lt;/p&gt;</description></item><item><title>Spring Boot + jOOQ Tutorial - 1 : Getting Started</title><link>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-getting-started/</link><pubDate>Thu, 12 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jooq-tutorial-getting-started/</guid><description>&lt;p&gt;&lt;a href="https://www.jooq.org/"&gt;jOOQ&lt;/a&gt; is a Java persistence library that provides SQL DSL for writing typesafe SQL queries.
It supports most of the popular databases like &lt;strong&gt;MySQL&lt;/strong&gt;, &lt;strong&gt;PostgreSQL&lt;/strong&gt;, &lt;strong&gt;Oracle&lt;/strong&gt;, &lt;strong&gt;SQL Server&lt;/strong&gt;, and many more.
In this tutorial, we will learn how to get started with jOOQ for implementing persistence layer in a Spring Boot application.
You can also use jOOQ in other JVM based languages like &lt;strong&gt;Kotlin&lt;/strong&gt;, &lt;strong&gt;Scala&lt;/strong&gt;, etc.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 10 : Service to Service Communication using Client Credentials Flow</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-service-to-service-communication-using-client-credentials-flow/</link><pubDate>Mon, 09 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-service-to-service-communication-using-client-credentials-flow/</guid><description>&lt;p&gt;In this article, we will learn how to implement &lt;strong&gt;Service to Service Communication&lt;/strong&gt; using &lt;strong&gt;Client Credentials Flow&lt;/strong&gt;.
We will create the &lt;strong&gt;archival-service&lt;/strong&gt; in which we will use a scheduler job to invoke the &lt;strong&gt;messages-service&lt;/strong&gt; APIs to archive the messages.
For implementing this, we will use &lt;strong&gt;Client Credentials Flow&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 9 : Invoking Secured Resource Server APIs from Client Application</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-integrating-client-and-resource-server/</link><pubDate>Fri, 06 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-integrating-client-and-resource-server/</guid><description>&lt;p&gt;In the previous articles, we have created &lt;strong&gt;messages-webapp&lt;/strong&gt; and &lt;strong&gt;messages-service&lt;/strong&gt; and invoked API endpoints using Postman.
In this article, we will learn how to invoke the secured &lt;strong&gt;messages-service&lt;/strong&gt; API endpoints from the Client application &lt;strong&gt;messages-webapp&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 8 : Securing Resource Server</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-securing-resource-server/</link><pubDate>Mon, 02 Oct 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-securing-resource-server/</guid><description>&lt;p&gt;In the previous article, we have created &lt;strong&gt;messages-webapp&lt;/strong&gt; and secured it with &lt;strong&gt;Spring Security OAuth 2.0&lt;/strong&gt; using Authorization Code Flow.
In this article, we will create &lt;strong&gt;messages-service&lt;/strong&gt;, which is a Spring Boot Resource Server, and secure it with Spring Security OAuth 2.0.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 7 : Securing Spring MVC Client Application</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-securing-springmvc-client-application/</link><pubDate>Thu, 28 Sep 2023 03:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-securing-springmvc-client-application/</guid><description>&lt;p&gt;In this article, we will create &lt;strong&gt;messages-webapp&lt;/strong&gt; which is a &lt;strong&gt;Spring MVC + Thymeleaf&lt;/strong&gt; web application
and secure it with &lt;strong&gt;Spring Security OAuth 2.0&lt;/strong&gt; using &lt;strong&gt;Keycloak&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 6 : Microservices Sample Project Setup</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-microservices-project-setup/</link><pubDate>Thu, 28 Sep 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-microservices-project-setup/</guid><description>&lt;p&gt;In the previous articles, we have learned about various OAuth 2.0 / OpenID Connect flows using web browser, cURL and Postman.
Now it&amp;rsquo;s time to put what we have learned into practice. What better way to do that than to build a sample project?&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 5 : Implicit &amp; Resource Owner Password Credentials Flows</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-implicit-and-resource-owner-password-credentials-flow/</link><pubDate>Wed, 27 Sep 2023 03:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-implicit-and-resource-owner-password-credentials-flow/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow-with-pkce/"&gt;Part 4: OAuth 2.0 Authorization Code Flow with PKCE&lt;/a&gt;,
we learned how to acquire &lt;strong&gt;access_token&lt;/strong&gt; using &lt;strong&gt;Authorization Code Flow with PKCE&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In this article, we will explore how to use &lt;strong&gt;Implicit Flow&lt;/strong&gt; and &lt;strong&gt;Resource Owner Password Credentials Flow&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 4 : Authorization Code Flow with PKCE</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow-with-pkce/</link><pubDate>Wed, 27 Sep 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow-with-pkce/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-client-credentials-flow/"&gt;Part 3: OAuth 2.0 Client Credentials Flow&lt;/a&gt;,
we learned how to acquire &lt;strong&gt;access_token&lt;/strong&gt; using &lt;strong&gt;Client Credentials Flow&lt;/strong&gt;.
In this article, we will explore how to use &lt;strong&gt;Authorization Code Flow with PKCE&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 3 : Client Credentials Flow</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-client-credentials-flow/</link><pubDate>Mon, 25 Sep 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-client-credentials-flow/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow/"&gt;Part 2: OAuth 2.0 Authorization Code Flow&lt;/a&gt;,
we learned how to authenticate a user using &lt;strong&gt;Authorization Code Flow&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In this article, we will explore how to use &lt;strong&gt;Client Credentials Flow&lt;/strong&gt; that is typically used for &lt;strong&gt;Service-to-Service&lt;/strong&gt;
communication without any user (Resource Owner) context.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 2 : Authorization Code Flow</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow/</link><pubDate>Sun, 24 Sep 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow/</guid><description>&lt;p&gt;In the &lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-introduction/"&gt;Part 1: Getting familiar with OAuth 2 concepts&lt;/a&gt;, we learned how to set up Keycloak, created a realm, a client with Standard flow enabled and a user.
In this Part 2, you will learn how to authenticate a user using &lt;strong&gt;Authorization Code Flow&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Security OAuth 2 Tutorial - 1 : Getting familiar with OAuth 2 concepts</title><link>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-introduction/</link><pubDate>Fri, 22 Sep 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-introduction/</guid><description>&lt;p&gt;Security is a complex topic to understand in-depth. In addition to that, implementing security for complex microservices based systems
using &lt;a href="https://datatracker.ietf.org/doc/html/rfc6749"&gt;OAuth 2.0&lt;/a&gt; and
&lt;a href="https://openid.net/specs/openid-connect-core-1_0.html"&gt;OpenID Connect&lt;/a&gt; specs is even harder.
Frameworks and libraries, like &lt;a href="https://spring.io/projects/spring-security"&gt;Spring Security&lt;/a&gt;, help to reduce the complexity,
but still there is a steep learning curve to understand how to properly implement security.&lt;/p&gt;</description></item><item><title>The new JdbcClient Introduced in Spring Framework 6.1</title><link>https://www.sivalabs.in/blog/spring-boot-jdbcclient-tutorial/</link><pubDate>Tue, 29 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jdbcclient-tutorial/</guid><description>&lt;p&gt;Spring framework 6.1 introduced a new &lt;strong&gt;JdbcClient&lt;/strong&gt; API, which is a wrapper on top of &lt;strong&gt;JdbcTemplate&lt;/strong&gt;,
for performing database operations using a fluent API.&lt;/p&gt;
&lt;p&gt;Spring Boot 3.2 includes Spring framework 6.1, so let&amp;rsquo;s take a quick look at
how we can use &lt;strong&gt;JdbcClient&lt;/strong&gt; to implement various database operations in a simplified manner.&lt;/p&gt;</description></item><item><title>Spring Boot REST API Best Practices - Part 4</title><link>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-4/</link><pubDate>Sun, 27 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-4/</guid><description>&lt;p&gt;In this &lt;strong&gt;Spring Boot REST API Best Practices&lt;/strong&gt; series, we have learned how to implement CRUD operations so far.
In this &lt;strong&gt;Part-4&lt;/strong&gt;, we will explore how to &lt;strong&gt;implement exception handling&lt;/strong&gt; for our APIs.&lt;/p&gt;</description></item><item><title>Spring Boot REST API Best Practices - Part 3</title><link>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-3/</link><pubDate>Sat, 26 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-3/</guid><description>&lt;p&gt;In this &lt;strong&gt;Spring Boot REST API Best Practices - Part-3&lt;/strong&gt;, we will see how to implement &lt;strong&gt;FindById and DeleteById API endpoints&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Boot REST API Best Practices - Part 2</title><link>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-2/</link><pubDate>Wed, 23 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-2/</guid><description>&lt;p&gt;In this &lt;strong&gt;Spring Boot REST API Best Practices - Part-2&lt;/strong&gt;, I will explain some of the best practices we should follow
while implementing &lt;strong&gt;Create and Update API endpoints&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Boot REST API Best Practices - Part 1</title><link>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-1/</link><pubDate>Mon, 21 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-1/</guid><description>&lt;p&gt;In this &lt;strong&gt;Spring Boot REST API Best Practices Series&lt;/strong&gt;, I will explain some of the best practices we should follow while implementing REST APIs.
Also, I will explain some of the common mistakes developers do and how to avoid them.&lt;/p&gt;</description></item><item><title>Spring Boot Flyway Database Migration Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-flyway-database-migration-tutorial/</link><pubDate>Tue, 08 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-flyway-database-migration-tutorial/</guid><description>&lt;p&gt;In the previous &lt;a href="https://www.sivalabs.in/blog/spring-boot-jdbctemplate-tutorial/"&gt;Spring Boot JdbcTemplate Tutorial&lt;/a&gt;
we have seen how to initialize database using &lt;strong&gt;schema.sql&lt;/strong&gt; and &lt;strong&gt;data.sql&lt;/strong&gt; scripts.
This may be useful for demos and quick prototypes, but for real world applications we should use a database migration tool.&lt;/p&gt;</description></item><item><title>Spring Boot Database Transaction Management Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-database-transaction-management-tutorial/</link><pubDate>Thu, 03 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-database-transaction-management-tutorial/</guid><description>&lt;p&gt;Spring provides a high-level abstraction on top of &lt;strong&gt;JDBC&lt;/strong&gt; with
&lt;a href="https://www.sivalabs.in/blog/spring-boot-jdbctemplate-tutorial/"&gt;JdbcTemplate&lt;/a&gt;
to make it easier to perform database operations.
Spring also provides a high-level abstraction on top of &lt;strong&gt;JPA&lt;/strong&gt;
with &lt;strong&gt;Spring Data JPA&lt;/strong&gt; to make it easy to implement CRUD operations, sorting, pagination, etc.&lt;/p&gt;</description></item><item><title>Spring Boot JdbcTemplate Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-jdbctemplate-tutorial/</link><pubDate>Tue, 01 Aug 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-jdbctemplate-tutorial/</guid><description>&lt;h2 id="introducing-spring-boot-jdbc-support"&gt;Introducing Spring Boot JDBC Support&lt;/h2&gt;
&lt;p&gt;Spring&amp;rsquo;s &lt;strong&gt;JdbcTemplate&lt;/strong&gt; provides high-level abstraction on top of &lt;strong&gt;DataSource&lt;/strong&gt; to perform database operations.
In addition to that Spring&amp;rsquo;s declarative Transaction Management capabilities helps to manage database transactions
in a simplified way without having to write boilerplate code.&lt;/p&gt;</description></item><item><title>Spring Boot Profiles Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-profiles-tutorial/</link><pubDate>Sun, 30 Jul 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-profiles-tutorial/</guid><description>&lt;h2 id="introducing-spring-profiles"&gt;Introducing Spring Profiles&lt;/h2&gt;
&lt;p&gt;Typically, software applications run in different environments.
During development, it will be &lt;strong&gt;local&lt;/strong&gt;, and then we may deploy it on &lt;strong&gt;QA&lt;/strong&gt;, &lt;strong&gt;Staging&lt;/strong&gt;, &lt;strong&gt;Performance&lt;/strong&gt;
and finally in &lt;strong&gt;Production&lt;/strong&gt; environments.
You may have to configure your application with different configuration properties while running the application
in different environments.&lt;/p&gt;</description></item><item><title>Spring Boot Logging Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-logging-tutorial/</link><pubDate>Fri, 28 Jul 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-logging-tutorial/</guid><description>&lt;p&gt;Logging is a common and important requirement for running applications in production.
Spring Boot provides great support for application logging out of the box and offers various customization options.
In this tutorial, you will learn how to implement logging in your Spring Boot application using &lt;strong&gt;Logback&lt;/strong&gt; and &lt;strong&gt;Log4j2&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Spring Boot Application Configuration Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-application-configuration-tutorial/</link><pubDate>Wed, 26 Jul 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-application-configuration-tutorial/</guid><description>&lt;p&gt;In the previous &lt;a href="https://www.sivalabs.in/blog/spring-boot-testing-tutorial/"&gt;Spring Boot Testing Tutorial&lt;/a&gt;,
we have learned how to write unit, slice and integration tests for a Spring Boot application.&lt;/p&gt;
&lt;p&gt;In this tutorial, you will learn how to configure your Spring Boot application using &lt;strong&gt;properties&lt;/strong&gt; and &lt;strong&gt;YAML&lt;/strong&gt; files
for running the application in different environments.&lt;/p&gt;</description></item><item><title>Spring Boot Testing Tutorial</title><link>https://www.sivalabs.in/blog/spring-boot-testing-tutorial/</link><pubDate>Mon, 24 Jul 2023 00:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-testing-tutorial/</guid><description>&lt;p&gt;In the previous &lt;a href="https://www.sivalabs.in/blog/getting-started-with-spring-boot/"&gt;Getting Started with Spring Boot&lt;/a&gt; tutorial,
we have learned how to create a Spring Boot application and built a simple REST API.&lt;/p&gt;
&lt;p&gt;In this tutorial, you will learn how to write &lt;strong&gt;unit&lt;/strong&gt;, &lt;strong&gt;slice&lt;/strong&gt; and &lt;strong&gt;integration tests&lt;/strong&gt; for your Spring Boot application.&lt;/p&gt;</description></item><item><title>Getting Started with Spring Boot</title><link>https://www.sivalabs.in/blog/getting-started-with-spring-boot/</link><pubDate>Thu, 20 Jul 2023 23:30:00 +0000</pubDate><guid>https://www.sivalabs.in/blog/getting-started-with-spring-boot/</guid><description>&lt;h2 id="introducing-spring-boot"&gt;Introducing Spring Boot&lt;/h2&gt;
&lt;p&gt;Spring Boot is the most popular framework for building applications in the Java world.
Spring Boot is an Opinionated and Convention Over Configuration based approach to
building Spring framework based applications.&lt;/p&gt;
&lt;p&gt;Using Spring Boot, you can build different kinds of applications such as
monolithic applications, microservices, serverless applications, Batch applications, etc.&lt;/p&gt;</description></item><item><title>Spring Boot Tutorials</title><link>https://www.sivalabs.in/blog/spring-boot-tutorials/</link><pubDate>Tue, 18 Jul 2023 02:32:39 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-tutorials/</guid><description>&lt;h3 id="spring-boot"&gt;Spring Boot&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/getting-started-with-spring-boot/"&gt;Getting Started with Spring Boot&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-testing-tutorial/"&gt;Spring Boot Testing Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-application-configuration-tutorial/"&gt;Spring Boot Application Configuration Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-logging-tutorial/"&gt;Spring Boot Logging Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-profiles-tutorial/"&gt;Spring Boot Profiles Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-jdbctemplate-tutorial/"&gt;Spring Boot JdbcTemplate Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-database-transaction-management-tutorial/"&gt;Spring Boot Database Transaction Management Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-flyway-database-migration-tutorial/"&gt;Spring Boot Flyway Database Migration Tutorial&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-1/"&gt;Spring Boot REST API Best Practices - Part 1 : Implementing Get Collection API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-2/"&gt;Spring Boot REST API Best Practices - Part 2 : Implementing Create and Update APIs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-3/"&gt;Spring Boot REST API Best Practices - Part 3 : Implementing FindById and DeleteById APIs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-rest-api-best-practices-part-4/"&gt;Spring Boot REST API Best Practices - Part 4 : Exception Handling in REST APIs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/why-springboot-so-popular-how-to-learn-springboot/"&gt;Why Spring Boot is so popular and how to learn Spring Boot effectively?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/why-springboot/"&gt;Why Spring Boot?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/how-springboot-autoconfiguration-magic/"&gt;How Spring Boot AutoConfiguration magic works?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/getting-started-springboot-intellij-idea-community-edition/"&gt;Getting Started with Spring Boot in Intellij IDEA Community Edition&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/springboot-working-with-mybatis/"&gt;Spring Boot : Working with MyBatis&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/creating-custom-springboot-starter-for/"&gt;Creating Custom Spring Boot Starter for Twitter4j&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/springboot-messaging-rabbitmq/"&gt;Spring Boot Messaging with RabbitMQ&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/session-management-using-spring-session-jdbc-datastore/"&gt;Session Management using Spring Session with JDBC DataStore&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/ci-cd-springboot-applications-using-travis-ci/"&gt;CI/CD for Spring Boot applications using Travis-CI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-best-practices/"&gt;Spring Boot Best Practices&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-testing/"&gt;Testing Spring Boot Applications&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-boot-integration-testing-using-testcontainers-starter/"&gt;Spring Boot Integration Testing using TestContainers Starter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/remote-debugging-spring-boot-application/"&gt;Remote debugging Spring Boot application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/retrying-method-execution-using-spring-aop/"&gt;Retrying Method Execution using Spring AOP&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="spring-security-oauth-20"&gt;Spring Security OAuth 2.0&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-introduction/"&gt;Part 1: Getting familiar with OAuth 2 concepts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow/"&gt;Part 2: Authorization Code Flow&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-client-credentials-flow/"&gt;Part 3: Client Credentials Flow&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-authorization-code-flow-with-pkce/"&gt;Part 4: Authorization Code Flow with PKCE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-implicit-and-resource-owner-password-credentials-flow/"&gt;Part 5: Implicit &amp;amp; Resource Owner Password Credentials Flows&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-microservices-project-setup/"&gt;Part 6: Microservices Sample Project Setup&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-securing-springmvc-client-application/"&gt;Part 7: Securing Spring MVC Client Application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-securing-resource-server/"&gt;Part 8: Securing Resource Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-integrating-client-and-resource-server/"&gt;Part 9: Invoking Secured Resource Server APIs from Client Application&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-security-oauth2-tutorial-service-to-service-communication-using-client-credentials-flow/"&gt;Part 10: Service to Service Communication using Client Credentials Flow&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="spring-cloud"&gt;Spring Cloud&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-cloud-tutorials-introduction-to-spring-cloud-config-server/"&gt;Introduction to Spring Cloud Config Server&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sivalabs.in/blog/spring-cloud-tutorials-auto-refresh-config-changes-using-spring-cloud-bus/"&gt;Auto Refresh Config Changes using Spring Cloud Bus&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Announcing My "Spring Boot - The Missing Guide" Video Series on YouTube</title><link>https://www.sivalabs.in/blog/announcing-my-springboot-missing-guide-video-series/</link><pubDate>Sun, 05 Feb 2023 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/announcing-my-springboot-missing-guide-video-series/</guid><description>&lt;h3 id="tldr"&gt;TLDR;&lt;/h3&gt;
&lt;p&gt;I am happy to announce that I am starting the &lt;strong&gt;Spring Boot - The Missing Guide&lt;/strong&gt; video series on my &lt;a href="https://www.youtube.com/c/sivalabs"&gt;SivaLabs YouTube Channel&lt;/a&gt;.
This &lt;strong&gt;Spring Boot - The Missing Guide&lt;/strong&gt; video series is for those who need help understanding Spring Boot&amp;rsquo;s magic.
In this series, I will explain the core concepts used in Spring and Spring Boot with practical examples.&lt;/p&gt;</description></item><item><title>My Plans for 2023</title><link>https://www.sivalabs.in/blog/my-plans-for-2023/</link><pubDate>Mon, 02 Jan 2023 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/my-plans-for-2023/</guid><description>&lt;p&gt;First of all, &lt;strong&gt;Wish you a very happy new year and I hope this year will bring more joy and happiness into your lives.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I would like to share how was 2022 for me and what my plans are for 2023.&lt;/p&gt;</description></item><item><title>Spring Boot 3 : Error Responses using Problem Details for HTTP APIs</title><link>https://www.sivalabs.in/blog/spring-boot-3-error-reporting-using-problem-details/</link><pubDate>Tue, 29 Nov 2022 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/spring-boot-3-error-reporting-using-problem-details/</guid><description>&lt;p&gt;Spring Framework 6 implemented the &lt;strong&gt;Problem Details for HTTP APIs&lt;/strong&gt; specification, &lt;a href="https://www.rfc-editor.org/rfc/rfc7807.html"&gt;RFC 7807&lt;/a&gt;.
In this article we will learn how to handle exceptions in Spring Boot 3 REST API(which uses Spring Framework 6) and provide error responses using &lt;strong&gt;ProblemDetails&lt;/strong&gt; API.&lt;/p&gt;</description></item><item><title>Using Java Records with Spring Boot 3</title><link>https://www.sivalabs.in/blog/using-java-records-with-spring-boot-3/</link><pubDate>Fri, 25 Nov 2022 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/using-java-records-with-spring-boot-3/</guid><description>&lt;p&gt;Records were introduced in Java 14 as a preview feature and became a standard feature with JDK 16.
Records are a concise representation of immutable data class.&lt;/p&gt;</description></item><item><title>Book Review : Cloud Native Spring in Action</title><link>https://www.sivalabs.in/blog/cloud-native-spring-in-action-book-review/</link><pubDate>Wed, 26 Oct 2022 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/cloud-native-spring-in-action-book-review/</guid><description>&lt;p&gt;I got a chance to review the upcoming &lt;a href="https://www.manning.com/books/cloud-native-spring-in-action"&gt;Cloud Native Spring in Action&lt;/a&gt; book by &lt;a href="https://twitter.com/vitalethomas"&gt;Thomas Vitale&lt;/a&gt; and here is my review of the book.&lt;/p&gt;</description></item><item><title>Announcing My "Spring Boot Tips Video Series" on YouTube</title><link>https://www.sivalabs.in/blog/announcing-my-springboot-tips-video-series/</link><pubDate>Mon, 09 May 2022 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/announcing-my-springboot-tips-video-series/</guid><description>&lt;h3 id="tldr"&gt;TLDR;&lt;/h3&gt;
&lt;p&gt;I am happy to announce that I am going to create &lt;strong&gt;&amp;ldquo;Spring Boot Tips Video Series&amp;rdquo;&lt;/strong&gt; on my &lt;a href="https://www.youtube.com/c/SivaLabs"&gt;SivaLabs YouTube Channel&lt;/a&gt;.
This &lt;strong&gt;&amp;ldquo;Spring Boot Tips Series&amp;rdquo;&lt;/strong&gt; is to help people who are new to &lt;a href="https://spring.io"&gt;Spring Boot&lt;/a&gt; to learn &lt;strong&gt;how to use Spring Boot&lt;/strong&gt;
with a keen focus on &lt;strong&gt;understanding how it works behind the scenes&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Kubernetes - Exposing Services to outside of Cluster using Ingress</title><link>https://www.sivalabs.in/blog/kubernetes-ingress/</link><pubDate>Tue, 21 Sep 2021 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/kubernetes-ingress/</guid><description>&lt;p&gt;In the previous article &lt;a href="https://www.sivalabs.in/blog/kubernetes-blue-green-deployments/"&gt;Kubernetes - Blue/Green Deployments&lt;/a&gt; we have learned how to release a new version of application using &lt;strong&gt;Blue/Green Deployments strategy&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Kubernetes - Blue/Green Deployments</title><link>https://www.sivalabs.in/blog/kubernetes-blue-green-deployments/</link><pubDate>Mon, 13 Sep 2021 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/kubernetes-blue-green-deployments/</guid><description>&lt;p&gt;In the previous article &lt;a href="https://www.sivalabs.in/blog/kubernetes-deployment-rolling-updates/"&gt;Kubernetes - Releasing a new version of the application using Deployment Rolling Updates&lt;/a&gt; we have learned how to release a new version of application using &lt;strong&gt;Deployment Rolling Updates&lt;/strong&gt; and how to use &lt;strong&gt;Readiness&lt;/strong&gt; and &lt;strong&gt;Liveness&lt;/strong&gt; probes to route traffic to only fully initialized containers.&lt;/p&gt;</description></item><item><title>Kubernetes - Releasing a new version of the application using Deployment Rolling Updates</title><link>https://www.sivalabs.in/blog/kubernetes-deployment-rolling-updates/</link><pubDate>Mon, 06 Sep 2021 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/kubernetes-deployment-rolling-updates/</guid><description>&lt;p&gt;In the previous article &lt;a href="https://www.sivalabs.in/blog/getting-started-with-kubernetes/"&gt;Getting Started with Kubernetes&lt;/a&gt; we have learned how to deploy a Spring Boot application on Kubernetes(Minikube) using &lt;strong&gt;Deployment&lt;/strong&gt; and &lt;strong&gt;Service&lt;/strong&gt; primitives. We also looked at how to access our application using &lt;strong&gt;NodePort&lt;/strong&gt; on Minikube IP address.&lt;/p&gt;</description></item><item><title>Getting Started with Kubernetes</title><link>https://www.sivalabs.in/blog/getting-started-with-kubernetes/</link><pubDate>Tue, 31 Aug 2021 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/getting-started-with-kubernetes/</guid><description>&lt;p&gt;&lt;a href="https://www.docker.com/"&gt;Docker&lt;/a&gt; and &lt;a href="https://kubernetes.io/"&gt;Kubernetes&lt;/a&gt; has revolutionized how we build and run the applications.
In recent years containerization becomes new normal, and many organizations start using Kubernetes as Container Orchestration Platform.&lt;/p&gt;</description></item><item><title>Get Super Productive with Intellij File Templates</title><link>https://www.sivalabs.in/blog/get-super-productive-with-intellij-file-templates/</link><pubDate>Wed, 18 Aug 2021 23:29:17 +0000</pubDate><guid>https://www.sivalabs.in/blog/get-super-productive-with-intellij-file-templates/</guid><description>&lt;p&gt;&lt;a href="https://www.jetbrains.com/idea/"&gt;Intellij IDEA&lt;/a&gt; is the most popular IDE for &lt;strong&gt;Java&lt;/strong&gt; development and there are tons of features to explore and become more productive.
We all know about &lt;a href="https://www.jetbrains.com/help/idea/using-live-templates.html"&gt;Live Templates&lt;/a&gt; which can be used to expand a small expression to common code snippets.&lt;/p&gt;
&lt;p&gt;Recently I came to know about &lt;strong&gt;File Templates&lt;/strong&gt;, and I realized I can put it to good use and be more productive.&lt;/p&gt;</description></item></channel></rss>