-
Desktop Java
Creating a DSL for AWT’s Robot
The Java SDK ships with the class java.awt.Robot that allows the automation of keyboard and mouse input as well as…
Read More » -
Enterprise Java
Hibernate Tutorial – The ULTIMATE Guide (PDF Download)
EDITORIAL NOTE: In this post, we feature a comprehensive Hibernate Tutorial. Hibernate ORM (Hibernate in short) is an object-relational mapping…
Read More » -
Enterprise Java
JPA 2.1: Unsynchronized persistence context
The JPA version 2.1 brings a new way how to handle the synchronization between the persistence context and the current…
Read More » -
Enterprise Java
JPA 2.1 criteria delete/update and temporary tables in Hibernate
Since JPA version 2.0 the EntityManager offers the method getCriteriaBuilder() to dynamically build select queries without the need of string…
Read More » -
Enterprise Java
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 » -
Core Java
Testing System.in and System.out with system-rules
Writing unit tests is an integral part of software development. One problem you have to solve when your class under…
Read More » -
Core Java
cjmx: A command-line version of JConsole
JConsole is a nice tool when it comes to monitoring a running Java application. But when it is not possible…
Read More » -
Core Java
100 Multithreading and Java Concurrency Interview Questions and Answers – The ULTIMATE List (PDF Download)
In this post, we feature a comprehensive article on Multithreading and Java Concurrency Interview Questions and Answers. EDITORIAL NOTE: Concurrency…
Read More » -
Enterprise Java
Analysing the performance degradation/improvements of a Java EE application with interceptors
When you are developing a Java EE application with certain performance requirements, you have to verify that these requirements are…
Read More »