Wednesday, February 28, 2007

I WOULD HAVE BEEN RELEASED TODAY...! ! !

A woman awakes during the night to find that her husband was not in bed. She goes downstairs to look for him. She finds him sittingat the kitchen table with a cup of coffee in front of him. He appears to be in deep thought, just staring at the wall. She watches as he wipes a tear from his eye and takes a sip of his coffee.

"What's the matter, dear?" she whispers as she steps into the room. "Why are you down here at this time of night?" The husband looks up from his coffee, "Do you remember 20 years ago when we were dating, and you were only 18?" he asks solemnly. "Yes I do" she replies.

The husband pauses; the words were not coming easily. "Do you remember when your father caught us in the garden?" "Yes! I remember" said the wife, lowering herself into a chair beside him. The husband continued. "Do you remember when he showed the shotgun in my face and said, 'Either you marry my daughter, or I'll send you to jail for 20 years?"

"I remember that too" she replied softly. He broke down completely and cried profusely and somehow managed to Utter "I would have been released today!"

Next-Generation Web Technologies

The most innovative companies today are taking advantage of next-generation, collaborative Web 2.0 capabilities to reach out to new prospects, enhance the sense of loyalty among existing customers, and run their operations more efficiently. Whether your firm is a new or established startup — or a large enterprise — if you're seeking to go beyond the limits of traditional HTML, you'll want to construct your new dynamic Web capabilities upon a solid platform of systems, enterprise software and services from a proven IT partner you can trust.

Read on to discover how Sun's offerings can help you harness the power of next-generation Web capabilities — according to your individual requirements...

Solaris 10 Released

The free and open source Solaris Operating System—available on hundreds of x64/x86 platforms and supported for thousands of open source and ISV applications—has the largest installed-base of any other commercial UNIX or Linux distribution on the planet.

For futher information Click Here

ForDownload Click Here

Tuesday, February 27, 2007

Access Modifiers in Java

Difference between Default and Protected :

Default access modifier is package oriented. For example, Consider Class A has a method or member with default access modifier ,and Class B inherits Class A.Class B can only access the method or member of Class A, if and only if Class B is in the same package as class A.

In case of Protected , it is parent - child oriented. That is , for the above example, Class B can access the protected methods or members of Class A, eventhough Class B belongs to any other package.

In both cases , it is assumed that Class B inherits Class A, and class A is visbile to all classes,i.e, Class A is declared as Public.

And one more thing is, The subclass can see the protected member only through inheritance , and not by creating a instance of the superclass.

The protected member of class A can be accessed by the subclasses of Class B and not by other classes present in the Class B's package by instantiating Class B.

Procedure

Have you ever written such a wonderful procedure ....

CREATE PROCEDURE MyMarriage
@ BrideGroom Char(NotBad) ,
@ Bride Char(Good)
AS
BEGIN
SELECT Bride FROM Brides
WHERE
FatherInLaw = 'Millionaire' AND
CarCount > 2 AND
HouseStatus ='TwoStoreyed' AND
BrideEduStatus='PG orAbove'
HavingBrothers='NO' AND
HavingSisters ='No' AND
AllowRelocate ='YES' AND
SELECT Gold ,Cash,Car,BankBalan ce FROM FatherInLaw
UPDATE MyBankAccout SET MyBal = MyBal + FatherinLawBal
UPDATE MyLocker SET MyLockerContents = MyLockerContents +
FatherinLawGold
INSERT INTO MyCarShed VALUES ('BMW')
END
GO

Never Lie Together

ONE NIGHT 4 MBA STUDENTS WERE BOOZING TILL LATE NIGHT AND
DIDN'T STUDY FOR THE TEST WHICH WAS SCHEDULED FOR THE NEXT
DAY.

IN THE MORNING THEY THOUGHT OF A PLAN. THEY MADE THEMSELVES
LOOK AS DIRTY AND WEIRD AS THEY COULD WITH GREASE AND DIRT.

