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 » -
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 » -
Hibernate locking patterns – How does OPTIMISTIC_FORCE_INCREMENT Lock Mode work
Introduction In my previous post, I explained how OPTIMISTIC Lock Mode works and how it can help us synchronize external…
Read More » -
Default methods and multiple inheritance
Recently Lukas JOOQ Eder posted and article about nested classes and their use. This is an interesting topic and his…
Read More » -
OSGi Service Test Helper: ServiceRegistrationRule
OSGi Service Tests can be an efficient means to avoid problems related to dangling service references. As promised in my…
Read More » -
JPA Tutorial – The ULTIMATE Guide (PDF Download)
EDITORIAL NOTE: In this post, we feature a comprehensive JPA Tutorial. The Java Persistence API (JPA) is a Java programming…
Read More » -
How to detect and diagnose slow code in production
One of the more difficult tasks that a developer faces is finding and diagnosing slow running code in production. Firstly…
Read More » -
How To Write a NetBeans Plugin
Want to add a feature or automate something in your NetBeans IDE? Follow along as we write your first plugin…
Read More » -
Integrating CDI and WebSockets
Thought of experimenting with a simple Java EE 7 prototype application involving JAX-RS (REST), WebSockets and CDI. Note: Don’t want…
Read More »