Java
-

Openshift: Build Spring Boot application on Wildfly 8.2.0 with Java 8
OpenShift DIY cartridge is a great way to test unsupported languages on OpenShift. But it is not scalable (you can…
Read More » -

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 » -

JavaFX Tip 18: Path Clipping
I recently noticed that the PopOver control, which I committed to the ControlsFX project, does not properly clip its content.…
Read More » -

Thou Shalt Not Name Thy Method “Equals”
(unless you really override Object.equals(), of course). I’ve stumbled upon a rather curious Stack Overflow question by user Frank: Why…
Read More » -

Using junit for something else
junit != unit test Junit is the Java unit testing framework. We use it for unit testing usually, but many…
Read More » -

Java 8 pitfall – Beware of Files.lines()
There’s a really nice new feature in Java8 which allows you to get a stream of Strings from a file…
Read More » -

Calculate PageRanks with Apache Hadoop
Currently I am following the Coursera training ‘Mining Massive Datasets‘. I have been interested in MapReduce and Apache Hadoop for…
Read More » -

Database Migrations in Java EE using Flyway
Database schema of any Java EE application evolves along with business logic. This makes database migrations an important of any…
Read More » -

Determining File Types in Java
Programmatically determining the type of a file can be surprisingly tricky and there have been many content-based file identification approaches…
Read More »






