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
  • 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
  • Spring Testing Survival guide

    calendar Jun 26, 2014 · 2 min read
     en featured software  · java relax spring
     ·
    Share on: twitter facebook linkedin copy
    Spring Testing Survival guide

    If you have an application with thousand of beans, you must do unit testing but…Spring testing is boring, belive me. A very complex Spring application usually have a lot of dependency: I had to manage over 3000 beans definitions in a production project right now. Sometimes you want only to test a bit of it, and setting up a complete Spring Context will drive you crazy. To avoid losing mind, my suggestion is to …cheat. Let’see how.


    Read More
  • Why your IoC container could be a pain for you, young Padawan

    calendar May 22, 2011 · 5 min read
     en featured software  · c framework java spring
     ·
    Share on: twitter facebook linkedin copy
    Why your IoC container could be a pain for you, young Padawan

    Inversion of Control (IoC) is a very good idea.

    But as the clever Joel Spolsky  noted, sometimes you need to be a super-natural hero to use it:

    … I try not to be judgemental (HAHA!), but I think that people who use IoC containers are (A) very smart and (B) lacking in empathy for people who aren't as smart as they are. Everything makes perfect sense to them, so they have trouble understanding that many ordinary programmers will find the concepts confusing. It's the curse of knowledge. The people who understand IoC containers have trouble believing that there are people who don't understand it. …
    I have trouble using Spring in at least two projects. On the third, it was a disaster, because a single software-architect-guy keeps passing around the Spring context factory as method parameter, getting beans from it!
    Read More
  • April 0.2 Application Performance Framework

    calendar Apr 15, 2009 · 3 min read
     en knowledgebase software  · april espresso java performance project redscorpion spring
     ·
    Share on: twitter facebook linkedin copy
    April 0.2 Application Performance Framework

    April (Application Performance Framework) is a super-light application framework based on Spring, featuring:

    • An Aspect Oriennted Programing Performance Monitor, which try to increase performance on the fly
    • A super-light XML-RPC communication framework

    April first commitment is “be lite, be pluggable” and do not re-invent the wheel. I am happy to describe here how it works the Beta 0.2, called “Fat Cat” by friends.


    Read More
  • Java in un Espresso, Parte III: April

    calendar Apr 7, 2009 · 2 min read
     it software  · april ejb espresso guide hosting j2ee java java-espresso lamp spring
     ·
    Share on: twitter facebook linkedin copy
    Java in un Espresso, Parte III: April

    Nei precedenti articoli abbiamo visto come creare un applicazione Java agile, evitando il blasone delle specifiche J2EE. Dopo aver valutato (scartandola) una soluzione 2-tier molto simile a quelle fattibili in PHP, ci siamo focalizzati su una soluzione basata su Spring.

    Come test, abbiamo sviluppato a Gioorgi.com una applicazione didattica che abbiamo chiamato “April”.


    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