Friday, March 2, 2012

Questions to be asked when designing an application based on SOA..

Source - Grady Booch's blog at IBM Developer site

Having said that, there follow a multitude of hard technical and process decisions that must be made, which the Snake Oil-oriented Architecture showmen often neglect to tell you about: what distinguishes a good service from a bad one? what should the granularity of a service be? when should I offer up a stateless service versus a stateful one? as for the stateful ones, how to I express their semantics, and how do I ensure their their misuse doesn't corrupt my system? how do I express the semantics of a society of services (only the most trivial services work in isolation)? how do I decide upon the semantics of the information transmitted by these services so that locally they are efficient and useful but that also globally they are consistent? how do I expose some services to some clients and hide them from others? how do I offer up variants on a service, so that different clients see a different face to that service? how do I ensure the security of critical services, such that I am confident I'm not opening up holes in my enterprise that will let the bad guys in? what services should I expose to the world, and what services should I keep hidden? where are services appropriate, and where are they not? how do I best expose services in a legacy system? who should own/maintain these services? are there alternative architectural patterns I should employ instead of services, and where, and why?

Thursday, June 11, 2009

What is Terrorism?

As per Sri Sri....

What is Terrorism?
The act which is only destructive and inflicts suffering both on oneself and others is terrorism. In such an act, human values are lost in the process of achieving a goal.
Some of the factors that lead to terrorism are:
  • Frustration and
  • desperation to achieve a goal, and
  • confused emotion
Belief in a non-verifiable concept of heaven and merit; a childish concept of God favouring some and getting angry at others, thereby undermining the omniscience and omnipotence of the Divine. Anger and frustration arise when someone is unable to do something or control something. With this limited understanding of God, one becomes the saviour of God rather than the servant of God!

Terrorism induces ,
  • Fear psychosis in all,
  • Increases poverty,
  • Suffering and loss of life with no apparent gains.
  • Instead of solutions, the terrorist looks for destruction as an answer.
If you simply criticise without giving a solution, know that this criticism comes from the same seed as terrorism! Although there are certain qualities you can appreciate in a terrorist such as:
  • Fearlessness;
  • Commitment to a goal; and,
  • Sacrifice.
You will have to learn from them things that you should never do.Valuing some ideas and concepts more than life; Having a narrow perspective of life and dishonouring its diversity.

1 ) Inculcate a broader perspective of life — value life more than race, religion and nationality;
2 ) Educate people in human values - friendliness, compassion, cooperation and upliftment;
3 ) Teach methods to release stress and tension;
4 ) Cultivate confidence in achieving noble aims by peaceful and non-violent means; and,
5 ) Create spiritual upliftment which can weed out destructive tendencies.
Terrorism fails to recognise that God loves variety and diversity and many different schools of thought exist in this world. It arises when someone identifies himself first and foremost as a member of any particular religion, and then is ready to give up his life for that limited identity. We need first to identify ourselves are part of the divine and second to that, as human beings. As long as there is limited understanding, limited wisdom, there is no way we can get rid of this world of terrorism. We have to broaden our vision and educate people in all the different religious and cultural traditions of the world. Religious and spiritual leaders, in particular, should have a broad understanding of cultures and religions. Every mullah, every priest and Rabbi should know something about all other religions so that people don't fall into a narrow idea of the will of God. Faith and prayer can help people to cope with the aftermath of terrorism. When disaster happens, anger is inevitable. To take precautions that one does not react, wisdom is needed, not emotional outbursts. One mistake cannot be corrected by another mistake.Strive more multicultural and multi-religious education and spiritual upliftment to each and every part of the globe. For, the world will not be safe even if a small group of people are left ignorant. Terrorism need not be only physical violence, but also cultural or economical.

Solution for economic violence: Think globally and buy locally !

Solution for cultural violence: Broaden your vision and deepen your roots.

Wednesday, May 27, 2009

The Green Juice Story

Every so often - something extraordinary happens that changes your life direction completely. When my father got bowel cancer, decided upon chemotherapy as treatment and died 9 months later as they had predicted, one such change occurred in my life.

