Thursday, October 30, 2008

My experiences with SOA-part II: Principles

It has been quite a while since I published a post on my blog. As usual am held up with tasks both on the work and personal front and added to that the festival season had brought in some travel and leisure.

Well, in this entry am supposed to cover the principles of SOA. So, what essentially are the priniples of SOA? The following are the set of widely accepted principles of SOA:
1. Reusability
2. Loosely Coupled
3. Abstract the logic underneath
4. Composability
5. Autonomous
6. Statelessness
7. Discoverability
8. Possess a contract

Keep in mind that it is all about services. These principles are inter-related to each other. In the next part, I'll cover how we started on this project, the role of ESB and something on the unit testing and CI.

Sunday, October 12, 2008

Architect and Army general

An interesting post on how an architect should be - The Architect Said What

Tuesday, October 07, 2008

An interesting article on Scripting languages

Came across this article on CIO.com that considered the various scripting languages - Ruby, Python, Perl, Javascript and PHP and provided info on where each language fits the best. The opinions from experts like Zed Shaw and Martin Aspeli. It is very good read, the article is here

Web Services, Security and SocketException

I use Soap UI for testing my web services and one service exposed to our clients is SPNEGO enabled and whenever I test this service using Soap UI there is an error - java.net.SocketException: Software caused connection abort: recv failed. The reason for this error is mostly due to the client side settings, network issues, windows socket binding, server side shared JVM. In my case it got resolved when the Http Settings were changed a little on the Soap UI HttpSettings. I just enabled the Pre-emptive Authentication and I could successfully consume the web service. This service is consumed by applications written in Java (Axis2) and .NET. We have advised out clients to increase the time for Socket timeout and enable pre-emptive authentication to avoid any potential issues in the future.

Wednesday, October 01, 2008

My experience with SOA - part I: Myths

It had been slightly over an year since I started working on a SOA project and people have been asking me to share my experiences and learnings. I decided to write a series of posts on my blog focusing on one aspect everytime. In this entry, I'll address the myths about SOA.
1. If your project has web services then you are doing SOA: Funny does it sound, isnt it? I have been hearing this statement for a long time. Web services is just an architectural style that facilitates achieving the fundamental principles of SOA.
2. ESB is SOA: another popular myth. SOA is technology neutral and is not coupled to one particular way of doing it. This myth defeats the core principles of SOA - loose coupling and vendor diversity.
3. SOA is out of the box: Well, SOA is not the panacea to all the business problems. There is no out of the box product that guarantees this. There is a popular myth that simply wrapping the legacy systems with web services to achieve SOA.

The above myths are mostly from a technical perspective, I have not touched upon myths from a business angle. There are myths that SOA is easy (umm, I wish it were that easy), SOA is very expensive, SOA is always a flop, etc.

In the next post, I'd cover the core principles of SOA.

Tuesday, August 12, 2008

WSDL2Java to the rescue

Here is an interesting stuff on how we mocked the services - Few of the service providers could not meet our timelines ( we are bit ahead, hehe) and we were asked to mock the services from their WSDLs. Looking at the various options for mocking, I preferred the Axis2 WSDL2Java to geenrate the server side stubs, fill in the skeleton class and deploy it. It is quick and works just fine. One other thing using -t option generated a test case and we just needed to fill it up with the required assertions. I must say WSDL2Java saved time for me. Do you have any other ideas, feel free to comment on this entry.

Thursday, July 03, 2008

Top Best 100 Software Engineering books

For those who enjoy reading books and like to stay updated on the techcnology, here is the link to top best 100 software engineering books. Happy to see Code complete ranked #1, it is my favorite book. It is also nice to see the books I'm reading currently - SOA principles of service design and SOA concepts, technology and design, msut read books if you are planning to use SOA/already adopted SOA.

Monday, June 23, 2008

Coding keeps me fit

Exercise keeps you fit physically and what about your programming skills? Code regularly?Yes, to some extent. But good programmers keep practicing. Practice is the key to a good developer.

