Secure, Flexible and Scalable Build Configuration with Maven

Categories:
Many of the projects I’m involved in use Maven as build system due to its reliability, widespread use, and flexibility. However, I often find myself hurdling around bad choices with regard to the build process. In this article I’d like to illustrate some of the most useful techniques to implement flexible, adaptable, and secure builds with Maven. Download the example project from GitHub Key requirements of an enterprise build Enterprise projects have demanding requirements when it comes to configuration and build management.

Read More →

Deploy React Applications in a Servlet Environment

Categories:
Modern web applications using React and other frameworks are often distributed as static websites. It is undoubtely the simplest, cache-friendly and dead-cheap solution. However, some enterprisey projects (think about data-entry and legacy business applications) need to be deployed in a constrained environment like a Java JEE Servlet Engine (Tomcat, Jetty, Resin) or a full-fledged Application Server (Weblogic, JBoss / WildFly, Websphere). Forget having your app deployed on a separate “lightweight” web server like Apache or Nginx, let alone a dedicated 3rd-level domain or IP address like frontend.

Read More →

New Website - With Hugo!

Categories:
I have to admit: I really enjoy creating websites, but I’m awfully lazy when I have to work on my own! Over the years I’ve tried different languages and tools. In the early days I used to manually edit all the HTML pages by hand, which I regretted immediately. So I started writing my own shell scripts, Java programs, XML formats and whatever. My first open source project ever was devoted to this: Web site Generator.

Read More →

Intellij Live Templates Javascript Development

Categories:
Update 2017-08-01 Updated “Behavior-Driven Development (BDD) and Test-Driven Development (TDD)” section, adding bddblock template I’m a IntelliJ IDEA user since late 2013. After a long (and not without problems) liaison with Eclipse IDE, and before that with the glorious Borland JBuilder, I wanted to try something new. Not that Eclipse was bad per se, it was just getting heavier and buggier release after release, and the plugin ecosystem wasn’t anymore something you could rely on.

Read More →

Simulare Il Carico Di Un Server Con Groovy Apache Commons Math E Jfreechart

Categories:
È ormai da un po’ di tempo che ho imparato a giocherellare con Groovy e devo dire che lo sto apprezzando ogni giorno di più. In questo articolo voglio mostrarvi come sia facile simulare, utilizzando Groovy e la libreria Apache Commons Math, i dati di carico tipici di un server che lavora 24⁄7, con tanto di picchi di lavoro durante le ore diurne. Due parole su Groovy A suo tempo mi misi a cercare un nuovo linguaggio di programmazione oltre a Java (non vi preoccupate, continuerò ad utilizzarlo per molto tempo ancora!

Read More →