Keith Graham's Wanderings

Keith P. Graham is a Programmer, Harmonica player and Science Fiction Writer. This blog reflects these and many other areas of interest.
Search
atom.xml feed



Creative Commons License


26 March 2008

Java - the Kiss of Death - Error 500

I am beginning to despise Java and all of its incredibly complex implementations.

Here is a screen dump from My-Cast.com weather. My-Cast is a nice service that sends you weather alerts an I check it each morning for the weekend outlook. The site has maybe 6 or 7 Java JSP pages. Today I got a 500 dump - not even a custom error message from the amateurish coders on the site.

My question is why would you use an EJB on a website with only a few pages? Why would you choose a slow top-heavy technology like Java to do a simple thing like display a couple of records from a database?

You use Java for large enterprise applications where you have teams of coders who need to create tools and integrate them. You don't use it for lightweight "select and spit" web pages. I could have done the entire My-Cast site in a PHP in an afternoon.

I have been saying this for a while and it makes me no friends. Just remember YouTube is entirely coded in PHP. If YouTube were coded in Java, it would crashed and burned years ago or else the hardware resource costs, along with the salaries of a large staff of programmers would have made it too expensive to run.

Digg, one of the most popular sites on the nets uses PHP running on a handful of servers.

If you care to be techy today, read this about Java and PHP. It has links to some of the battles in the flame war between the Java and PHP camps.

0 Comments:

Post a Comment

<< Home

 

 

 

 

 

 

 

 

 

August 2003 September 2003 October 2003 November 2003 December 2003 June 2004 July 2004 August 2004 September 2004 October 2004 November 2004 December 2004 January 2005 February 2005 March 2005 April 2005 May 2005 June 2005 July 2005 August 2005 September 2005 October 2005 November 2005 December 2005 January 2006 February 2006 March 2006 April 2006 May 2006 June 2006 July 2006 August 2006 September 2006 October 2006 November 2006 December 2006 January 2007 February 2007 March 2007 April 2007 May 2007 June 2007 July 2007 August 2007 September 2007 October 2007 November 2007 December 2007 January 2008 February 2008 March 2008