Author Archive

gui for mongodb

We have been using mongodb for few of our projects for the last few years. One of the things we have missed a lot is a gui for doing some of the routine things, try a query, look at some of the data, a few collections and the other usual fun stuff. Though there are [...]


Javascript reverse engineering

One of the things that I miss in js is a simple trace utility that will show me all the functions executed for a particular flow. I solved my problem with this simple firebug extension “fireflow”, hope it will help you too. It can be installed from xpi location You can also download the xpi [...]


testing a evolving codebase

We are all fans of automated testing. In our adoption of this principle over the last three years using selenium, we have come across a few pertinent challenges and a few ways to get around them. This blog narrates some of these experiences, starting with the challenges and then our solutions. Problems Common Steps Every [...]


kill by name

on *nix at times I miss a “kill by name ” utilitly, my life mostly involves running a java task, which takes a bit too long and then I want to terminate it. Here is a simple Kill by name implementation killByName() { args=(“$@”) processLine=`ps -ef |grep ${args[0]} |grep ${args[1]}` processToKill=`echo $processLine |awk ‘{print $2}’ [...]


true hotswap

Like many other java users, for years, I have been yearning for true hotswap. I want to add or remove methods, fields, interfaces and everything else like that at runtime and my vm in debug mode should be smart enough to put it in without complaining about non-binary compatible changes. If you have already heard [...]


viewing dynamic methods grails

Grails reminds me of those Anton Chekov stories I used to enjoy. A lot of fun, but tough to remember the plethora of characters introduced at different parts of the story, in the case of grails, it is methods added via meta-programming. Each of these methods add an important functionality, but it is tough to [...]


grails yui datatable template

A blog article about writing a grails template for YUI data table.


seam performance tips

Some tips on using jboss seam with EL, some handy tools and some code links for custom components


profiling hibernate

In production you may have run into problems where a certain flow is slow, turning hibernate statistics on using the jmx-console show a flow unaware view, the blog details somethings to make it stick to a flow


Runtime Spring Bean Swap

Ok, the post topic is a bit grandiose, it should have been “Development time swap of spring beans using a custom classloader”, so a few disclaimers, I am only talking about development, I am not aiming for the most optimal solution and yes I am still working on it. The blog is about an approach [...]