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

OOAD and the Strategy pattern

Recently, I had a discussion with someone on Object Oriented Design. How do you identify objects when you are doing domain modeling? The traditional approach (as originally propounded by the three amigos and appropriately modified and recast by multiple others) is to look for nouns in the verbiage of the application requirements.

architecture

Infrastructure vs. Application – Layered Architecture

One of the first approaches to writing software, was to make the software application do everything that is required by the application specification. Thus the earliest machine code applications did everything from handling the I/O (with individual devices) to accomplishing  complex processing.  

process

On Estimation & Agility

I was doing an estimation review recently. At first blush, I am instinctively uncomfortable about anything that requires a high degree of predictability in software development since that is going to be violated if you are ever intending to produce software that could be deemed useful by the ultimate consumers! It is exactly like doing the interiors of […]

java

State Transition Machine

I know I haven’t been posting too much and that has been breaking a few hearts. So to heal the breach and reward the faithful for waiting this long, I have published a new open source framework called STM which is a representation of the State Transition Machine. Please check it out in the following […]

optimization

Performance Analysis of a web application
This entry is part 7 of 9 in the series optimization

Application performance testing is just about the last thing that we may have to do before we could certify an application as production ready. Or it may be just about the last thing we do before we decide to discard the app in the dumpster. This may be a loud roar or a death knell […]

OTHER ARTICLES

On Digesting XML

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

On Choice & Necessity

I see quite a few arguments in various forums bemoaning about the surfeit of choice that is available in the ...

The Search Problem

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

App Optimization – Asynchronous Pre-fetching Strategies

I remember perusing through an article on web services some time ago where the author  quips about the similarity between ...

Class & Module Dependencies – Minimizing them

This post is going to talk about dependency management, interface based design, IoC , modularization and the like. I had ...

Asynchronous Execution Wrapper

With the advent of Java 5 , asynchronous execution has become an easy thing to code. One has to be ...

Organizing and Architecture..

As a practicing architect, I find that I have this obsessive compulsive thing about my applications and the way they ...

The evil Static Method

The keyword static possibly started as the first attempt at encapsulation. C Programs consisted of functions that spanned across multiple ...

Patterns,Frameworks, Specifications, Conventions & Configuration

This post is all about introducing the terms above and talking about their place in architecture. There must be some pretty ...

SaaS and Dynamic Database Columns

It has become anathema to write Data Manipulation Language (DML) statements in application programs. For instance, it is frowned upon ...