Thank God – Java EE Is Not Like Ajax
It is shocking that some people would actually recommend “Java EE to be more Ajax-like”. Java Developer’s Journal reports in story “Why Can’t Java EE Be More Ajax-like“?) that Cincinnati-based Brandon Werner’s blogged:
“AJAX is not a set of any one company’s technologies, and there is not even a ‘reference implementation’ of it. You are free to use any backend you want, use any persistence you want, and even implement your own call-backs and improvements. The only thing AJAX is are a set of extremely important best practices and patterns developers use to create compelling web clients. Why can’t JEE be more AJAX like? Why do we have to politically migrate towards these reference JCP technologies when the actual, real JEE patterns don’t give a damn what you use?”
What? I couldn’t believe my eyes when I read the news story. I followed the link to read the original post, and I still could not believe my eyes.
“The only thing Ajax is are a set of extremely important best practices and patterns”? Ajax best practices and patterns may exist in some elite developers’ heads today. Majority of the developers are still yet to understand what Ajax is. There is a huge need for guys like Dion Almaer at Ajaxian.com because Ajax best practices and patterns do not exist yet. Ask Scott Dietzen at Zimbra – he will tell you the pain and the challenges in writing Ajax -based applications. I have been writing Ajax applications since 1997. I was and am still hoping for the day that Ajax best practices and patterns would materialize.
To make Java EE more like Ajax? Which aspect of Ajax that we really want Java EE to be like?
- The difficulty in developing Ajax code?
- The difficulty in maintaining Ajax code?
- The extreme fragile nature of Ajax code?
- The extremely fragmented nature of Ajax support from different browsers? Even the same browser does not necessarily offer the same support between different versions. I have to spent two weeks to make AjaxWord to work on Internet Explorer 6, though it was fairly tested on IE 4 and IE 5 a few years ago.
- The immaturity of Ajax technology (and hence the extremely slow rate of reaching maturity given that the technology was developed almost ten years ago)?
What else? The difficulty of finding and hiring Ajax developers? According to Rod Smith (IBM) and Scott Dietzen (Zimbra), both independently mentioned that one out of 40 engineers interviewed would be qualified to learn Ajax.
Let’s do not lose sight of where we are despite our excitement about Ajax. The Ajax wildfire does not mean Ajax is the best model to emulate. Ajax as a technology is still fairly immature, incompatible, hard to develop and hard to maintain. Look at what Yokav Fain says about Ajax:
“I was always skeptical about AJAX. This technology can be useful for Google , Yahoo, or Amazon, and the like . Because regular businesses can not afford it. They can not hire a team of experts to find workaround for dozens of serious problems browsers/JavaScript introduce. Browsers/JavaScript is not an application development environment.”
Further, talking about Ajax faculties,Yokav says “Fair enough. I had an impression that all of them enjoyed the technology, understood the issues, and were willing to try to solve them… somehow. I wonder if there are people who are developing Web application in the Assembly language? Just s thought“.
I respect Ajax and enjoy Ajax. I have been working hard and will continue to work hard in making it possible for ordinary developers to build, deploy and maintain Ajax applications. For example, Apache XAP (Update on 9/30/2006: I made a mistake for XAP url before. The correct URL is http://incubator.apache.org/xap) is one of the projects that I am involved for this cause. But…
Thank God Java EE is not like Ajax…and…
Though this may not be the popular thing to say, I thank Sun Microsystem for its leadership in bringing Java and Java EE to where it is today. Java EE is here, stable, robust, has been powering thousands of mission critical business applications and has enabled an entire generation of software companies, products, developers and an entire eco-system that is based on open standards and open architecture. – All these are because Java EE is not like Ajax.
I hope OpenAjax Alliance will play a similar role in brining Ajax to a level of maturity, interoperability and openness, and I hope people recognize the problems facing Ajax and let’s all work together to fix them, instead of being blinded by the Ajax Wildfire.
-
jb
-
Anonymous
-
Anonymous
-
<a href="http://www.newio.org/">Chris Nystrom </a>
-
Anonymous
-
Anonymous
-
<a href="http://ali.as/"> Adam Kennedy </a>
-
<a href="http://www.jackslocum.com/"> Jack Slocum </a>
-
Anonymous
-
Anonymous
-
Anonymous
-
Anonymous
-
David Tinker
-
Anonymous
-
Anonymous
-
Anonymous
-
Anonymous
-
Coach Wei
-
Will
-
Anonymous
-
Anonymous
-
Vivek
-
matt
-
vatel
-
vatel
-
Anonymous
