design

The Camel Glue for MicroServices

Sep 15th, 2016 | By | Category: architecture, design, Featured, j2ee, java, soa

Recently, at E-Bee, I developed a framework for enabling Micro Services using Apache Camel. I have always been a big fan, nay, a fanatic, of modularisation. Combine the modularisation concept with the notion of Micro services and you would stipulate that all modules need to expose Micro services. All the services that are available from one module must […]



What Lewis Carroll can teach us about Web Architecture

Jun 18th, 2015 | By | Category: architecture, design, Featured

“Why it is simply impassible!

Alice: Why, don’t you mean impossible?

Door: No, I do mean impassible. (chuckles) Nothing’s impossible!”

– Lewis Carroll, Alice’s adventures in Wonderland and Through the looking glass



On Technical Debt

Mar 9th, 2015 | By | Category: architecture, design, Featured, java, management, technology
This entry is part 2 of 9 in the series Software Engineering & Agility

This entry is part 2 of 9 in the series Software Engineering & AgilityTechnical debt has been mentioned in multiple blogs. Ward Cunningham apparently coined the term. As a software product starts acquiring more and more features and thence complexity; it tends to degrade in certain ways technically. If all potential product features are documented in a […]



Unit Testing Spring-Hibernate Code with HSQLDB

Aug 6th, 2013 | By | Category: code snippets, design, j2ee, java

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 […]



Opspeak

May 7th, 2013 | By | Category: architecture, design, Featured, management
This entry is part 1 of 2 in the series Architecture Viewpoints and perspectives

This entry is part 1 of 2 in the series Architecture Viewpoints and perspectivesIt is one of software’s little ironies that most architects would fervently wish to see their software run forever and yet fail to foresee how the system would be maintained after it goes LIVE. This is where the operational viewpoint shines. This view point […]



EDA and Incremental ETL

Jul 17th, 2011 | By | Category: architecture, design

Event Driven Architecture (EDA) is a paradigm that I became familiar with when I was coding the earliest GUI components. The user interaction with a GUI application is modeled as a series of events that the application responds to.  There is an “infinite loop” of events which can potentially be engendered by user interactions with […]



IOC, AOP – 101

Aug 27th, 2010 | By | Category: architecture, design

I had given a keynote in a conference sometime ago, about the Spring framework. It constituted a presentation on the patterns that necessitated the creation of  Spring in the first place. I am attaching a slide deck on this. I would add some more material here as we go to elaborate on the content of […]



The Law Of Demeter

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

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 […]



The n+1 selects problem..

Jun 20th, 2010 | By | Category: architecture, design, 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 […]



App Optimization – Asynchronous Pre-fetching Strategies

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

This entry is part 3 of 9 in the series optimizationI 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 […]