Blog

Page 327 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How do I call the default deserializer from a custom deserializer in Jackson
hibernatejavaspring

How do I call the default deserializer from a custom deserializer in Jackson

Published on September 2, 2023

# Calling the Default Deserializer from a Custom Deserializer in Jackson 🧩 So, you're facing a problem in your custom deserializer in Jackson. You want to access the default deserializer to populate the object you're deserializing into, before performing

Cover Image for Why would I use Scala/Lift over Java/Spring?
javaspring

Why would I use Scala/Lift over Java/Spring?

Published on September 2, 2023

# Why would I use Scala/Lift over Java/Spring? šŸ¤” Are you torn between Scala/Lift and Java/Spring for your next project? Wondering if Scala/Lift can provide you with real advantages over the familiar Java/Spring duo? Fear not, my tech-savvy friend, for I

Cover Image for Using Spring MVC Test to unit test multipart POST request
springspring-mvcunit-testing

Using Spring MVC Test to unit test multipart POST request

Published on September 2, 2023

# šŸš€ Unit Testing Multipart POST Requests with Spring MVC Test šŸš€ So, you've got this awesome Spring MVC application and you want to write some unit tests for your multipart POST requests. You're in the right place! In this blog post, we'll walk you throu

Cover Image for Spring Expression Language (SpEL) with @Value: dollar vs. hash ($ vs. #)
dependency-injectionspring

Spring Expression Language (SpEL) with @Value: dollar vs. hash ($ vs. #)

Published on September 2, 2023

# Spring Expression Language (SpEL) with @Value: dollar vs. hash ($ vs. #) Are you confused about when to use `${...}` compared to `#{...}` in Spring's Expression Language (SpEL)? You're not alone! Spring's documentation mainly uses `#{...}`, but there ar

Cover Image for Spring @PropertySource using YAML
spring

Spring @PropertySource using YAML

Published on September 2, 2023

# 🌸 Spring @PropertySource using YAML: A YAMLicious Solution 🌸 Are you getting tangled up when trying to use YAML for your Spring Boot configuration files? šŸ˜– Don't worry, you're not alone! Many developers encounter issues, especially when it comes to u

Cover Image for Programmatically shut down Spring Boot application
javaspring

Programmatically shut down Spring Boot application

Published on September 2, 2023

# šŸ›‘ Shutting Down a Spring Boot Application Programmatically šŸ›‘ So, you've built an awesome Spring Boot application and now you want to gracefully shut it down programmatically, without terminating the VM? Well, you've come to the right place! In this bl

Cover Image for Spring 3 RequestMapping: Get path value
springspring-mvc

Spring 3 RequestMapping: Get path value

Published on September 2, 2023

šŸ“ **Blog Post Title**: Mastering Spring 3 RequestMapping: Unleash the Power of Path Values šŸ’” **Introduction:** Spring 3 RequestMapping is a core feature that allows developers to map URLs to specific controller methods. While it offers great convenience

Cover Image for Can I set a TTL for @Cacheable
javaspring

Can I set a TTL for @Cacheable

Published on September 2, 2023

# **How to Set a TTL for @Cacheable in Spring 3.1** 🌟 *Welcome to my tech blog!* 🌟 Are you using the `@Cacheable` annotation in Spring 3.1 and wondering if there's a way to automatically clear cached data after a certain time? You're not alone! In this

Cover Image for What"s the difference between <mvc:annotation-driven /> and <context:annotation-config /> in servlet?
springspring-mvc

What"s the difference between <mvc:annotation-driven /> and <context:annotation-config /> in servlet?

Published on September 2, 2023

šŸ“£ Hey there! 🌟 Are you migrating from Spring 2.5 to Spring 3? šŸ¤” Feeling a little confused about the difference between `<mvc:annotation-driven />` and `<context:annotation-config />` in the servlet configuration file? No worries, my friend! šŸ¤— I'm here

Blog | Matheus Mello