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