Being of a scientific frame of mind, I’d researched about cures and treatments from every field and every country imaginable. Of all I read one thing stuck - perhaps because I met living proof.

See at the same time my father got his condition, another woman I met by chance at that exact time got an equally aggressive form of the illness. Four years later, and three years after she was supposed to be under the mud - she is not only alive but vibrant. Her treatment was raw, organic, slow-juiced juices. The more I read, the more I realised that her story was no miracle, it was the result of the consistent and scientific application of principles of health restoration proven by Dr Max Gerson in the 1950s. Person after person after person emerged who had turned around the most incurable of illness.

Now I have to admit, I was not eating a great diet. I knew what I should be eating - but didn't, just as I knew how I should be exercising but wasn't. But then another serendipity occurred: I was given a CD by Anthony Robbins about health - and he spent the entire CD on just one thing - green juices. I asked myself "what if I, a healthy person were to have one of these green juices every day?" and as an experiment I started. All I can say is that within minutes of having it, I was not only energized but I had the energy to think clearer and start doing things I’d been putting off. The next week, someone told me a juicebar was for sale. It seemed like a sign, and my wife and I decided to buy it.

However, what followed was a series of setbacks, and we ended up sinking a lot of money in the first 2 years of operation. I believed passionately in the value of green juice, but there was so much I didn’t know.

I didn't know how to reach many people and tell them that the energy from coffee was like a bear-market rally, but this was a "bull market" of liquid gold energy.

I didn't know how to reach people and tell them that this juice was so alkalinizing that if they had this every day, they wouldn’t get sick or ill - because illness cannot enter an alkaline bloodstream.

I didn't know how to reach them to say that this so packed with the enzymes critical to nutrient absorption that was the ideal form for vitamins and minerals to be soaked up and used by every cell in the body. Never again would the vast bulk of vitamins pass straight through the body unused.

I didn't know how to reach people and tell them how people were putting on weight - because we were starving - starving for vitamins and minerals so the body kept on sending out distress signals saying "eat eat eat!" and ...

I didn't know how to reach people to tell them that because alkaline blood kills the parasites and yeast that live in our acid blood and induce us to crave what they need – sugar – that once they started having this juice, their cravings for acid-forming (illness creating) food would auto-adjust. That meant people would automatically start craving fruit and vegetables.

After 2 years of this labour of love, I received a message. Not a text message or a phone message. Not a skype message or an email - this was delivered on a different wavelength. This may sound unusual to some, but this is exactly the way it happened, so this is exactly the way I will describe it. I had bowed down before my Guru and said that I couldn't do it any more, I needed help. Within hours - my mother who had leant me the money to buy the juicebar in the first place said that she had received a message for me; that it was about the juice, and it was from my Guru. My "mailbox" had been too filled with bills and worry, so I wouldn't have noticed it - so it had to be forwarded via her.

She did not know about my prayer just hours earlier, but told me that the message was that the prana (the life energy) was so high in the juice that it had to reach many people to heal them, and that I had to deliver it, because I would be delivering pure love. The juice was grown with love, juiced with love, there was zero-waste because the pulp was all turned to compost and gifted with love, the juice was bottled with love, delivered with love and the vibration in the juice was incredible: and that I needed to deliver the juice not as a business - but as an act of service: an act of delivering love. I knew immediately that this was true, and dropped all anxiety about the business. While it was still losing money, I knew that would now be taken care of and that once it had returned gracefully to a level footing of breakeven, the any profits from the juices were not mine, but to flow through me in the same way that blood courses through the veins, or a river flows to the see, or juice from the fruits of the land, to our bodies. This current once generated was also to flow - to flow into many service projects.

Along the way we learnt that the green juice had a twin sister - the green smoothie. Not an identical twin, but a twin nonetheless, and that both were similarly divine but had subtley different applications. Where the juice was instant energy, the smoothie was slow release. Where the juice was a drink, the smoothie was more like a full fibre meal. Where the juice was the ideal blood cleanser, the smoothie was only food we had ever seen that was capable of restoring HCl acid levels in the stomach that had been depleted by decades of eating processed foods, and which would lead to better absorption of all food thereafter.

