Sunday, July 4, 2010

Reason to live.

Thinking a lot on what could be a reason for person to live. Not sure on the fact that every one has reason below are some of thoughts which keeps me bugging..

1. Reasons like getting married, having kids are reason enough to live.

2. Is there any meaning for the time, as it is becoming very tough for me to understand how does it matter to say I dieing today and tomorrow.

3. or Are we just here to do time pass.

4. Most of us are wondering on the fact of how we could kill the time.. some time I do think am I waiting for some thing like death.. As finding a convincing reason to live is tough and hard to find it..

To have an interesting life does it make sense to say "We need to have a good goal or reason to live or else it is hard or not easy...... or it could be very easy.... still need to figure it out.....

My all time fev book is Siddhartha which I keep reading now and then trying to figure out what is this life is all about and what is value for the time.. Today I was just reading the last chapter and it is about finding and searching.. and being goal less, free and open need to figure it out what is the meaning of the each word..

Is most of the time to be utilized to make money.. thinking of the future and past.. "Not known, needs to be figured out."


Seconds move faster than minutes, minutes move faster than hours, Hours move faster than days, days move faster than months, months move faster than a year.......................

And Still I could not figure out the difference between a second, minute, hour, day and year......


Happiness.





Saturday, July 3, 2010

Technology is getting simpler, but can still simplify why we right web services

Since from the some days I was trying to start looking at option of creating web services. We are definitely in the process for reducing the time/effort required to adapt to new technology, but does not seems to be in the phase that needs to be. Presently trying to see how difficult it is to make a simple POJO class methods to be made available as web services.

We are moving to era of annotation, how simple it could be to just have an annotation to indicate some thing as web service and at right click of the class you have option to deploy it and test it.

Example:

Class IntegerMaths {
Integer add(Integer operand1, Integer operand2){
return operand1+operand2;
}

above is just a service class, I would call it as service class as it provides services to the some one else..

If I would like above class to expose as web service I would expect it to work if just modify it to .

@RegisterID = santosh.maths.IntegerMaths -- Not necessary to be a package path. Just needs to be unique id to indentify the class.

Class IntegerMaths {
@WebSerivce
Integer add(Integer operand1, Integer operand2){
return operand1+operand2;
}

Once I am done with this, I just need to have right click on the class to deploy it to server, and option to have quick test on it..



Above one could be made as UI based also i.e Once you right click on a POJO class, you will get option publish as web service, you have the UI to enter
1. Server where this service needs to be hosted.
2. Unique ID within registry where the service as hosted.