Author Archives: Boni Gopalan

Corporate networks love proxies.  Homes usually not.  A little known secret in developer lives is that some of us sneak out of bed late at night to fix that lonely bug that has been teasing us through the day at work.  You fix it, fire up the build and dang! suddenly maven crapped on you Read More →

[This is an email POST to by blog from my brand new email account.] I am pleasantly surprised at the clean new email experience microsoft has churned out. And frankly the Gmail UI has been getting a bit too boring lately. So I started test driving this email (b**** for the last few days. Read More →

It is not easy, intutive or natively supported on Jboss AS 5.1 to deploy a Seam 2.2 component as a Singleton with CLUSTER scope. This requirement was an absolute must for us to ensure that a job scheduler runs on only one node in a cluster. Multiple instances of this CRON like scheduler would introduce Read More →

The parts of this post discussing Lambda expressions might not be exact to the current specification syntax under discussion.  Neither are these featured present in currently released JDKs (upto JDK7).  So it is not compilable.  Look at it only as pseudo code to discuss general notions around Lambda expressions in Java. One of the key feature Read More →

Source code discussed in this post can be freely downloaded and used in whatever way or form you want.  SVN URL is, svn checkout parallelly-read-only JDK7 provides a library solution through java.nio.file.WatchService  to the classic folder watching dilemma Java developers went through for a decade.  It defines an interface closely matching the Observable.  JDK7 also provides concrete Read More →

Source code discussed in this post can be freely downloaded and used in whatever way or form you want.  SVN URL is, svn checkout parallelly-read-only I put together couple of classes to ease testing pieces of code under concurrency load.  It is generic enough and accommodates a certain level of flexibility.  It is reusable for your specific purpose Read More →

I have used Apache Lucene for providing an intelligent intuitive search for my products many times over.  Well that was till yesterday! No, I did not ditch Lucene.  But what threw a monkey in the wrench was the ‘intuitive’ nature of the product.  Let me explain. Say I have a string ‘abc-def’ to be indexed. Read More →

In my typical day I juggle around working with half a dozen Eclipse workspaces each organized for a logical group of projects. Some are purely work, some open source projects and some fun learning projects. Work takes priority on a work day. So when it comes calling with a problem I will drop whatever I Read More →

Subversion provides a natural way to pull together resources from different parts of one or more subversion repository locations into a single working folder.  Once setup the commits are pushed into correct parent locations and updates are pulled from the initially configured urls.  This mechanism works equivalent to the symbolic links.  Here is an example. Read More →

Hibernate Spatial makes managing spatial data through java code a breeze.  What hibernate-spatial provides is a standardized non- optimized layer that abstract the spatial data management engine.  Currently there are a few databases that supports spatial data management.  Granddaddy of this group is PostgreSQL.  Not so far behind is Oracle and SQL Server.  Very far Read More →