Tuesday, May 09, 2006

A Story....

One day a teacher asked her students to list the names of the other
students in the room on two sheets of paper, leaving a space between each
name.

Then she told them to think of the nicest thing they could say about
each of their classmates and write it down.

It took the remainder of the class period to finish their assignment,
and as the students left the room, each one handed in the papers.

That Saturday, the teacher wrote down the name of each student on a
separate sheet of paper, and listed what everyone else had said about that
individual..

On Monday she gave each student his or her list. Before long, the
entire class was smiling.. "Really?" she heard whispered. "I never knew that
I meant anything to anyone!" and, "I didn't know others liked me so
much," were most of the comments..

No one ever mentioned those papers in class again. She never knew if
they discussed them after class or with their parents, but it didn't
matter. The exercise had accomplished its purpose. The students were happy
with themselves and one another. That group of students moved on.

Several years later, one of the students was killed in Viet Nam and his
teacher attended the funeral of that special student. She had never
seen a serviceman in a military coffin before. He looked so handsome, so
mature.

The church was packed with his friends. One by one those who loved him
took a last walk by the coffin. The teacher was the last one to bless
the coffin.

As she stood there, one of the soldiers who acted as pallbearer came up
to her. "Were you Mark's math teacher?" he asked. She nodded: "yes."
Then he said: "Mark talked about you a lot."



After the funeral, most of Mark's former classmates went together to a
luncheon. Mark's mother and father were there, obviously waiting to
speak with his teacher.

"We want to show you something," his father said, taking a wallet out
of his pocket.. "They found this on Mark when he was killed. We thought
you might recognize it."



Opening the billfold, he carefully removed two worn pieces of notebook
paper that had obviously been taped, folded and refolded many times..
The teacher knew without looking that the papers were the ones on which
she had listed all the good things each of Mark's classmates had said
about him.

"Thank you so much for doing that," Mark's mother said. "As you can
see, Mark treasured it."

All of Mark's former classmates started to gather around. Charlie
smiled rather sheepishly and said, "I still have my list. It's in the top
drawer of my desk at home."
Chuck's wife said, "Chuck asked me to put his in our wedding album."

"I have mine too," Marilyn said. "It's in my diary."

Then Vicki, another classmate, reached into her pocketbook, took out
her wallet and showed her worn and frazzled list to the group. "I carry
this with me at all times," Vicki said and without batting an eyelash,
she continued: "I think we all saved our lists."

That's when the teacher finally sat down and cried. She cried for Mark
and for all his friends who would never see him again..

The density of people in society is so thick that we forget that life
will end one day. And we don't know when that one day will be.

So please, tell the people you love and care for, that they are special
and important. Tell them, before it is too late.

Remember, you reap what you sow. What you put into the lives of others
comes back into your own.

May Your Day Be Blessed As Special As You Are

Monday, May 08, 2006

ANYWAY

             ANYWAY
People are unreasonable , illogical
and self centered.love them anyway.
 
if you do good people will accuse you
of selfish ulterior motives. do good anyway.
 
If you are successful you win false
friends and true enemies.suceed anyway.
 
The good you do today will be
forgotten tomorrow .Do good anyway.
 
Honesty and frankness make you
vulnerable. Be honest and frank any way.
 
People favor underdogs but follow only
top dogs. Fight for some underdogs anyway.
 
What you spend years building may
Be destroyed overnight . Build anyway.
 
People really need help but may attack
you ,if you help them. Help people anyway.
 
Give the world the best You have
And you'll  be kicked in the teeth.

Wednesday, May 03, 2006

The strength of a man ...

The strength of a man ...

 


The strength of a man isn't seen in the width of his shoulders.
It's seen in the width of his arms that circle you.



The strength of a man isn't in the deep tone of his voice.
It's in the gentle words he whispers.



The strength of a man isn't how many buddies he has.
It's how good a buddy he is with his kids.