It is so unfortunate that coding is considered a menial task in companies around and good developers have become a rare thing in the market. The common misconception is after 3 years of experience you should do less coding and try to become a team lead, and eventually the damager (umm Manager!). The FAQs are "You have x years of experience (x > 5, btw) and do you still code?" Damn! and another question - "You are an architect, do you still code?" What the heck!

Considering all these, how to be a better programmer, follow these simple steps:
1. Read books (hmm, I know you have given up reading, but read Code Complete atleast)
2. Read blogs and keep yourself up to date on the happenings in the industry
3. Be a problem Solver
4. Practice, Practice and Practice.
5. Visit codekata and solve the katas.
6. Understand the dynamics (NOT politics) of the organization.
7. Do not get carried away by the misconception of becoming a damager.
8. Last but not least, code regularly.

Tuesday, June 17, 2008

We lost a good manager

It is sad to know that Subbu is leaving Dell. Subbu was my first manager at Dell and is my icon for a manager. We are going to miss you, Subbu. All the best for your future endeavors!

Friday, June 06, 2008

Advancement and Innovation

A recent post on James McGovern's blog prompted me to write this entry. Read the entry here. If I were asked the same question, my answer would be YES.
It is a very conspicuous thing to notice among the folks (includes my friends as well) to grab the title of Manager as earlier as possible. I do not mean to undermine the role of a manager, I worked with some excellent managers and I respect the position.

One for the reasons for the rush to be a manager is to hide the technical incompetence. 95%(perhaps even more) of the poeple in IT industry should not have entered the software field, and the shortest way they found out to save their jobs is to become a manager, rather damager.

Another reason is folks are too lazy to learn new things and apply them to their work. The mindset is "I'm asked to do this and have done it". Arrive Late, leave early, take big break in between (play badminton, 2 hr lunch break, ...) have become quite common. Most of them dont even know what a BLOG is and the last they read something from a book is only during their college days. Innovation is given a damn.

Let me stop here!
Disclaimer: This entry is by no means to undermine the managers nor to demean the Indian IT folks. Any resemblence is purely coincidental and not intentional.

Tuesday, June 03, 2008

JEE6

Someone pointed me to a pdf on the EJB3.1 that is part of JEE6. Have a look at the pdf here. It has many nice features which shold have been available (much) earlier. Read carefully and if you have worked with Spring, Hibernate and Quartz (my favorite frameworks, btw), you'd notice some overlapping concepts.

Thursday, May 15, 2008

Agile is not going to work for me!

This is not my statement. This is the initial statement I keep hearing when people are introduced to Agile. During lunch today, a (heated) discussion started around Agile and the folks are from the testing team. To start with, they are not convinced with the scrum standup calls. When asked how they are doing it, the reply was they are doing it once a week with 18 members in the team! Well, is that a stand up call? When asked the same question, the answer I got back was standup call is no different than a status meeting. Hmmmm, I have no words to describe my feelings. Grossly disgusting. Agile and the tenets of Agile are being misconstrued and misinterepreted.

Sunday, May 04, 2008

What Lead are you?

While talking to my friend on the weekend an interesting discussion spurred up around the roles we have in our organizations. Top of the mind, recall - Team Lead, Tech Lead, Dev Lead, Solution Lead, Design Lead..Jeez, the list goes on..the thing that I'm not able to comprehend is why do we need so many roles? My observation is that the teams are always self organizing and would naturally select a tech authority [perhaps a new role has been coined ;-)] and would not consult a personally who is formally appointed as Tech Lead.

Monday, April 28, 2008

Do you care for Web2.0?

I understand that am little delayed in posting an entry on Web2.0, reason being that am doing middleware work mostly (Ah! the SOA stuff, more on this in another post) and it has been almost an year and half that I coded something on servlets/JSP/Struts/JSF, blah blah. OK, coming to the point ...

Recently, one of my friends proudly gave a demo of the application he has been working on for an year. Though the application met the requirements defined by the business people, there was something that was missing in the app. My friend's team received unsatisfactory comments from the client. When probed deeper the team found no deviations from the requirements but the users are not that happy using the product. Apparantly, the system was not designed in a user-centric manner [Usability is different from User-Centric Design!!]. It seems someone suggested my friend to change the colors and add some funky javascript to appease the eye (they started advertising that they used Web2.0!!!). All that jazz helped initially but died down very soon.

