Articles tagged with "java"

Secure, Flexible and Scalable Build Configuration with Maven

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 …

› Read more

Tue 24 October 2017

Deploy React Applications in a Servlet Environment

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 …

› Read more

Tue 19 September 2017

Intellij Live Templates for Javascript Development

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. I remember also giving NetBeans a last chance: NO WAY. So I thought "What's all this fuss around JetBrain IntelliJ IDEA?"

› Read more

Tue 27 December 2016

BigDecimal and rounding modes

After seeing the great success of introductory article on BigDecimal class I wanted to go on with some examples on one of the most complex operations: division. The problem... Is always the same: size 🤦‍♀️ BigDecimal, as already seen, can have an arbitrary number of decimal digits: this does not mean …

› Read more

Tue 04 August 2009

BigDecimal

java.math.BigDecimal class represents “Immutable, arbitrary-precision signed decimal numbers” (with some limits), and has methods to operate on those numbers. Its use although is not so immediate and it is easy to do errors. In this article I'll try to put some light on this topic, in the hope …

› Read more

Tue 03 February 2009