Recent Posts

Basic Maven Commands Part 2

less than 1 minute read

Here are some basic maven commands for setting up your project: JavaWebapp mvn archetype:generate -DarchetypeArtifactId=maven-archetype-webapp -DgroupId=co...

Installing libav on Ubuntu 14.04 Trusty

4 minute read

Requirement: Got a video that was encoded using HEVC, couldn’t play it on my device so have to convert it to mpeg4. The tool ffmpeg was replaced in previous...

Java 6 7 8 features

less than 1 minute read

Java SE 6 Support for web services JSR 224 - Java API for XML-Based Web Services (JAX-WS) 2.0 Support for scripting languages JSR 223 - Scripting for the J...

Java Template pattern

less than 1 minute read

The Template pattern formalizes the idea of defining an algorithm in a class, but leaving some of the details to be implemented in subclasses. Reasons for ...

Java Observer pattern

less than 1 minute read

Observer pattern - one subject many observers, state changes in the subject must be notified to all observers. Observers first register with the subject, on...