Java
-
Decorator Design Pattern Applied
Hi there! Today i’m gonna show the decorator design pattern in action. The decorator design pattern is a largelly used…
Read More » -
Writing Clean Tests – To Verify Or Not To Verify
When we write unit tests that use mock objects, we follow these steps: …
Read More » -
Maven Git Release
I need to start this post by stating that I’ve only started to work seriously with Git within the last…
Read More » -
Compile-time checking JPA queries
JPA provides several alternatives for querying data. Such alternatives may be classified attending to a variety of criteria, eg, language…
Read More » -
Spring MVC Integration Testing: Assert the given model attribute(s) have global errors
In order to report a global error in Spring MVC using Bean Validation we can create a custom class level…
Read More » -
Oracle’s Latest Java 8 Update Broke Your Tools — How Did it Happen?
If you’ve been keeping up with the news in the Java world lately, you’ve probably heard that the latest Java…
Read More » -
Difference between getPath(), getCanonicalPath() and getAbsolutePath() of File in Java
The File API is very important one in Java, since it gives access of File system to Java programs. Though…
Read More » -
ADF: Popup, Dialog and Input Components
In this post I would like to focus on a very common use case when we have af:popup containing af:dialog…
Read More » -
Java’s Volatile Modifier
A while ago I wrote a Java servlet Filter that loads configuration in its init function (based on a parameter…
Read More »