Well, Web2.0 is NOT adding some animations and jazzy javascript, it is much more than that. Do we really know what Web2.0 is intended for? Frankly, I'm not fully aware. I came across some links that helped me understand Web2.0, so instead me duplicating the content here, go there and read upon. Make sure to watch the content on the "Related Slidehshows" tab

Tuesday, April 01, 2008

Back in office

I'm back in office after a 20 day vacation and catching up on the happenings. Lot of things seem to have happened. The reason for the long silence and no blog entries is that I got married to Madhuri on March 09. The snaps will be posted soon on the picasa. Although, I lost my most prized ship..BACHELORSHIP, am enjoying the married life and getting used to make compromises..hehe.

Tuesday, January 29, 2008

The Enterprise Service Bus (ESB)

So, you have decided to adopt SOA in your organization and narrowed on an ESB to accomplish the daunting task of Soafying your IT infrastructure? Good idea. In all the excitement, before you sign off the agreements with your ESB vendor, watch the video on Guerilla SOA by Jim Webber on the infoQ. Very interesting presentation. ESB has been referred to as "Enterprise Spaghetti Bus", hehehe, I like it.

Friday, December 21, 2007

Year.introspect(2007)

Being a Friday afternoon, I wanted to finish any pending tasks and go home early and more importantly to keep myself away from the laptop on the weekend. I started looking at the TODO list and the one with top priority was submitting the self assessment. Hmmm, another year just rolled by and while filling up my assessment I introspected my personal life as well.

This year has been very eventful on the personal and work fronts. On the personal front, the long pending tasks have been completed. I purchased my first car, am delighted to drive it. Got a very good deal and purchased a house, would me moving into that very soon and most important, got engaged. The horoscopes have finally relented and I found my soul mate. My fiancee is also a java developer :-).

On the work front, I got a very challenging assignment and am all the more happy for it, though it is going to be little hectic. We will be driving the "Bus" - Enterprise Service Bus. ALSB has been choosen as the ESB and hopefully, the ride is going to be fun and thrilling as we become more SOAified ( I coined this word, hehe).

This year went by just like that, but was very eventful. Hoping that the next year would be more fun filled and exuberant. Wish you all a very Happy and Prosperous New Year, 2008!!!

Monday, December 03, 2007

Safely Remove Hardware icon, where has it gone?

I noticed that sometimes, the "Safely Remove Hardware icon" disappears from the taskbar and simply unplugging the thumb drive has corrupted it once. Today, I found that there is another workaround for this - Start > Run and key in the following to bring up Safely Remove Hardware dialog:

RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Thursday, November 29, 2007

Open Source Softwares to look at

For some reason, few (great) open source softwares have missed my eye. I'm greatful to my friend who pointed me to these products - JScience, icu4j and Joda Time. How much time I spent grappling with the currency conversions, i18n, l10n and dealing with the date/timestamp issues. I should have known these libraries earlier.Tch!

Wednesday, October 24, 2007

Free the Left Lane

The traffic in Hyderabad is getting miserable everyday. Last year, during the month of October it used to take me approximately 45 minutes to reach office from my home which is 25 KM away. Now it takes anything between 1 hour 15 minutes to 1 hour 30 minutes. Terrible, isn't it! The reason is not just increase in the number of vehicles on the road, but people driving without traffic sense and mutual respect for the others on the road.

There is a concept of free left lane at the signals in Hyderabad, this is not the case in Bangalore. The drivers in a hurry to reach the destination faster block the left lane and cause a severe congestion at the junctions. One such place is the junction at the Cyber Towers where people take a left turn as most of the companies are located on that way.

Recently, few companies started the initiative of "Free the left lane", where in employess of these companies help in freeing the left lane and reduce congestion. These people stand in the hot sun and ensure lane discipline. Thanks, folks! You are helping me reach the office early by atleast 20 minutes. I have noticed employees of SumTotal and CSC, many thanks to you!