Sunday, July 6, 2014

Early days with REST

For last 7 years I have been following Roy Fielding's master piece, REST. I remember it was Rick Cobb who introduced this style of modelling services. Further Rajesh's musings helped me a lot in unleashing this style better. These days were very early days when REST trend has just started in industry. With no standards for styling, every other person has its own flavor of REST the way they want. If I remember the right names Restlet, RestEasy were some framework which emerged and they too had their beta version out.

We started writing REST services in a scripting language called TCL which was played on AOLServer. As such there was no support for REST but the choice was driven by application hosting platform. I remember those long discussion which I had with Rajesh understanding how to design URLs and responses. What resources are and how HTTP method maps to it and what it means then. I too remember the discussion on data interchange styles; XML was already popular, JSON was blooming, UL LI, XOXO :) etc. Deep diving microformat was our part time hobby.

Rick later introduced concept of POD (point of  something), with concept of PODs I realized the actual benefits of REST; importance of statelessness and how can that solve the Scalability & Availability needs of the service.

Thursday, June 26, 2014

MyBatis & Managed Transaction

How to work with Managed transaction in MyBatis?

MyBatis+Managed Transaction

Mybatis & returning auto-generated IDs with inserts

How do I return auto-generated IDs inserted in table within the same insert API?

PostgreSQL+MyBatis+Insert+Autogenerated ID

Wednesday, April 16, 2014

noname001 :)

Useful note from Shaun Anchor talk on 'The happy secret to better work'

Saturday, February 22, 2014

Flowers @ Jinendram

Lantana (Yellow), Lantana (Red/Yellow), Sevanti AKA Chrysanthemum, Nastritium(Yellow), Rose(Red/Pink/Orange),

Tuesday, February 11, 2014

Badminton @ MKM

Malhar Krida Mandal (MKM)
Many thanks to Bargal sir for getting this club integrated, one of the finest one in Indore & being an inspiration. 
Your commitment towards fitness and making others aware of its importance is really valuable.


Friday, February 7, 2014

The Croods

For last one week Aryaa, Shruti & me are watching 'The Croods' in parts. Aryaa started playing characters from movie, see herself as 'Eep' & me as 'Grug', though I don't have any resemblance. Daily a 20 minute 'The Croods' show has went very well. Yesterday the last part of movie was amazing, when Croods were about to reach their destination, an earthquake opens a deep ravine in their path. Grug throws each of the family member across the gap and reconciles with Eep while creating the first hug with her. This moment touched me & watching this with Aryaa turned me a bit emotional. Grug then throws her across the ravine and was left behind. Left apart Grug was sad and missing his family and was about to give a last try to patch himself with the departed. In that effort he was lost in the volcanic lava and everyone assumed him dead. Now this Aryaa's character game turned me down, as if I am Grug, I don't wanted to depart and left alone. I was yelling why has director done this, and not sending a right message. And of a sudden, dramatically Grug appears from the a huge lump of smoke, both me and Aryaa jumped up high and celebrated the Croods togetherness.