Blog
Page 326 of my articles, tutorials, and thoughts
Latest Articles
Spring MVC @PathVariable getting truncated
šļø Hey there tech enthusiasts! š Welcome back to my tech blog! In today's post, we're going to tackle a common problem encountered by many developers when using Spring MVC's `@PathVariable` annotation. So, if you've ever faced the issue of your path vari
How to manage REST API versioning with spring?
# How to Manage REST API Versioning with Spring Are you struggling to find an easy and maintainable way to manage REST API versioning using Spring? Don't worry, we've got you covered! In this blog post, we'll walk you through a common issue faced by devel
Autowiring two beans implementing same interface - how to set default bean to autowire?
# š Autowiring two beans implementing the same interface - how to set default bean to autowire? š¤ Have you ever come across a situation in your Spring application where you have multiple beans implementing the same interface? And you want to set a defau
What is javax.inject.Named annotation supposed to be used for?
# The Mystery Behind `javax.inject.Named` Annotation š¤ Have you ever stumbled upon the `javax.inject.Named` annotation and wondered what it is used for? š¤·āāļø Fear not, for today we are going to unravel this mystery and provide you with a complete guide
Spring Data JPA map the native query result to Non-Entity POJO
š Spring Data JPA: Mapping Native Query Results to Non-Entity POJOs š± Have you ever faced the challenge of mapping the result of a native query to a Non-Entity POJO in Spring Data JPA? Fear not! In this blog post, we will explore common issues and provi
How to accept Date params in a GET request to Spring MVC Controller?
# How to Accept Date Params in a GET Request to Spring MVC Controller? š So, you're trying to send a date in the format `YYYY-MM-DD` to your Spring MVC Controller via a GET request, but you're encountering an error, and you're not sure what you're doing
How to read values from properties file?
# š How to Read Values from Properties File? Are you stuck trying to figure out how to read values from a properties file in your Spring application? Don't worry, we've got you covered! In this guide, we'll walk you through a simple and effective approac
download a file from Spring boot rest service
# Downloading a File from a Spring Boot Rest Service: Common Issues and Solutions š„ Are you trying to download a file from a Spring Boot REST service but facing issues? Don't worry, we've got you covered! In this blog post, we'll explore common problems
How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?
š **How to Parameterize @Scheduled(fixedDelay) with Spring 3.0 Expression Language?** Do you want to set the `fixedDelay` parameter of the `@Scheduled` annotation in Spring 3.0 from your configuration file instead of hard-wiring it into your task class?