THEY THEN WENT UP TO THE DEAN AND SAID THAT THEY HAD GONE OUT
TO A WEDDING LAST NIGHT AND ON THEIR RETURN THE TYRE OF THEIR
CAR BURST AND THEY HAD TO PUSH THE CAR ALL THE WAY BACK AND
THAT THEY WERE IN NO CONDITION TO APPEAR FOR THE TEST.

THEN DEAN WAS A JUST PERSON SO HE SAID THAT YOU CAN HAVE THE
RETEST AFTER 3 DAYS.

THEY SAID THEY WILL BE READY BY THAT TIME. ON THE THIRD DAY
THEY APPEARED BEFORE THE DEAN. THE DEAN SAID THAT THIS WAS A
SPECIAL CONDITION TEST.

ALL FOUR WERE REQUIRED TO SIT IN SEPARATE CLASSROOMS FOR THE
TEST. THEY ALL AGREED AS THEY HAD PREPARED WELL IN THE LAST
THREE DAYS. THE TEST CONSISTED OF 2 QUESTIONS WITH TOTAL OF
100 MARKS.

Q.1. WRITE DOWN YOUR NAME -----(2 MARKS)

Q.2. WHICH TYRE BURST -------(98 MARKS )

Monday, February 26, 2007

Sardar joke

A letter from a Sardar's mother to her son....

My dear Lotta,
I am in a well here and hoping you are also in a well there. I'm writingthis letter slowly, because I know you cannot read fast. We don't livewhere we did when you left home. Your dad read in the newspaper thatmost accidents happen within 20 miles from home, so we moved 25 milesaway and are safe now.

I won't be able to send the address as the last Sardar who stayedhere took the house numbers with him for his new house so he would nothave to change his address. Hopefully by next week we will be able totake our earlier address plate here, and that our address will remainsame too.
This place is really nice. It even has a washing machine, situated rightabove the toilet I'm not sure it works too well. Last week I put in 3shirts, pulled the chain and haven't seen them since.
The weather here isn't too bad. It rained only twice last week. Thefirst time it rained for 3 days and second time for 4 days.

The coat you wanted me to send you, your Aunt said it would be alittle too heavy to send in the mail with all the metal buttons, so wecut them off and put them in the pocket.
Your father has another job. He has 500 men under him. He is cutting thegrass at the cemetery.
Your sister had a baby this morning. I haven't found out whether it is agirl or a boy, so I don't know whether you are an Aunt or Uncle.

Your uncle, Beppo Singh fell in! the nearby well. Some men tried to pullhim out, but he fought them off bravely and drowned. We cremated him andhe burned for three days.
Your best friend, Genda Singh, is no more. He died trying to fulfill hisfather's last wishes. His father had wished to be buried in the seaafter he died. And your friend died while in the process of digging agrave for his father.

There isn't much more news this time. Nothing much has happened.

Love Mom.

P.S : Lotta, I was going to send you some money but by the time Irealized, I had already posted off this letter.

Interface in Java

Interface juz says 'what the class can do',but doesnt say 'How it can do'.Interface can be implemented by any class in the Hierarchy.

Unlike abstract classes , interface can only have abstract methods.

Interface methods are implicitly public and abstract....No need to explicitly declare them as 'public' or 'abstract'.

Interface variables are implicitly public,static and final. So no need to declare those things explicitly.If once initialised within the interface they become read only , and cannot be modified.

Interface methods must not be static.

Interface can extend one or more interfaces, and only interfaces, and not classes . It cannot implement interfaces or classes.

Final and Abstract Class in Java

Final Class :

When a class is declared final,it cannot be extended or subclassed.If any attempt is made to do so will result in compilation error.

Why final class:

If you need an absolute guarantee that none of the methods in that class will ever be overridden.But declaring a class final violates object-oriented (OO) notion of inheritance.

Abstract Class :

An abstract class can never be instantiated.Its main mission is to be subclassesd.If even a single method is abstract, the whole class must be declared abstract.However you can have nonabstract methods in abstract class.Declaring a class abstract supports the concept of polymorphism.You cannot create an object out of abstract classes,which will result in
compilation error.

Why Abstract class:

