Whats up with Hatim!

life, musings and rants of a Pakistani Software Developer

Spring and Google WebToolkit

Posted by hatim Tue, 23 Oct 2007 19:51:00 GMT
After some deliberation and reviewing some good pointers from Matt Raible java framework presentations, we (at work) chose to go with Spring-MVC for our ERP project. The choice was very simple, Spring 2.0 provides us with options which are very advanced and would not only help us make an application which is contemprary in design, but would also be very manageable.

I know about spring from OpenNMS as they are very fond of it. I hope that after learning the ropes of spring I would be able to contribute to OpenNMS. Our first task was to make a sample Spring-Hibernate application showing i8ln and AJAX. We chose Google Web Toolkit as our view technology. Even though I was suppose to work on the testing of the system, I some how found my self doing the view part. The toughest part of GWT-Spring project is it's integration. GWT basically throws out a bunch of html and java script which is then used along with a server side portion programmed in spring. Every call is an RPC which makes things bit tricky. In short we were unable to write a simple application in 3 days just because of integration.

We will be focusing on using other view technologies like tiles, dwr etc to get our view component done. But I will definetly lookinto GWT more thoroughly at a later point.

Posted in | no comments |

Leaving Iphonica

Posted by hatim Mon, 01 Oct 2007 13:10:00 GMT
Leaving Iphonica and Joining Zeropoint.it

In Mid Feb 2007, when I decided to leave my first job to join Iphonica, I was very excited. Iphonica seemed to be a small but enterprising company with open source based telecom software roots. Although I was not happy about location of Iphonica, which was considerably a down from the fancy Evacuee Trust Complex in downtown district of Islamabad. It was closer from my home and pay was bit comparable. The most important thing was that I was to work with Open Source technologies.

After working in Iphonica for  seven months I realized two things, first I left my job at JinTech too early. Perhaps If I was patient enough and open minded enough to embrace proprietary technologies I would have probably ended with a better one year experience, instead of fragmented 7 1/2 months and 3 1/2 months at two places

Second, that it is very hard to find a job in Pakistan where people act professionally. This I say with great regret that very few companies in Pakistan, which are lead by Pakistani's are capable enough to have good work ethics (there are very few places which are truly professional, Jintech being one of them in my opinion). Though the work seemed interesting on paper for me, the fact was that alot of my time and efforts were being wasted . I learnt a few things here and there in Iphonica, worked with networking software and did some java coding, but I could have done alot more.

Iphonica's inherent "Pakistani" practices of time management had so much effect on me that I had to leave Summer of Code unfinished(on top of which the other fact that time was already short for SoC). Overall I was disappointed with my self and was reevaluating my career choices. One fine evening I got an email for an interview at Zeropoint.it. I had heard this name before as back in Jan 2007 when they were looking for some Slashdot reading Linux Gurus (I don't claim to be one, but would love the idea of working in company of people like these). I went for the job interview.

From the job interview it was obvious how methodological were people at Zeropoint. I gave Java test from which I cam to realize that I still need to learn a few things from core Java. One thing which struck me very positively was that my blog was a consideration in the selection process.  

I switched jobs on 1st of Oct 2007. The new job is probably the best so far. I get to have free lunch, but its home cooked. There is a pool table in the lobby for free time. I get to work on a dual-LCD ubuntu, and last but not least there is a big conference room with a huge blackboard. Lets see how much I can gain from this job (my hopes are high).

As for Iphonica, I heard that thye have got a new Technical manager, hpoefully they will succeed in achieving what ever they aim to. I will sure miss all the fun times I had at this place.

(put picture of my station on to it)

Posted in | no comments |

FreeRadius and OCI Stored Procedures

Posted by hatim Sun, 29 Apr 2007 06:23:00 GMT

These days I am working on adding the support of oracle stored procedures to freeradius. Earlier I compiled and configured freeradius CVS on my machine. Oracle drivers were also built during the compile (correct ORACLE_HOME varaible needs to be set , which in my case was '/xe/app/oracle/product/10.2.0/server/' under the oracle base directory). A good piece of stored procedure code should be generic enough to handle multiple parameters. (more on this later)

Posted in | no comments |