Featured

The Law Of Demeter

Aug 20th, 2010 | By | Category: architecture, design, Featured

Most of us are familiar (or must be familiar) with the law of Demeter (LoD) as documented here. Basically, the LoD stipulates the principle of least knowledge about the internal structure of your dependencies. Or as in the case of this toilet sign, “no looking at what is happening inside”. Let us say we have [...]



Value Object Wizard (VOW)

Jul 13th, 2010 | By | Category: architecture, Featured, j2ee, java

  Launching the Value Object Wizard I have launched a project called Value Object Wizard in sourceforge. Please take a quick look and send me your comments. The details are in the home page.  



The n+1 selects problem..

Jun 20th, 2010 | By | Category: architecture, design, Featured, optimization, soa

A few years ago, one of my numerous job sojourns took me to an interesting project at a telecom company.  I was a developer then – as I would like to think of myself today as well – and had to maintain code that connected to numerous databases and published various services. In one of [...]



On Enterprise Architects..

Jun 18th, 2010 | By | Category: architecture, Featured, soa

So I had yet another meeting with an enterprise architect today. We were selling a solution to their company which is one of the top few companies in the world in their professed field of expertise. Let us call this guy John to give him an identity despite the fact that, to me, he looked [...]



App Optimization – Asynchronous Pre-fetching Strategies

May 18th, 2010 | By | Category: architecture, design, Featured, optimization
This entry is part 3 of 9 in the series optimization

I remember perusing through an article on web services some time ago where the author  quips about the similarity between web services and teen sexuality. He said that in both cases, they talk more about it rather than do it and even if they do it they do it pretty bad. A similar comparison can [...]



Application Optimization – Design in Retrospect

May 5th, 2010 | By | Category: architecture, design, Featured, java, optimization
This entry is part 4 of 9 in the series optimization

Application Performance and endurance tests are a terrible duo. They let a badly designed application fester unnoticed for a considerable amount of time. The development team languishes in the bliss provided by the lack of attention and gains confidence in its ability to slime the ailing application into production. And lo! in one sudden swipe [...]



Perf Analysis – Browser Caches & Response Code 304

Apr 29th, 2010 | By | Category: architecture, Featured, j2ee, java, optimization
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 [...]



Perf Analysis – Web Layer & Browser

Apr 28th, 2010 | By | Category: architecture, design, Featured, j2ee, optimization
This entry is part 6 of 9 in the series optimization

This article delves more into the performance analysis exercise that I alluded to in a previous article. We begin our analysis with the web layer which serves as the entry and egress to our core application. Does your web layer buckle under load as the spider’s web here seems to have ?  Tweaking the web [...]



Performance Analysis of a web application

Apr 24th, 2010 | By | Category: architecture, Featured, j2ee, optimization, technology
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 [...]



Bug Driven Development

Apr 21st, 2010 | By | Category: design, Featured, process, technology

Some time ago, I was exposed to a project which entered UAT with over a  thousand bugs. Obviously, the project itself is not the epitome of perfection. But the sheer number begs some fundamental questions about the assertion that the project was even deemed as code complete to enter into UAT.