We also realised that to help any organs in the body, it needed to get past the “gatekeeper organ”: the tongue. So we spent a lot of time crafting them to taste beautiful too. All ingredients are organic, sourced locally wherever possible, cut directly from gardens wherever possible, using original varietals wherever possible, with seasonal boosts like cucumber in summer or ginger in winter so people got the right foods for each season, and rotated always so people would get the different benefits from the different greens without too much of any one form.

There is only one way that this can all come together and that is through word of mouth: one person letting another know who would benefit, as well as giving yourself the benefit of these body-healing drinks. If you would like to know more, or try a sample, or let someone else know - we would love to hear from you. Just let us know.

In love and service,


Thursday, January 8, 2009

My Premiere Collection!

:*: There is pain in love because the pain is of the ego; the ego is disappearing, is being destroyed, crushed - and that crushing of ego is painful.
(Guru ji)

:*: Men are disturbed not by the things that happen, but by the opinion of the things that happen.

:*: The key to everything is patience. You get the chicken by hatching the egg, not by smashing it.
(Arnold H Glasgow)

:*: Man's main task in life is to give birth to himself.
(Eric Fromm)

:*: If you want others to be happy, practice compassion. If you want to be happy, practice compassion.
(Dalai Lama)

:*: Turst in dream, for in them is the hidden gate to eternity.
(Khalil Gibran)

:*: You become a champion by fighting one more round. When things are tough, you fight one more round.
(James Corbett)

:*: The work that is cheerfully done is usually well done.

:*:The best way to cheer yourself up is to try to cheer somebody else up. (Mark Twain)

:*: The true test of character is not how much we know how to do, but how we behave when we don't know what to do.
(John Holt)

:*: The first step toward success is taken when you refuse to be a captive of the environment in which you first find yourself.

:*: Success in not the KEY to happiness. Happiness is the key to success. If you love what you are doing, you will be successful.

:*: One secret of happiness is not to do what you like, but to like what you do!

:*: Great souls have wills, feeble ones have only wishes.

:*: The greatest thing a man can do for his heavenly Father is to be kind to some of His other children.

:*: A man knows least the influence of his own life.

:*: Once found the habit of prayer becomes as natural as breathing.

Sunday, December 28, 2008

Flexibility is your strength.

This sentence has been running in my head since the day I first traveled in Singapore Metro.I noticed that most of the daily commuters don't need any hold to support them during; though very little but bumpy ride of Metro, then why do I need it so much?

Seat in Singapore Metro during peak hours is a rare commodity, and I hardly been so lucky to get one. But then without a seat, I had to look for a safest zone, where I could at least had a good hold of a "Rod" or "Support Belt" hanging at the ceiling of the compartment; without these support I used to feel so unsupported because of innumerable scary questions popping in my mind, like what if I fall on the girl/lady beside me? Slap Slap Slap.....

But I was literally amused to see all these "Serious Singaporeans" busy with books, newspaper or the game of their life "The Video Game", without any need of any such support, which I thought of more than compulsory to have a safe ride. Even though Singapore Metro was not very bumpy as our Local trains. but still, how can you just be comfortable standing on your feet, without any support, inside something running at 80-100+ Kmph.

It did not took me long to find out how these "Serious Singaporeans" were comfortable and why I was so uncomfortable without these supports. Reason was enough to amaze me, as it was not that they knew some kind of magic or had some special training "How to Ride in Metro without Support!". Many of you will reason it as they had been traveling for long and were in practice.But let me tell you, one of my friend had been traveling for around a year but still needed the support. And even if it was because of the practice, I wanted to dig out the difference between someone who had the practice and someone novice like me.

