Java
-

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

Using JDK 8 Streams to Convert Between Collections of Wrapped Objects and Collections of Wrapper Objects
I have found Decorators and Adapters to be useful from time to time as I have worked with Java-based applications.…
Read More » -

JBoss Fuse – Some less known trick
TL;DR expose java static calls as Karaf shell native commands override OSGi Headers at deploy time override OSGi Headers after…
Read More » -

The Optimum Method to Concatenate Strings in Java
Recently I was asked this question – Is it bad for performance to use the + operator to concatenate Strings in…
Read More » -

MySQL as Kubernetes Service, Access from WildFly Pod
Java EE 7 and WildFly on Kubernetes using Vagrant (Tech Tip #71) explained how to run a trivial Java EE…
Read More » -

Why is my JVM having access to less memory than specified via -Xmx?
“Hey, can you drop by and take a look at something weird”. This is how I started to look into…
Read More » -

A JAXB Nuance: String Versus Enum from Enumerated Restricted XSD String
Although Java Architecture for XML Binding (JAXB) is fairly easy to use in nominal cases (especially since Java SE 6),…
Read More » -

How to: Refine Hive ZooKeeper Lock Manager Implementation
Hive has been using ZooKeeper as distributed lock manager to support concurrency in HiveServer2. The ZooKeeper-based lock manager works fine…
Read More »




