-
Software Development
Refactoring to Allow Test Doubles
Sometimes, when you make a class, it directly instantiates an object to use in its methods. For example: …
Read More » -
Enterprise Java
Hibernate locking patterns – How does PESSIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I introduced the OPTIMISTIC_FORCE_INCREMENT Lock Mode and we applied it for propagating a child entity…
Read More » -
Enterprise Java
OpenShift v3: Getting Started with Java EE 7 using WildFly and MySQL
OpenShift is Red Hat’s open source PaaS platform. OpenShift v3 (due to be released this year) will provide a holistic…
Read More » -
Core Java
Java development tools for a programming boost !
Java developers usually try to find ways to write quality Java code, quick and efficient, to make their programming life…
Read More » -
Groovy
Writing Groovy’s groovy.util.Node (XmlParser) Content as XML
Groovy‘s XmlParser makes it easy to parse an XML file, XML input stream, or XML string using one its overloaded…
Read More » -
Core Java
Byteman – a swiss army knife for byte code manipulation
I am working with a bunch of communities in JBoss and there is so much interesting stuff to talk about,…
Read More » -
Software Development
Do It Either Way, We’ll Refactor It Later
It often happens that a new piece of functionality is discussed within a team and different developers have a different…
Read More » -
Core Java
Java Concurrency Tutorial – Locking: Explicit locks
1. Introduction In many cases, using implicit locking is enough. Other times, we will need more complex functionalities. In such…
Read More » -
Core Java
Value-Based Classes
In Java 8 some classes got a small note in Javadoc stating they are value-based classes. This includes a link…
Read More »