Java Articles, Tutorials & News

Java for Everything

I used to ask interviewees, “What’s your favorite programming language?” The answer was nearly always, “I just choose the right language for the job.” Duh. Does anyone ever deliberately pick the wrong language? This was clearly a way to avoid actually nam…

Read more »

The Cost of Java’s EnumSet

It’s been about a decade since I last worked in Java and much has changed. I thought I’d brush up by re-reading Effective Java by Joshua Bloch which has since received a new edition. It was once my guiding star for Java. However, after an additional decad…

Read more »

The Cost of Java’s EnumSet

It’s been about a decade since I last worked in Java and much has changed. I thought I’d brush up by re-reading Effective Java by Joshua Bloch which has since received a new edition. It was once my guiding star for Java. However, after an additional decad…

Read more »

Mobile Streaming from Java

A Java app is not an obvious choice for a streaming media server, but for us it was the logical choice. With our distributed architecture, we expect roughly constant scaling at the app level and each individual app would only need to support a small numbe…

Read more »

Java SPI

Java SPI is a standard java way to have binding between contracts and implementations. SPI used for several use cases such as Currency, Loca…

Read more »

You can’t afford to run Java 8

Syntactic sugar (like the introduction of var) is often not enough to convince somebody (especially non-developer) to move forward. This is one of the reasons why Java 8, almost 7 years after its first release, is still widely used. However, many things h…

Read more »