It helps the concept of polymorphism.Just declare all the generic methods(behaviour) and variable(state) for a particular group in a abstract class and subclass it , so that those methods can be overridden by the class that extends abstract class.

You can't mark a class as both abstract and final.

Java Web FrameWorks List

I just thought of learning Struts framework to build my App. In order to know the advantage of Struts , i decided to compare it with other available frameworks . So i googled to get a list of frameworks available (for java). And i was shocked to see the List.... It seems it never ends.... And by this time of posting ,there would have born many more frameworks.... What if i would have googled to get the list of available programming languages..... Thank god that i decided
to go with Java.....

1. Echo
2. Cocoon
3. Millstone
4. OXF
5. Struts
6. SOFIA
7. Tapestry
8. WebWork
9. RIFE
10. Spring MVC
11. Canyamo
12. Maverick
13. JPublish
14. JATO
15. Folium
16. Jucas
17. Verge
18. Niggle
19. Bishop
20. Barracuda
21. Action Framework
22. Shocks
23. TeaServlet
24. wingS
25. Expresso
26. Bento
27. jStatemachine
28. jZonic
29. OpenEmcee
30. Turbine
31. Scope
32. Warfare
33. JWAA
34. Jaffa
35. Jacquard
36. Macaw
37. Smile
38. MyFaces
39. Chiba
40. JBanana
41. Jeenius
42. JWarp
43. Genie
44. Melati
45. Dovetail
46. Cameleon
47. JFormular
48. Xoplon
49. Japple
50. Helma
51. Dinamica
52. WebOnSwing
53. Nacho
54. Cassandra

For more informations about these frameworks , just visit the following links.....

http://www.manageability.org/blog/stuff/how-many-java-web-frameworks/view
http://java-source.net/open-source/web-frameworks
http://www.developer.com/design/article.php/10925_3523506_2

Friday, February 23, 2007

Key Features of JDK 6

New Security Features and Enhancements

* Native platform Security (GSS/Kerberos) integration.
* Java Authentication and Authorization Service (JAAS) login module that employs LDAP authentication
* New Smart Card I/O API

Integrated Web Services

* New API for XML digital signature services for secure web services
* New Client and Core Java Architecture for XML-Web Services (JAX-WS) 2.0 APIs
* New support for Java Architecture for XML Binding (JAXB) 2.0

Scripting Language Support

* New framework and API for scripting languages
* Mozilla Rhino engine for JavaScript built into the platform Enhanced Management and Serviceability
* Improved JMX Monitoring API
* Runtime Support for dTrace (Solaris 10 and future Solaris OS releases only)
* Improved memory usage analysis and leak detection

Increased Developer Productivity

* JDBC 4.0 support
* Significant library improvements
* Improvements to the Java Platform Debug Architecture (JPDA) & JVM Tool Interface

Improved User Experience

* look-and-feel updates to better match underlying operating system
* Improved desktop performance and integration
* Enhanced internationalization support

For more information Click Here

Veerasaamy -- the blockbustor movie's review........Interesting one......

This is not a review for a movie...... but for a life history of a great man called "VEERASAAMY" , So plz read this review keeping all fun apart......Ive never written any reviews for a movie.... but this movie has forced me to do write one....

I went to this movie on sunday thinking that the theatre would be empty , but to my surprise it was full , and that too with youngsters... Thats when i got the feeling that this movie has a strong message...

The movie starts with Antisocial elements, this time its "RAVUSU" Rani, troubling the poor civilians and then suddenly a car suddenly goes 100 feet on top against the gravity of earth... then 4 ppl enter into a small house and are thrown away from all directions, the door opens and u can see the man himself , TR and theatre goes crazy... shouting and calling him thalaivaa, clapping and whistles all aroundAruvals and Kattais come from all directions and hit this man , but nothing happens to him (Thanks to the Graphics).. You must see his costume , its the same as wat dhanush wears in thiruvilayadal arambam and wat vijay wears in Pokiri.... but trust me , it suits this guy a lot better than the other two.....

And jus wen ppl think that only kamal haasan and vikram can change their physique for each movie...... our man does that tooo , he has shed 2 kios of weight , and wen everyone wonders where he had done that , we could see his famous "Thaadi"(beard) trimmed , unlike his earlier movies.... this makes him even smarter....

