About this Theme

    This wordpress theme was borrowed from der-printz.com

    I have changed the theme a little bit to avoid post duplication. Also,the posts have been fetched in random order. Hence this site is designed to change dynamically with every reload.

    Please see the "About me" tab above for more information about me and the web site. Thanks for looking me up!

j2ee

Unit Testing Spring-Hibernate Code with HSQLDB

Recently, we used hibernate extensively in a Spring based  Java application to connect to an Oracle DB. For unit testing, we decided that we should connect to HSQLDB so we can test out the usage of hibernate in a more portable manner. I scoured the web for snippets of code to achieve this. Finally, I […]

management

Business Model vs. Revenue Model

Even code geeks know that a company needs a business model to survive. A busines model tells you about why the company exists, what does it do and how it makes its money. Traditionally, a business model was combined with the revenue model i.e. it has to talk not only about what the business does […]

design

Domain Model and Application Contracts

We had spoken before about the application contracts. As we define components, it is imperative that we spend sometime in designing the interfaces that they expose. Let us go back to the diagram that we used when we designed components. In the other post, we had decided that the best way to abstract the UI […]

architecture

On Program Contracts

Contrary to possible expectation, this post is not about signing contracts between companies. It is the contracts that must exist between the various modules within an application. Any application would have a lot of classes that implement various parts of its functionality.  The interface based design principle stipulates that implementations must be fronted by an interface.  This […]

process

Bug Trends and some interesting SQL stuff

I was recently doing some interesting bug trends for one of the projects that I am managing.  The idea was to track the bug burn rate of my developers and testers. I use a primitive tracking system that is capable of orchestrating a work flow between three statuses viz active, resolved and closed.  Some one […]

java

On Choice & Necessity

I see quite a few arguments in various forums bemoaning about the surfeit of choice that is available in the Java world.  For instance, there was a question about the best choice for Unit testing frameworks in Java to which the answer was that the questioner was better off choosing .NET since it tends to […]

optimization

Perf Analysis – Browser Caches & Response Code 304
This entry is part 5 of 9 in the series optimization

With no offense to the favored species, here is a bad joke about blonds: Question: Why is it a bad idea to give the weekend off to a blond? Answer: Because you have to retrain her on Monday. But browsers, unlike blonds, learn from experience and keep these learnings for sometime. Which means that if […]

OTHER ARTICLES

IOC, AOP – 101

I had given a keynote in a conference sometime ago, about the Spring framework. It constituted a presentation on the ...

Bug Driven Development

Some time ago, I was exposed to a project which entered UAT with over a  thousand bugs. Obviously, the project ...

Flow Orchestrations

BACKGROUND Most enterprise applications follow a layered architecture. The best practice is to layer an application as a UI layer and ...

Ecommerce & Java

I recently spoke at a Java conference in Bangalore where we discussed Java and E-commerce. This is becoming important with ...

KPI – Key Performance Indicators

One of the often over looked aspects in an application is the capture of Key Performance Indicators(KPI). As an application ...

Engineering in a Software Development Company

I used to work with banks and financial companies chiefly. In these institutions, it was natural to have two different ...

The Search Problem

In almost every application, there exists some kind of ability to execute a search for information. In fact, an application ...

Google Wave Protocol & Knowledge Management

The Google wave was announced a few weeks ago. It had the most exciting features with a killer interface. We ...

On Digesting XML

One of the earliest uses of XML was for the purpose of storing configuration. It was soon realized that XML ...

Prelude to AOP – Requirements, Patterns, SRP and DRY

AOP has graduated for quite sometime now from the esoteric reaches of design to become a mainstream pattern. ...