Java
-
How to use Reflection to Document your Data Model based on JPA Annotations
So using JPA, Hibernate or EBeans is cool when you can just annotate your Java classes, but haven’t you always…
Read More » -
Messaging with RabbitMQ
We previously published a brief tutorial showing how to set up a Spring RabbitMQ Template. Now, let’s take a step…
Read More » -
The Dangers of Correlating Subtype Polymorphism with Generic Polymorphism
Java 5 has introduced generic polymorphism to the Java ecosystem. This has been a great addition to the Java language,…
Read More » -
Java 7 Swing: Creating Translucent and Shaped Windows
Java 7 Swing supports windows with transparency and non-rectangular shapes. The following screenshot shows a circular window created with 75%…
Read More » -
Spring MVC Custom Validation Annotations
Last tutorial, I showed how to validate a form using annotations. This works great for simple validations, but eventually, you’ll…
Read More » -
Auditing a Spring MVC Webapp with AspectJ. Part 2
Now, this is the blog you want to read if you’re interested in creating a Spring MVC Webapp that uses…
Read More » -
su and sudo in Spring Security applications
Long time ago I worked on a project that had a quite powerful feature. There were two roles: user and…
Read More » -
Micro jitter, busy waiting and binding CPUs
Performance profiling a new machine When I work on a new machine, I like to get an understanding of it’s…
Read More » -
Java EE EJB Interceptors tutorial and example
In this example we are going to see how to use Interceptors in an EJB and test it using a…
Read More »