Thursday, May 28, 2009

Key Signing Party

What a geekish party to have!!! That is one of the coolest geeky things I've heard. But I lost my PGP key sometime back when I formatted the hard disk. I forgot to backup.

Read all about the party here.

Friday, May 1, 2009

Decoupling the UI from Backend

The "minimal change prorogation" can be used as a verification test for loose coupling. I've been struggling to handle changes in a core component when it suddenly occurred to me that, "dhhaa tightly coupled". The changes propagated to the UI. The problem is that I have used the information experts to send data to the UI.

So I added a new rule to my experience. Use another set of classes called "Data Transfer Object" to transfer data to the UI. Problem solved!

Wednesday, April 29, 2009

Tabs vs Spaces - Code Formatting

Do you format code with tabs or spaces? It is not an a question of what is pretty. There is more to the story. I would like to quote from[1]

"On defaultly-configured Unix systems, and on ancient dumb terminals and teletypes, the tradition has been for the TAB character to mean move to the right until the current column is a multiple of 8. This is also the default in the two most popular Unix editors, Emacs and vi.

In many Windows and Mac editors, the default interpretation is the same, except that multiples of 4 are used instead of multiples of 8."

The code formatted on Windows using tabs look hideous on Unix, while if you use spaces it will be uniform on all operating systems.

[1] http://www.codinghorror.com/blog/archives/001254.html

Monday, April 20, 2009

Ubuntu - Firefox back/forward buttons not working

If you are on Ubuntu and back/forward buttons of Firefox suddenly stopped woking here is what to do.

Go to .mozilla/firefox folder and delete the following file.

./rew45azr.default/places.sqlite

Axis2 REST - IllegalArgumentException

If you are trying to invoke a web service deployed in Axis2 using REST and get the " IllegalArgumentException", the most probable cause is that parameter names given in the URL does not match with the argument names of the method. To verify the equality view the WSDL of the service and use the parameter names given in the WSDL.

Monday, February 23, 2009

WSO2 Platform

A SOA platform should provide,
  • service creation, managing and hosting
  • resource discovery and managing
  • systems integration, messaging routing and transformations
  • service orchestration
  • governance
WSO2 Carbon is an opensource platform that aims to facilitate all of the above requirements in a modular way. You can create, manage and host services using WSAS, manage resources and governance using Registry, system integration, messaging, routing and transformations using ESB and service orchestration using BPS.

Sunday, February 1, 2009

Making Good SOA Great

I've been shedding lot of sweat over this matter during last year. Finally Carbon is out and we want the world to know it.

Making Good SOA Great