Sun’s interest in Javascript for the Java platform noted in CNN Money article

Every now and again a technology related article makes mainstream news, but it’s often frustrating how skewed or inaccurate the story is. In this case, Owen Thomas from Business 2.0 has an article featured on the CNN Money site, titled ‘Sun Microsystems finds the JavaScript love’ with the subtitle ‘At long last, Sun is embracing JavaScript, the technology that’s driving Web 2.0. Too bad it took the company so long to realize its mistake.’

There are a number of points in this article that are simply incorrect, and clearly not based on any real fact. Statements like ‘As Java has floundered, JavaScript has blossomed’ – ‘floundered’? When? Where? As I mentioned before in a previous blog entry, I see Java being as strongly and widely used in large enterprise systems development than ever before (in my 10 years experience of developing with Java). I wouldn’t say Javascript has ‘blossomed’ either, more like has lingered on like a persistent infection that you just can’t shake. Javascript is nasty to develop with. It is hard to debug, the tool support is hardly adequate, even after all these years.

True, AJAX powered websites are allowing developers to provide a richer and more compelling experience than has previously been possible with web-based applications, but this mashup of technologies is compensating for features that were not intended to be delivered by the web browser, but have of course been supported for many years using desktop based technologies. I still believe that AJAX is filling a need and a gap in the available browser technology – this is not a technology that will be with us for the longterm – as soon as there is an evoultion in browser technology (which has been relatively static for the past 10 years) that offers rich-client type functionality (what is being mimicked by AJAX and Javascript), then the need for AJAX in it’s current form will disappear.

Another comment that made me cringe: ‘But embracing JavaScript now doesn’t address the company’s bigger problem: A generation of Web developers have bypassed Java and instead used simple Web-page development tools to code in JavaScript.’. What the author fails to realize is that Javascript and AJAX is only one much smaller part of the solution. Even if Javascript and AJAX is used on the front-end, the application running on the server at the back-end still has to do all the heavy lifting (data retrieval, storage and processing), and still more often than not the backend will be a Java based applicaiton running on a Java application server. The Javscript and AJAX you see in your webbrowser is just the top of the iceberg – the hard work is still going on in the background – unfortunately for misinformed reporters like who wrote this article though, this is the piece that you never see from your browser…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.