Search Results

Showing results for "java"

Latest Articles

Cover Image for How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?
annotationsjavaspring

How to parameterize @Scheduled(fixedDelay) with Spring 3.0 expression language?

Published on September 2, 2023

šŸ“ **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?

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 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 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 Spring-boot default profile for integration tests
javaspring

Spring-boot default profile for integration tests

Published on September 2, 2023

## Spring-Boot Default Profile for Integration Tests: A Hassle-free Approach šŸ˜Ž Are you tired of repeating the same steps in each of your test files for configuring the test database? Wondering if there's a smarter and more concise approach to handle this

Cover Image for Passing multiple variables in @RequestBody to a Spring MVC controller using Ajax
httpjavaspringspring-mvc

Passing multiple variables in @RequestBody to a Spring MVC controller using Ajax

Published on September 2, 2023

# Passing Multiple Variables in @RequestBody to a Spring MVC Controller Using Ajax šŸ˜Ž Are you struggling with passing multiple variables to a Spring MVC controller using @RequestBody and Ajax? šŸ¤” Don't worry, we've got you covered! In this blog post, we'l

Cover Image for Setting up a JavaScript variable from Spring model by using Thymeleaf
javascriptspring

Setting up a JavaScript variable from Spring model by using Thymeleaf

Published on September 2, 2023

šŸ“ **Title: Setting up a JavaScript Variable from Spring Model with Thymeleaf: Easy Solutions and Best Practices** 🌟 Introduction: šŸ‘‹ Hey there, tech enthusiasts! Are you struggling to pass a variable from your Spring model to a JavaScript variable when

Cover Image for How to inject dependencies into a self-instantiated object in Spring?
dependency-injectionjavaspring

How to inject dependencies into a self-instantiated object in Spring?

Published on September 2, 2023

## 🌟 Injecting Dependencies into a Self-Instantiated Object in Spring 🌟 So you've stumbled upon a tricky question in the world of Spring dependency injection: **how to inject dependencies into a self-instantiated object**? šŸ¤” Don't worry, my tech-savvy

Cover Image for How are Spring Data repositories actually implemented?
javaspringspring-data

How are Spring Data repositories actually implemented?

Published on September 2, 2023

šŸ“ **Spring Data Repositories Demystified** If you've been working with Spring Data JPA repositories, you might have noticed the magic happening behind the scenes when Spring implements repository interface methods at runtime. šŸŽ©šŸ”® But have you ever wond