open-menu closeme
Home
RetroComp icon
Retro Computing Articles Composition Notebooks 8bit
DevOps icon
Automation K8s Done Right
GenAI icon
Fatlama Newsletter Generative AI
Projects icon
Software Projects Arduino Misterio Esp8266 SQLite
Status
Links icon
GitHub LinkedIn
About
github linkedin rss
  • Spring Boot and database testing: production defects

    calendar Jun 17, 2024 · 1 min read
     en java knowledgebase  · spring-boot sql
     ·
    Share on: twitter facebook linkedin copy
    Spring Boot and database testing: production defects

    Sometimes you need to fix a production defect. To do it, you need to mirror a specific set of data, and do a test to proof the bug and then fix it.

    Luckily, SpringBoot provide the @Sql annotation to easily "pump" data.


    Read More
  • Repackage! Spring Boot exit strategy to Jigsaw

    calendar Apr 22, 2024 · 1 min read
     uncategorized  · java spring spring-boot
     ·
    Share on: twitter facebook linkedin copy

    With new JDK, when you compile a spring-boot application you get a big jar which cannot be included as utility jar anymore.

    The reason are a lot but, simply put, the new packaging system introduced with JDK9 require a strong separation.


    Read More
  • Feature toggle in Java Spring

    calendar Jan 24, 2024 · 5 min read
     en featured  · java spring spring-boot
     ·
    Share on: twitter facebook linkedin copy

    Today I have an hard time using the @Profile directive for enable feature toggle on Spring, so I decided to write a small guide on it.

    Introduction

    Feature toggle is a way to write your code to be able to 'turn' on/off specific modules of your (micro) service. Because Spring Autowiring can 'discover' the right service for the right need, you can easily introduce feature toggle in an Inversion of Control engine like Spring.
    I am not a super fan of feature toggle, but it helped me on more than one project. Also sometimes on production delivery you have some legal constraints (like enable a service not before a specifica date) and so a dynamic, parametrized run become a must.


    Read More
  • Spring Dev Tools vs JRebel

    calendar Oct 8, 2023 · 1 min read
     automation en  · spring spring-boot
     ·
    Share on: twitter facebook linkedin copy

    There is very handy feature of SpringBoot which is called Dev tools. Dev tools enable hot reloading of spring-boot- based application every time your IDE recompile the code.

    Because Spring Boot is often used with Microservices in mind, the reload is quick, and quite seamless.


    Read More

Recent Posts

  • Postgres Take it All
  • La ruota del Destino
  • Darth Android
  • Vps Provider
  • Chat
  • RSS Readers
  • Vibe Coding: easy to say, difficult to survive

Latest comments

    Giovanni Giorgi

    Copyright 1999-  GIOVANNI GIORGI. All Rights Reserved

    to-top