Then we can see our man fight like bruce lee.... jumping on the cars , running over them... break glasses and so on... at one point all the adiyaatkal ( poor guys) surround him and cover him up in all directions , jus wen our hearts beat faster(sathyama) and wen we think wats gonna happen next , he uses a different weapon thats never used before
in the history of Indian , even Hollywood Movies....... our man takes the "Tharaasu" ( Physical balance ) and uses
it to perfection, ofcourse not to weigh vegetables but to hit the bad guys and throw them in all directions...

We get a feeling that TR is playing the role of a Dada in this movie... , but to everyone's surprise ( trust me , i was surpirsed ) he is a lawyer and more than that he is the MLA of that locality.... This should the best twist in tamil cinema more than wat Vikram gave in Saamy and recently Vijay in Pokirri....

He is a very straightforward MLA and makes sure that he questions wherever wrong things happen and our man does with humour ,for eg :
1. A collector asks for bribe and tells a lady " weighta yethavathu konduvaama" and our man gets a big stone and places it in collector's hand and asks if this weight is enough
2. A traffic police constable stops a person for no reason and tells him , " Yethavathu konjam Vettu" , our mans comes there and cuts the constable's hand and says "Vettinathu Pothuma"
Wat a comedy , wat a comedy ......

he has a sister ,a lover gal mumtaz who is his neighbour and follows him alwayz.... and about 4 guys surrounding him to talk al good things abt him... the sad part is that "Lollu sabha" Santhanam is also in this gang and his talent has been wasted in this movie.....

Then comes the flavour of every TR movie.... a north indian guy who does not know to speak tamil , but is the hero of the movie.... this guy carries the same tag and looks like a perfect "AJAKKU".... This guy is the brother of "RAVUSU" Rani and loves TR's sister.......very unusual....

Our man is very attached to his sister and will do anything for his sister.... then there are a lotta dialouges like ,"Nee chinna vayasula irukumbothu , intha annan , unakkaga........" and so on.... TR has continued to impress with his emotional expressions in this movie too..... Not even kamal cud give a perfrmance like this.... the way he keeps his mouth open and turns his head in all directions except the direction where the person is standing and talkin to him.....
Wow wat a performance !!!!

Then comes the best of TR and this is something that he has never done before....... ROMANCE AND DANCE......
there are 3 peppy duets for TR and a soft romantic song..... The noteable point here is that this guy has done his best in dancing... .. every single person in the theatre appreciated it with loud laughters and clapping as this man danced like pabhu deva , even better than him.... and his costumes where superb ...... The Costume list included...
1. Full suit , not with a tie , but a bow2. Sherwani3. Tight half shirt with pants upto his chest and wonderful black and white coolers..4. Lungi and Baniyan
5. Sleeveless Track suit6. Ramarajan shirt and so on....

He had also given a wonderful performance for a "Tamil Kuthu" with a pakka banyan and lungi , with his undergarment visible...... u shud see his reaction ....man !!! amazing...... just like vivek tells in a movie.... "kai kaal muliacha kathirikai , but here its kai kaal muliacha Poosinikaai"

His Romantic expressions make us think that he should be just 30 years old..... He also dances with Mumtaj inside a tub filled with Milk.... warrae waah !!! He has Done excellently well in the romantic sequences....... Mumtaz even steals his SOAP as a extreme step for her love towards him and uses it ( UAAAGHHHH........... , nothing jus puking), then she cleans his slippers , sleeps with his poster and kisses his foto... and all nonsense happens.....

He has not failed to talk abt his son "SIMBHU" and his lyrics for a song also include his son's name..... then the area where they live is filled with Simbhu's cut outs and posters... even the bus stops..... There is also a sequence where in mumtaj tells a person tat " There is no ticket available for simbhu starrer SARAVANAA as its running houseful.... "
Maybe TR is showing his gratitude to his son , who has sung a song for him , YES , Simbhu has sung a duet song for TR in this movie........