Soon I realized that its all in my mind. Thinking that I might fall, makes me more prone to fall.The fear factor within was good enough to make me extra conscious and hold me tight and rigid and not let me free float with these little bumps, during the ride. So, I experimented with a bit of risk that I might fall but I wanted to learn this magic. So, I started to travel unsupported and allowed myself to bend a little forward-backward-or-sideward :D. Yahoo! And here I was, with in next 2-3 days I was one of these "Serious Singaporeans" enjoying my ride without any support. huh! I was proud in front of my friend, who had been traveling for year and still needed support.

Later in my life, I experienced that such flexibility has always been of great help. And Now, I feel that things in my life should be trusted to an extent and I should be a little flexible with the bumpy ride of my life, if I really want to enjoy this ride of "Life in a Metro!".

Wednesday, December 3, 2008

Do the right thing!

This is in response to one of the Aamir's blog("From the ashes rises the Phoenix.") which he posted after Mumbai Terror Attacks.Before reading my response kindly read Aamir's blog about Mumbai terror attacks, pasted at the end of the mail(or at

Hi Aamir.
You are truly amazing. I mean this wud be your best blog. The way you have written it clearly shows all that is going in your mind. And thats what a personal blog is all about.

I agree to all your points, sply. the last part where you are talking about the way love should spread in this moment of chaos and not hatred or arbitrary ideas.

I am an Indian just moved 3 months back here in New Zealand, and during a training session today when I got to hear that "Most of the People in NZ follow rules because that is the right thing to do, and not because they are scared of ending up in jail or paying fine.", and thats when I realized , why everything runs so smooth and peacefully here in NZ and not in India.

Because as an Indian, I think we inherited this from the time of British i.e. to "BREAK RULE". I don't understand why we are still carrying the same mentality of breaking rules, burning things, killing people around etc. and why not we can think of doing something which is called "Do the right thing.". The day a new rule or law in passed in India, we as a citizen always try to find the way to sneak out of it and find the loopholes and the ways not to follow it.

After all of this crap filled in our society at individual level, how can we even think of having a great country. Country is what their people are like and not as their leaders.

I am very sure like me many would agree the way these leaders come in public only to declare the official figure of people killed in an attack or accident or blast. Do you notice, they don't even think that their voice should at least show some gratitude or respect to the family of people who lost their life?

I saw Maharashtra CM talking to TV crew, and the way he was talking didn't show any feeling of sadness or any sincerity to the people around. And then again I asked myself that all the good educated people NEVER choose politics as an option, I personally hate it to an extent that I might choose to be a beggar on road or serve for free around to get money rather than ending up in politics. Then how do we expect that we need somebody as young & dynamic as Barack Obama or John Key(NZ PM). It never gonna happen this way. Majority of our leaders are ill and un-educated and local gundaas (I come from Bihar and we all know how it works there:D) .

It was first time in my life that some terror attack has actually shocked me to this extent. It never happened even when Delhi (where my parents stay) was bombed several times. but this was terribly shocking...

I have many of my friends who just say that bomb Pakistan do this.. do that .. hate Muslims. .etc..

They don't even think that does Pakistan have any control over these terrorists.. No.. if that would have been the case they wont be bombing themselves every fortnightly. And they don't even think that these terrorists have no religion, if they were here to support Muslims, they killed 40 Muslims, if you are good at numbers 40 out 180 (not sure about the official figure) is not a small number (22%).

I Think its the time to think and correct our basics. We need to act more responsibly and should teach our kids to follow rules not because we are scared of getting caught, but because that is the right thing.
We all need to affirm ourselves to "Do the right thing whether its by law or not!"


Aamir Khan blog @

From the ashes rises the Phoenix.


I am here in Chennai to meet Shridhar for the last time. Went to his house last night to meet his family who are in shock and grief. As he lay in the centre of the gathering he looked peaceful, almost as if he were just asleep. I met his parents, brothers, wife and sons who were all very dignified in their moment of deep pain.

Shridhar was one of the finest technicians of our industry and a dear friend. We have worked together a number of times, and very closely during Lagaan. He did the final mix of the film, which is the last and most crucial creative process in film making. A close associate of A.R., he has worked together with him on a majority of his songs and background scores. In fact he was in A.R.'s studio until 4am yesterday morning working with A.R. and Murgadoss on our film. By around 8.30am he had passed away in his sleep.

The sudden news of his most untimely death came to me yesterday morning when I was still trying to pull myself out of the depressive state of mind I had slid into post the attacks on Mumbai. It left me shattered.

As I had expected various politicians have tried to use this traumatic and tragic attack to their advantage. I only hope that people see through them this time.

Quite clearly both the major political parties have failed to tackle terrorism. There have been repeated attacks on us during both their reigns which neither has been able to either anticipate or deal with well. While what happened in Mumbai recently clearly exposes the incompetence of the Congress, the hijacking of the Indian Airlines flight 814 during the BJP rule shows them in even worse light. They actually NEGOTIATED with the terrorists and RELEASED 3 dreaded terrorists from Indian jails. All the 5 hijackers and the 3 terrorists released from India by the then BJP government were allowed to escape to attack us another day.

I think the first lesson to learn from this is that we MUST NOT NEGOTIATE. No matter what, the next time round around, and lets not fool ourselves we must be alert and prepared for more attacks, we MUST NOT NEGOTIATE. All potential terrorists must get a very clear message that INDIA DOES NOT NEGOTIATE WITH TERRORISTS. What that means is, that in the future if there is a situation where me or my kids are held hostage by a bunch of terrorists then I must be prepared to tell our government - to hell with me and my children just go in there and kill the terrorists. I am prepared to sacrifice myself and my loved ones for the larger safety and security of the country but DO NOT LISTEN TO AND NEGOTIATE WITH TERRORISTS.

I personally hold both these political parties, and in fact other regional political parties across the country, responsible in one way or the other, for fueling terrorism in the first place. And please remember that the definition of terrorism is not restricted to AK 47 toting maniacs. It includes the spread of terror by other means like stone throwing, beating up of innocent people on the roads, and rioting, etc. Any means, in fact, to spread terror in the hearts of ordinary citizens.

The other important thing we need to remind ourselves in this time of anger and hurt is to stay calm and take sensible steps, and not give in to thoughtless knee jerk reactions. I heard someone say on television that we should all stop paying our taxes as a show of protest. Haven't heard of a more silly idea than that. If we stop paying our taxes then we won't have an army and NSG to save us next time around!!! Instead we should all START PAYING OUR TAXES. We demand so much of our leaders but are we fulfilling our basic responsibility? Can we say with honesty that as citizens of our country we are all honestly paying our taxes? If we are not paying our taxes can we blame the government for being inefficient? If we are corrupt then how can we expect our politicians to be honest?

I have a very important thing to say to all the various people going around arbitrarily throwing accusations at the politicians. These politicians are not from Jupiter or Mars, they are one of us, from our very own society, selected by us through a democratic process. So now think for a moment, who really is to blame? We can only blame ourselves guys. Half of us don't go to vote. The half that does vote has selected these guys.

In my opinion, you really want to change things? Change yourself. Each one of us needs to take a very honest look inwards and rectify and work on what we think is wrong with us. If each one of us does that individually then there will be a sea change in our society at large. I have to promise myself that I will not be corrupt, will play my role in society with honesty and sincerity. Doctors, lawyers, judges, people in the IAS, police force, media persons, businessmen, job workers, labour force, everyone. We have to stop thinking of our own individual gain and loss and do what is honest, true and right, and think collective. It calls for personal sacrifice in this time of chaos but from chaos will emerge clarity. Even if we don't manage to achieve this for ourselves we will achieve it for our children.

What I would really like to see emerge from all this is the youth of this country starting a political party. A group that stands for strong, clean, honest and fresh leadership. A group that we can all support.

And finally, if we really want to make sure that terrorists fail in achieving their end, then these terror attacks should not take us towards hate but instead towards love. If we react with hate we are succumbing to these terror attacks, and if we react with increasing love and peace in our hearts then we squarely defeat the terrorists. Allowing love, peace and trust to grow within us is not a sign of weakness but a sign of immense strength.

With appreciation and gratitude to the security forces who acted with courage, and with a prayer in my heart for those departed.