How to create a Maven Multi Module project in Spring Boot
This article describes , what is maven multi-module project , how we can create a maven multi module architecture and why we need this architecture …
Favourite tutorials for developers
This article describes , what is maven multi-module project , how we can create a maven multi module architecture and why we need this architecture …
This article is a step by step guide to setup and develop Spring Boot applications using Visual Studio Code. I will be building a simple Spring Boot service from scratch using VS Code. I’ll show you what extensions to install and how to use the VS Code features to develop and iterate on your Spring Boot application.
Learn Spring Boot with the following in-depth tutorials, covering from basic concepts to advanced concepts such as packaging, deployment and monitoring. Most of these tutorials …
Building robust and scalable REST APIs is a common requirement for modern web development. This application will explore how to create REST APIs for CRUD operations using Spring Boot framework. Apart from building simple REST APIs, we will learn about request validation, error handling, testing, API documentation, and deployment.
Gradle is an open-source that automates the process of packaging a project with the main advantage of high customization and good performance. Gradle was born later and improved weak parts Maven such as cumbersome declaration syntax, difficult to manage, unoptimized build and testing speed. To take advantage of these, today we will create a project Spring boot with multiple module values Gradle instead of the Maven traditional ones.
The Spring Initializr is a great way to quickly create a Spring Boot application from scratch. It creates a single Gradle file that we can expand upon …
In Spring Boot, a @Bean is a method-level annotation that is used to declare a bean and register it with the Spring container. And @Configuration annotation is used in Spring Boot to indicate that a class contains one or more bean definitions.
Every software project comes to a point where the code should be broken up into modules. These may be modules within a single code base or modules that each live in their own code base. This article explains some Spring Boot features that help to split up your Spring Boot application into several modules.
Spring has introduced the @Conditional annotation that allows us to define custom conditions to apply to parts of our application context. Spring Boot builds on top of that and provides some pre-defined conditions so we don’t have to implement them ourselves. In this tutorial, we’ll have a look some use cases that explain why we would need conditionally loaded beans at all. Then, we’ll see how to apply conditions and which conditions Spring Boot offers. To round things up, we’ll also implement a custom condition.
Scheduling is the process of executing a piece of logic at a specific time in the future. Scheduled jobs are a piece of business logic that should run on a timer. Spring allows us to run scheduled jobs in the Spring container by using some simple annotations. In this article, we will illustrate how to configure and run scheduled jobs in Spring Boot applications.