Tag: eating

  • Spring IoC, DI quick tutorial

    There has been an (evident) craze amongst Java community with contrived terms such as IoC (Inversion of Control), DI (Dependency Injection) mainly through Spring. I initially found the connotation “Don’t call me, I’ll call you” a bit difficult (yeah, it’s bending your head upside down) to understand, but after spending few hours around Spring documentation, I get the gist.

    To a layman (Java layman, of course) it is helpful to picture that each Java program is a set of one or more classes, which act together. Essentially, this means classes are “dependent” on some classes in order to be fully functional. Usually, the class requiring functionality of another class instantiates the class, and uses it. This is called coupling because class instantiates the object of required class. What if we always got an “instantiated” instance of required class, and our class did not have to worry of instantiation? – This is called IoC (Inversion of Control) principle in Spring, and it achieves this by providing ready-to-use instance (injecting dependency) to your class. This has some important uses, since now you don’t worry of creating connections to databases, loggers to log4j, or sessions for JMS queues. Spring will create these for you, and your class can focus on the actual purpose – using the pre-instantiated ready-to-use object.

    Get it? OK, to simplify it further, let us assume you have a class A having one field – log. You want to use log to log information, but your class nowhere has the logic to instantiate or initialize log. You accept a pre-instantiated log through constructor, or getter/setter methods, and you will have a ready-to-use log instance passed to your class via Spring!

    I won’t go into details of Spring further, since Spring’s own documentation on http://static.springsource.org/spring/docs/2.5.x/reference/index.html is the definitive source to look into.

  • TOYOTA: Speech by Akio Toyoda – president of Toyota Motor Corporation

    “Contributing to society” at Toyota means two things.  First, it means, “to manufacture automobiles that meet the needs of society and enrich people’s lives.”  And second, “to take root in the communities we serve by creating jobs, earning profits and paying taxes, thereby enriching the local economies where we operate.”

    TOYOTA: Company > Company Profile > Message from Top Management.

  • Visit to Mahesh’s place in Nishi-kasai

    We had a splendid day today! We were invited to Mahesh’s place in Nishi-kasai. Amrita, Nicolas enjoyed their playtime with little Vibha.

    We feasted on an extremely delicious lunch prepared by Rajshri (Mahesh’s wife) – Puran Poli, with Amti. And not to mention, how tasty the Bhaji was… ahaha yummy!

    The next was a well mixed dish of basmati rice with amti, one cannot describe it’s taste in words unless you eat it prepared from Rajshri’s hands once.

    All of us really enjoyed the short visit to our friends, and we could really say our visit as greatly satisfying (and appetizing) despite of the gloomy, rainy day outside.

    Some very funny moments, especially when Amrita, Nicolas decided to play with Mahesh, and Rajshri.

    We do wish to visit our friend often, and see how Amrita, Vibha’s new friendship grows deeper. Nicolas with his unsatisfied appetite, was eating anything that came in the way of his mouth. Hope he doesn’t upset his stomach with this cocktail of apple juice, bhaji, snacks, rice, puran poli, milk, and vitamin water (phew!)

  • Amrita turns 10 months, eating cherries

    Amrita now turns 10 months! Now she can already gobble down cherries – see how!

    Isn’t she simply beautiful?