Microservices implement old principles in new technology
It is not completely unexpected that people consider microservices a latest fad, but software developers for decades have been chasing the same dream founded on sound software development principles of reusable components, easy deployment, distributed code , a tiered scalable architecture and compartmentalization of ideas.
Continue Reading...Exonerating the JSF Lifecycle
One of the many accusations aimed at JSF is the definition and complexity of the JSF Lifecycle. The JSF lifecycle is responsible for processing the page creation and submission and orchestrates the different pieces of the framework. A more thorough description of the process can be found in this article by Rick Hightower. At a […]
Continue Reading...Comparing Constants Safely
When comparing two objects, the equals method is used to return true if they are identical. Typically, this leads to the following code : The problem here is that whether intended or not, it is quite possible that the name value is null, in which case a null pointer exception would be thrown. A better […]
Continue Reading...Microsoft Open Sources .Net But Is It Enough?
Microsoft has announced it has open sourced the server side elements of .net as well as making parts of .net cross platform.
Continue Reading...Immutability Through Interfaces
It is often desirable to have immutable objects, objects that cannot be modified once constructed. Typically, an immutable object has fields that are declared as final and are set in the object constructor. There are getters for the fields, but no setters since the values cannot be saved. Once created, the object state doesn’t change […]
Continue Reading...Java 8 features key to adoption
A new report by Typesafe indicates two thirds of developers plan on adopting Java 8 within the next year, with most of them aiming to adopt within 6 months. New versions of Java have always been slow to gain adoption among both developers and to a larger extent, the public. This has often led to […]
Continue Reading...Back Home
Its been 2 years since I last posted and a a lot of water has passed under the bridge since then. I’ve started a cub scout pack, coached under 8s soccer for a year, and spent 8 months on various DIY projects including renovating 3 bathrooms, a laundry room and kitchen ceiling, and 2 months […]
Continue Reading...Auditing Entities With JPA Events
This article shows how you can leverage JPA Lifecycle Events to automate the filling in of audit information. The first example uses a base entity class with lifecycle events that looks for a time stamp interface to determine whether the entity is audited.
Continue Reading...Growing up a programmer in the 80s
Despite the fact that there are plenty of free languages and development tools available online, there is still a much larger barrier to entry for someone who wants to get started as a programmer compared to nearly 30 years ago. I have fond memories of the computing of the 80s so I thought I’d take […]
Continue Reading...Fading in Primefaces Components
I was trying to fade in a Primefaces panel component that was initially hidden and found it to be somewhat of a struggle. After a bit of googling, the only thing I found out was that I wasn’t the first to come across the problem. Here’s the basic JSF code to use an effect on […]
Continue Reading...