Meghna Naidu has acted in this movie and she is used as a item number for this movie , unlike the other movies, the item number does not restrict to a single song , but comes through out the movie and gives u a feeling that uve come for a BIT movie , coz there are a lotta obscene scenes........

Then there is a sequnce where there is a "PAASA PORAATAM" between his sister and him.......... and again he has excelled in his expressions....Then a lotta TR dialouges.... including vulgar diagloues like " nee intha auntya correct panna use pannuva VIAGARA , naan vasanam pesa arambichenna athu MANOGARA" ... wat a comparison, HATS OFF.....,

There are scenes where he compares himself to Kamaraj , MGR and also SACHIN Tendulkar....... at this point the crowd loses its patience and started shotuing and abusing TR........ He even talks abt CM chair and also has words of praise for the current CM , kalaignar ... may be he wants to join with DMK again

To me there was only one dialouge that was THE BEST in the movie..... this comes twice or thrice in the movie...... its when TR asks " NAAN YELLAM MANUSHANAAA ??? ".... for this , the whole crowd gives the answer in a chorus "ILLADA.... KARADI"

There are a lotta twists and turns in the movie..... U really wonder , this man shud be directing a hollywood movie , wat a sequence of unbeleiveable incidents......... but only i liked it , coz the whole crowd was abusing badly ......
like , "***** padatha mudida" ," Mookai ^%$%$" and so on......

U shudnt miss the final fight sequence in the movie where TR , removes his dhoti and fights with his underwear , holding his dhoti in one hand and "ARUVAL" in another hand and perfoms a dance , ohhh sorry fight.... Extraordinary fight... he does a "RuthraThaandavam" , better than wat Vikram did in Pithaamagan climax.... wat a fight , we shud name it the "Underwear fight" after this movie.........

Finally , all good things should come to an end ....... Veerasamy is being questioned for his Integrity and this makes him feel so bad that he dies immediately.... ( he has a lotta hair and shud belong to the "KAVARI MAAN" jaathi) and so does Mumtaz who is in true love with him......

U shud see the theatre at this point , again TR has indirectly given a twist , when we expect tearful eyes and Silence all over..... the crowd bursts out and laughs as loud as hell (including me........ :) ) , everyone shouts and are happy that this movie is over and more than that , Veerasaamy is dead.... Ppl jump around in joy , give high fives , hug each other and leave the theatre happily.......

TR and the other cast have done a wonderful job and shud be appreciated for wat theyve done...... Excellent movie ..... , Now when the producers think of remaking "KING KONG" in tamil , they have the best actor in line for it..........

No one in this whole world can make a serious movie in such a comical fashion , think wat will happen if he takes a comical movie.... man!!! hilarious.... if u wanna laugh for all 3 hours , then this is the right movie... make sure u watch it
At last when all the fun is over and i come out of the theatre , A middle aged man asks me , "Is the movie good ?" , all i tell him is " Yes , its a wonderful movie and watch it today , coz u never know if the movie will be running in the theatre tomorrow......."

So friends , plz goto theatres ( u have to search for them) and watch this Mind blowing movie....... plz make sure that u make this movie a big hit , coz TR has promised to retire after giving a HIT movie.........

Thursday, February 22, 2007

serialization,transient variable,serialVersionUID

what is serialization,transient variable,serialVersionUID in java?

Java allows creation of Objects. It exists as long as JVM keeps running.It would be nice if the objects we create could exist beyond the lifetime of the virtual machine, wouldn't it?Well, with object serialization, you can flatten your objects and reuse them in powerful ways.

Object serialization is the process of saving an object's state to a sequence of bytes, as well as the process of rebuilding those bytes into a live object at some future time.

Rules of Serialization:
1: The object to be persisted must implement the Serializable interface or inherit that implementation from its object hierarchy
2: The object to be persisted must mark all nonserializable fields transient.


For more information Click here

RoR on Sun Java System Web Server

Sun Java System Web Server 7.0 , the latest Web server release from Sun, bundles FastCGI, an extension to the Common Gateway Interface (CGI), for scripting environments such as RoR. In addition, Web Server 7.0 offers many robust capabilities, including support for the Solaris 64-bit platform and cluster management as well as integration with Sun IDEs.

