Wednesday, June 24, 2009

Java Joke

A group of 4 Microsoft .NET programmers and a group of 4 Java programmers are going on a train to an expo. The MS programmers buy a ticket each, and then watch the Java programmers proceed to buy one ticket between them.

The MS programmers are intrigued and when they get on the train, they watch the Java programmers to see what they do when the guard comes to check the tickets. It turns out that, before the guard comes, they all cram into the toilet. The guard knocks on the door, and asks for the ticket. The guard takes it from under the door, and slides it back.

The MS programmers are all impressed, so on the way back, they buy only one ticket. Only to watch the Java folks get on the train without buying a ticket at all.

When they get on the train, the MS people cram into the toilet, as they saw the Java folks on the earlier journey. The Java programmers then knock on the door, and say "Ticket please". The MS programmers slide the ticket under the door, as they saw the Java programmers do earlier.

"Thank you", they say. "You steal our methods, but you don't understand them."

Tuesday, June 23, 2009

Why i like Apache Wicket... ?

i believe strongly that "Apache Wicket" is the simplest to use java front end framework available on the web.

For the following reasons:

- Wicket encourages total separation between the HTML and Java Code (i.e. Allows the java code to handle all the logic).

- Wicket provides very excellent support and management of server side state.

- Very little XML configuration is required to get your web application going. this is not the case when compared to some other frameworks that are largely dependent on XML config kind of files.

- And finally, it does not have any special mark up that you would have to learn afresh (i.e. just HTML tags are marked with a simple and very unnoticeable “wicket:id” tag, and you are done).


Cheers