The strength of a man isn't in how respected he is at work.
It's in how respected he is at home.
 


The strength of a man isn't in how hard he hits.
It's in how tender he touches.


 

The strength of a man isn't how many women he's loved.
It's in how he can be true to one woman.

 


The strength of a man isn't in the weight he can lift.
It's in the burdens he can carry....

 

Monday, February 20, 2006

Nice Article about Love

nice Article about Love

- by Swami Vivekananda


I once had a friend who grew to be very close to me. Once when we were sitting at the edge of a swimming pool, she filled the palm of her hand with some water and held it before me, and said this:
"You see this water carefully contained on my hand? It symbolizes Love."

This was how I saw it: As long as you keep your hand caringly open and allow it to remain there, it will always be there. However, if you attempt to close your fingers round it and try to posses it, it will spill through the first cracks it finds.

This is the greatest mistake that people do when they meet love...they try to posses it, they demand, they expect... and just like the water spilling out of your hand, love will retrieve from you .

For love is meant to be free, you cannot change its nature. If there are people you love, allow them to be free beings.

Give and don't expect.
Advise, but don't order.
Ask, but never demand.

It might sound simple, but it is a lesson that may take a lifetime to truly practice. It is the secret to true love. To truly practice it, you must sincerely feel no expectations from those who you love, and yet an
unconditional caring."

Passing thought... Life is not measured by the number of breaths we take; but by the moments that take our breath away.....

Life is beautiful!!! Live it !!!

Monday, December 26, 2005

a story...

 As I was passing the elephants, I suddenly stopped, confused by the fact that these huge creatures were being held by only a small rope tied to their front leg. No chains, no cages. It was obvious that the elephants could, at anytime, break away from their bonds but for some reason, they did not.
I saw a trainer near by and asked why these beautiful, magnificent animals just stood there and made no attempt to get away. "Well," he said, "when they are very young and much smaller we use the same size rope to tie them and, at that age, it's enough to hold them. As they grow up, they are conditioned to believe they cannot break away.
They believe the rope can still hold them, so they never try to break free." I was amazed. These animals could at any time break free from their bonds but because they believed they couldn't, they were stuck right where they were.
Like the elephants, how many of us go through life hanging onto a belief that we cannot do something, simply because we failed at it once before?


True ...Right??? 

Sunday, December 18, 2005

Spring 2.0 vs. the Anemic Domain Model

Spring 2.0 vs. the Anemic Domain Model

One of the most interesting aspects (no pun intended) of Spring 2.0 that was discussed this past week at The Spring Experience was the idea of letting Spring configure beans post-instantiation and regardless of how the bean became instantiated. This Spring 2.0 feature helps avoid the Anemic Domain Model" anti-pattern as described by Martin Fowler.

It's very common in Spring to build applications where service objects are injected with DAO objects and use those DAO objects to handle persistence of domain objects. The domain objects themselves, however, are little more than dumb data holders. The problem with this approach is that the interaction between the service object and the DAO object is very procedural. The service object makes one or more calls to the DAO, passing the domain object around like cargo.

Ideally, the domain object would contain behavior to handle its own persistence. If domain objects offered such behavior, then the service object could deal directly with the domain object in a very object-oriented way. Instead of telling a DAO to persist a customer, the service would tell the customer to persist itself. There will still be a DAO, but the domain object will do its own dealing with the DAO, unbeknownst to the service object. In effect, the domain object and the DAO swap positions with relation to the service object.

If the domain object is responsible for dealing with the DAO, then the domain object must have access to the DAO. In Spring, we'd like to do this through dependency injection. But domain objects are typically instantiated outside of Spring (e.g. in Hibernate, iBATIS, or some other persistence mechanism). How can Spring inject a DAO into a domain object when Spring isn't the one instantiating that domain object?

Full article..
http://jroller.com/page/habuma?entry=spring_2_0_vs_the