This article first describes how to install the Ruby language; RubyGems, the project for the standard that creates and manages libraries; Ruby on Rails; and the FastCGI Ruby gem. A gem is a packaged Ruby application or library. Later in the article, you learn how to create an RoR application and configure Web Server 7.0 to run RoR.

For further details click here

JDK 6 with Java EE and NetBeans

The latest version of Java SE Development Kit (JDK) is available for download at the sun's official website.
The latest version is also bundled with Java EE , which provides web services, component-model, management, and communications APIs that make it the industry standard for implementing enterprise-class service-oriented architecture (SOA) and Web 2.0 applications.

It is also been bundled with NetBeans IDE,which is a powerful integrated development environment for developing applications on the Java platform.

In order to download and for futher details Click here

Acrobat 3D - Collaboration

Adobe Acrobat 3D software enriches collaboration by enabling PDF documents to communicate 3D design intent. Insert and publish 3D designs from major CAD applications in Adobe PDF documents that can easily be shared with suppliers, partners, and customers using free Adobe Reader 7.0 software. It enables database connectivity through javascript and ADBC which is in-built in it. So the annotations are stored in the database and retrived whenever needed....


For further details Click here...

Wednesday, February 21, 2007

Confidence at its Best

What is confidence????

A hypothetical situation where 20 CEOs board an airplane and are told that the flight that they are about to take is the first-ever to feature pilotless technology: It is an uncrewed aircraft. Each one of the CEOs is then told, privately, that their company's software is running the
aircraft's automatic pilot system. Nineteen of the CEOs promptly leave the aircraft, each offering a different type of excuse. One CEO alone remains on board the jet, seeming very calm indeed.Asked why he is so confident in this first uncrewed flight, he replies : "If it is the same software that runs my company's IT systems, this plane won't even take off." !!!!

Analyse b4 u Act

I have a nice story for u guys about problem solving....... At the end of the story the Morale matters.....

One fine day, a bus driver went to the bus garage, started his bus, and drove off along the route. No problems for the first few stops - a few people got on, a few got off, and things went generally well.

At the next stop, however, a big hulk of a guy got on. Six feet eight,built like a wrestler, arms hanging down to the ground. He glared at the driver and said, "Big John doesn't pay!" and sat down at the back.

Did I mention that the driver was five feet three, thin, and basically meek? Well, he was. Naturally, he didn't argue with Big John, but he wasn't happy about it. The next day the same thing happened - Big John got on again, made a show of refusing to pay, and sat down. And the next day, and the next.

This grated on the bus driver, who started losing sleep over the way Big John was taking advantage of him. Finally he could stand it no longer.


He signed up for body building courses, karate, judo, and all that good stuff. By the end of the summer, he had become quite strong; what's more, he felt really good about himself. So on the next Monday, when Big John once again got on the bus and said, "Big John doesn't pay!" The driver stood up, glared back at the passenger, and screamed, "And why not? " With a surprised look on his face, Big John replied, "Big John has a bus pass ."

Morale: "Be sure there is a problem in the first place before working hard to solve one."

Monday, February 19, 2007

Postive Attitue Matters

Have you ever imagined the results of positive attitude.......

Let me explain it with a small story.....

Father: I want you to marry a girl of my choice
Son: "I will choose my own bride!"
Father: "But the girl is Bill Gates's daughter."
Son: "Well, in that case...ok"
Next Father approaches Bill Gates.
Father: "I have a husband for your daughter."
Bill Gates: "But my daughter is too young to marry!"
Father: "But this young man is a vice-president of the World Bank."
Bill Gates: "Ah, in that case...ok"
Finally Father goes to see the president of the World Bank.
Father: "I have a young man to be recommended as a vice-president."
President: "But I already have more vice- presidents than I need!"
Father: "But this young man is Bill Gates's son-in-law."
President: "Ah, in that case...ok"
This is how business is done!!

Morale: Even If you have nothing, You can get Anything. But your attitude should be +ve...