Friday, January 9, 2009

Servlets: Java and me..... maybe we'll rock :-D

Well one thing's for sure. Our SoftEE( it's Software Engeneering ), Professor got it right, at the outset.....

"Softwares are lagging behing Hardware due to lack of Standard Interfaces"

It's damn true........ mind my verdict. Because the maximum time even an experienced and professional takes is to get used to interface and installation procedure. Take for example our Java assignment.... well it's no cakewalk to do it in 3 weeks while learning JavaCore/Swings/MySql/Servlets!!!!

Quite a voila of work........ ;-)

My latest tryst..... to get the hang of servlets! And it was damn tough and took almost 3-4 hrs. I mean u just cant get hang of this stuff.

Well for a briefing this is what I did:

1. Install a Tomcat Server
2. Install an Apache( optional ) for better efficiency.
3. Run it to see some sample java servlets on job :-D
4. Making one of my own.

If u are on one of the Kgp Lan's, might want to have a go on this link:

http://10.110.9.200:8080/servlets-examples/servlet/MyHelloWorld
http://10.110.9.200:8080/servlets-examples/servlet/LotteryNumbers

Well thats just for fun..... not a big deal.... but it's gr8 to see ur code work out of the block.... an amazing site :-D :-D!!!!

But I really think Java lags badly in speed.

Well here's some facts that tell why java is so slow....

Once upon a time( dont sleep mates ) Java was developed to be Platform Independent and so they introduced their own ByteCode and JVM that we all know. The fact is that JVM was always an not so efficient out of blocks.... infact Java thought they would directly include JVM in Hardware.

Amazing right??!! thats why they never thought of keeping it the way it is today.... but being too ambitous can be harmful. Guys guys, that in no way tells if Java is a faliure.... It's a big success given the facilities and library support and blablazigzaggujhdfskjdh....... ( try doin my SoftEE course... they teach that stuff ) ;-).

I never thought i would get that much addicted( 4/10 ) on Java... but for a person like me who's still obsessed wth Kerningham( read it C ), paradigm it's pretty refreshing. For a thought i had hands on Python....

Python is one of the language that attracts but u can't really get in serious programming wth it...... i mean too abstract, but no offences i am developing some gud for nothin Dbus scripts for my favourite client Pidgin/Libpurple.

But Java has got this quality of Java+MySql+Apache+Tomcat+Servlets... i mean u just can't get enof.

Hats off to the marketing strategy..... the products are newayz not that gud....

No comments:

Post a Comment