Java
-
Learn by Errors : Java + OSGi
Recently I worked on getting Apache Hive work inside an OSGi environment. While not proving to be a proverbial piece…
Read More » -
Generic Text Comparison Tool with LCS Approach
Detecting and showing differences of two texts (especially having hundreds or thousands of lines) is a common problem. Using pure…
Read More » -
Log JDBC operations with Log4jdbc
When we develop any application, after we finish it or when we end up any of its module, we start…
Read More » -
Solving a Producer-Consumer Problem in Java
The producer-consumer problem is one of the most frequently encountered problems when we attempt multi threaded programming. While not as…
Read More » -
Java GUI Application Shutdown Gotcha
In recent times I’ve had issues with one or two Java GUI application not shutting down when I close them.…
Read More » -
Easy Unit and Integration Code Coverage
This example shows how to generate coverage for unit and integration tests using Maven and Sonar. It uses very simple…
Read More » -
Java pitfalls: Field access in inner classes
This is not a “pitfall” per se, but an implementation detail worth knowing. Let’s say I have a inner class…
Read More » -
Java static methods can be a code smell
Definition of code smell (from Wikipedia): “any symptom in the source code of a program that possibly indicates a deeper…
Read More » -
Google App Engine JAX-RS REST service
In this article you will learn how to create a REST service using JAX-RS reference implementation (Jersey) and deploy it…
Read More »