java

# ๐ผ Mastering Spring Cron Expressions for Perfect Scheduling ๐ผ Are you struggling to schedule your code execution at a fixed time using a Spring cron expression? ๐ซ Don't worry, we've got you covered! In this blog post, we'll walk you through the common

# Setting Active Profile and Config Location from Command Line in Spring Boot ๐ Welcome to my tech blog! Today, we are going to talk about how to set the active profile and config location from the command line in a Spring Boot application. This is a com

๐โ๏ธ **Securely Obtaining Current Username in Spring Security with BuenoSecurity** ๐ช Welcome to another exciting edition of the BuenoTech blog! ๐ฅณ๐ Today, we're going to explore a burning question that many Spring Security enthusiasts have: **"What is t

How can I inject a property value into a Spring Bean which was configured using annotations?
# How to Inject a Property Value into a Spring Bean Configured with Annotations ๐ฑ So, you have a bunch of Spring beans that are picked up from the classpath using annotations, but you want to inject a property value into one of them. ๐ฑ ๐ First, let's

# Reading a List from Properties File and Loading with Spring Annotation @Value So you want to have a list of values in a `.properties` file and load it directly into your class using Spring annotation `@Value`. You're wondering if there's a way to do thi

# Why is Spring's `ApplicationContext.getBean()` considered bad? ๐คจ So you're diving into the world of Spring, configuring beans left and right, and you stumble upon this answer on Stack Overflow claiming that calling `ApplicationContext.getBean()` is a b

๐ Understanding the Difference between Role and GrantedAuthority in Spring Security ๐ Are you feeling puzzled by the concepts of "Role" and "GrantedAuthority" in Spring Security? Don't worry, you're not alone! Many developers find it confusing and treat

๐ **Blog Post: Spring Boot - Configure and Use Two Data Sources** ๐ Hey there tech enthusiasts! Today, let's dive into a common question: "How can I configure and use two data sources in Spring Boot?" If you're facing this challenge, worry not! We've go
