Asimio Tech©

Simple and Modern Solutions. Java Software Development and Cloud Adoption.

  • Home
  • Services▼
    • Consulting
    • Java Applications Development
    • Source Code Assessment
    • Technical Trainings
    • Technical Screening
  • Blog▼
    • Home
    • Archives
    • Tags
    • Write for Asimio Tech©
    • Atom Feed
  • Resources▼
    • Code Snippets and Recipes
    • Free PDF Downloads
    • Products
  • Get in Touch

Search results

Code Snippets / Recipes

  • Expose Hibernate Statistics through JMX MBeans in Spring Data JPA
  • Turn off autocommit for Spring Data JPA, Hibernate, Hikari RESOURCE_LOCAL JPA transactions
  • Spring Data JPA, Hibernate Logging Configuration for Development and Production Environments
  • Start a Cosmos DB Emulator Docker Container
  • Add Cosmos DB emulator Certificate to TrustStore via Bash Shell Script
  • Create KeyStore / Truststore Programmatically
  • Thymeleaf Email HTML Template, loop through Map, embed Logo
  • Spring Boot RESTful Controller Exception Handling with @ControllerAdvice
  • Expose Embedded Tomcat MBeans through JMX in Spring Boot
  • Spring Boot APIs @ControllerAdvice vs @RestControllerAdvice
  • Retrieve a list of entities from RESTful APIs with RestTemplate and ParameterizedTypeReference
  • Inject a Java Map from a Properties file in Spring applications
  • Inject a Java Map from a YAML file in Spring Boot applications
  • Spring Boot Console application that runs indefinitely until graceful shutdown
  • Capture and Assert Logs with JUnit 5 in Spring Boot applications
  • Return Spring MVC view, redirect, or forward name
  • Configure a single RestTemplate Bean to use Apache HttpClient 5 Connection Pool
  • Register multiple RestTemplate Beans with Spring’s ApplicationContext Programmatically
  • Add a Spring MVC Interceptor to your Spring Boot applications
  • Spring Boot and IntelliJ - Autoreload Java Classes, and Thymeleaf templates without restart
  • Spring MVC Post-Redirect-Get (PRG) Pattern
  • Spring Boot 3 and Spring Security 6 Configuration to access H2 Console UI
  • Password Rules and Validation with Passay
  • Spring Boot configuration to switch between ThreadPoolTaskExecutor and VirtualThreadTaskExecutor
  • Schedule publishing RefreshEvent to reload @RefreshScope-annotated Beans in Spring Boot applications
  • Mock Spring’s @Value with ReflectionTestUtils in Unit Tests
  • Replace Spring’s @Value in Spring Boot Integration Tests
  • Spring Boot 3 and Spring Security 6 Basic Auth Configuration
  • Spring Boot 3 and Spring Security 6 Digest Auth Configuration



NEED HELP?

I provide Consulting Services.

Subscribe to Asimio Tech© Newsletter

Join Asimio Tech© Newsletter

Sign up and get occasional emails about Java, Spring Boot, Spring Cloud, Docker, AWS, Azure, Unit, and Integration Testing.

Latest Posts  

  • Provisioning DynamoDB tables and seeding data to run Spring Boot Integration Tests
    Provisioning DynamoDB tables and seeding data to run Spring Boot Integration Tests
  • Publishing AWS SNS Notifications with Spring Boot, AWS Java SDK v2, and spring-cloud-aws-starter-sns
    Publishing AWS SNS Notifications with Spring Boot, AWS Java SDK v2, and spring-cloud-aws-starter-sns
  • Getting started with Spring Boot, DynamoDB, AWS Java SDK v2, spring-cloud-aws-starter-dynamodb, and dynamic queries with DynamoDbTemplate
    Getting started with Spring Boot, DynamoDB, AWS Java SDK v2, spring-cloud-aws-starter-dynamodb, and dynamic queries with DynamoDbTemplate
  • Propagating Tenant data to Spawned/Async Threads with ThreadLocalTargetSource, TaskDecorator in Multi-tenant Spring Boot applications
    Propagating Tenant data to Spawned/Async Threads with ThreadLocalTargetSource, TaskDecorator in Multi-tenant Spring Boot applications
  • Reuse Testcontainers initialization and configuration code with JUnit 5 Extension Callbacks in your Spring Boot Integration Tests
    Reuse Testcontainers initialization and configuration code with JUnit 5 Extension Callbacks in your Spring Boot Integration Tests
  • What's Being Discussed in this Blog  

    aws (6)   blogging (1)   jekyll (1)   jenkins (1)   s3 (2)   static site (1)   java (57)   high cpu (1)   threaddump (1)   troubleshooting (6)   ant (1)   classpath (2)   jdk (2)   jre (2)   api (24)   docker (14)   docker-maven-plugin (2)   jax-rs (5)   jersey (3)   microservices (13)   restful (22)   spring boot (50)   spring cloud (16)   swagger (4)   versioning (2)   hibernate (11)   integration testing (9)   jpa (11)   junit (8)   poc (5)   postgres (3)   sql (16)   testing (11)   eureka (5)   feign (1)   netflixoss (5)   ribbon (3)   config server (4)   configuration (3)   javamelody (1)   tomcat (2)   jmeter (3)   load testing (3)   resttemplate (3)   multitenancy (3)   threadlocal (3)   bus (1)   rabbitmq (2)   cxf (2)   caching (1)   ehcache (1)   cobertura (1)   logback (2)   logging (2)   maven (12)   slf4j (2)   gateway (1)   zuul (1)   redis (1)   threadlocaltargetsource (2)   sidecar (1)   servlet (1)   feature flags (2)   feature toggles (2)   togglz (2)   jib (3)   jib-maven-plugin (3)   amazon-ecr-credential-helper (1)   docker-credential-helper (1)   ecr (1)   maven-surefire-plugin (1)   unit testing (4)   code coverage (2)   jacoco (2)   jacoco-maven-plugin (2)   static code analysis (2)   hal (2)   hateoas (2)   hypermedia (2)   pagination (2)   azure (7)   blob storage (1)   spring data jpa (8)   criteria api (4)   erd (1)   schemaspy (1)   heapdump (1)   opencsv (1)   querydsl (1)   sonar (1)   sonarqube (1)   acr (1)   azure-cli (2)   mockito (1)   transactiontemplate (1)   cosmos db (4)   nosql (5)   spring data cosmos (4)   ssl (1)   truststore (3)   email (2)   thymeleaf (2)   jsoup (1)   azure spring apps (1)   testcontainers (2)   aws-cli (2)   dynamodb (2)   spring-cloud-aws-starter-dynamodb (2)   sns (1)   spring-cloud-aws-starter-sns (1)  

    Archives  

  • 2024 (6)
  • 2023 (11)
  • 2022 (1)
  • 2021 (4)
  • 2020 (7)
  • 2019 (2)
  • 2018 (7)
  • 2017 (10)
  • 2016 (9)
  • 2015 (2)
  • Copyright © 2015-2025 Asimio Tech LLC. All rights reserved

    CAGE: 9K8U0 | DUNS: 051241399 | UEI: P68SMMPMTPS4 | FL MBE

    Terms and Conditions | Disclaimer

    Write for Asimio Tech© | Mailing List | Blog Atom Feed

    Back To Top