Java
-

Duck typing in Java ? Well, not exactly
According to Wikipedia duck typing is: style of dynamic typing in which an object’s methods and properties determine the valid…
Read More » -

Apache Wicket: Remember Me functionality
It is quite common in web applications to have “Remember Me” functionality that allows user to be automatically logged in…
Read More » -

Building OpenJDK on Windows
Doing some experiments, I found that it often useful to have JDK source code available in hand to make some…
Read More » -

Java Annotations – Retention
Consider a Java annotation: public @interface AnAnnotaton { } A class with this annotation applied on it: @AnAnnotaton class AnAnnotatedClass{…
Read More » -

Maven Cargo plugin for Integration Testing
A very common need in the lifecycle of a project is setting up integration testing. Luckily, Maven has built-in support…
Read More » -

A Generic and Concurrent Object Pool
In this post we will take a look at how we can create an object pool in Java. In recent…
Read More » -

Make JFrame transparent
First create a frame that has a slider in it which will be used to set transparency amount. import javax.swing.JFrame;…
Read More » -

Expression Based PathTransitions in JavaFX
In JavaFX you are able to animate nodes along a path using PathTransition objects. PathTransitions use Shape objects to describe…
Read More » -

5 Tips for Unit Testing Threaded Code
Here’s a few tips on how take make testing your code for logical correctness (as opposed to multi-threaded correctness). I…
Read More »






