Welcome!

Java IoT Authors: Elizabeth White, Pat Romanski, Liz McMillan, Roger Strukhoff, Cloud Best Practices Network

Related Topics: Java IoT, Microservices Expo, Open Source Cloud

Java IoT: Article

ClearNova Exec Defends Open Source AJAX Development vs Java

Steve Benfield Objects to Comment by Yakov Fain

SYS-CON special correspondent and well-known author and teacher Yakov Fain recently took the emerging (or re-emerging) AJAX development world to task.

Writing in his recent Java blog entry, Fain (pictured above) said,

"The idea is noble: instead of rendering an entire HTML page on each little change on the page, it's much better to send an asynchronous request that will get the data for you and refresh only the relevant portion of the screen. (But) every author writing on AJAX is giving the same (the only?) examples where this technology is being used: Google maps and e-mail. (BTW, I'm a little sick of these examples). Since I'm not going to be helping Google in improving their maps, I'd like to see some real-world examples implementing this technology."

ClearNova's Vice President of Strategy and Evangelism Steve Benfield, a leading proponent of AJAX development, took a bit of umbrage at these remarks, with a post of his own. Benfield (pictured below) protested:

"First, entry level developers can't do much to begin with. But they can use tools--as can intermediate and advanced developers. So what you'll see growing around AJAX are tools and frameworks--in droves.

"So, a better way to phrase the question is--can VB + PowerBuilder developers build their current apps without the tools they use--probably not. And even if they can, who wants to? It takes too long because hand-coding GUI is painful--something that is only for people that have too much time, bililng by the hour, or who have some very stringent functionality and/or performance goals.

"So, yes, I believe these programmers can build AJAX applications--with the right tools and frameworks.

"It is easy to say, just build it in Swing instead--but AJAX provides ubiquity across browsers with no special downloads--and it's backend independent. So you're free to choose a backend language and server whether its Java, PHP, .NET, Ruby, etc. Today, AJAX techniques can cover maybe 80% of the client/server GUI apps you might want to build. I predict more in the future.

"If you need to deliver apps to a mix audience--or you want to use a common set of programming techniques for your public and internal applications--then AJAX provides that. Any other downloadable medium does not although flash gets closer than anyone.

"Full disclosure: I represent a company that provides ThinkCAP JX, an open source, J2EE-based AJAX development environment and framework."

Sounds like the beginning of a good debate. What do you think?

More Stories By Open Source News

Enterprise Open Source News Desk trawls the fast-growing world of Professional Open Source for business-relevant items of news, opinion, and insight.

Comments (7) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Don Babcock 12/16/05 01:15:22 PM EST

A noble idea indeed. But what troubles me is that no one seems to be considering the network/bandwidth/processing implications of AJAX. With today's broadband networks, many developers consume bandwidth as carelessly as they consume hard drive space. It's an easy mindset to get into. I've got a 200GB drive on my system that I'll never come close to filling before the system itself is obsolete. But server bandwidth (processing capacity) is not growing as fast as network bandwidth. XmlHTTP requests are a terribly inefficient way to provide client server communications if you consider the attendant request processing and protocol header overhead. The AJAX proponents argue that they are making "smaller" requests instead of entire pages. But if you calculate comm efficiency by

(data / (data + overhead)) x 100%

you can easily see that reduced data size given a fixed cost in header and other overhead actually REDUCES network efficiency. What's to prevent an ambitious HTML page coder from making a server request round trip for every keystroke (i.e. a simple auto fill field - actually being suggested as an "ideal" candidate for AJAX treatment.) My concern here is that amidst all the hype, no one is taking a hard look at the underlying software engineering considerations. I'd admit that I cut my teeth in this field back when memory and processing were scarce and expensive. But it still irks me when I see thoughtless approaches which gobble these as if they were practically unlimited. AJAX is really nothing more than yet another workaround for the inherent limitations of the browser client-server standards. It presents a wonderful opportunity for careless coders to bring servers to their knees with multiplied http requests. Think of it this way - a conventional web app pretty much only allows users to fire requests at a server and over the network in "single shot" mode. But an AJAX app built without regard to network and request traffic can easily "gun down" a server as each user sprays it with requests in "full auto." I think more needs to be said in this cautionary vein. Most developers don't seem to consider network and request overhead issues appropriately. They just focus on the client and assume the server/network will be there for them. I think many will discover significant scaling problems with their "noble" AJAX applications.

SVen 12/15/05 12:51:08 PM EST

I think there is some seriously flawed reasoning behind the Ajax approach. Writing event based code for the HTML widgets and perform some asynchronous tasks is nothing new. (Dynamically updated cascading menus using hidden applets to HTTP requests has been around for several years.) The Ajax tools just make it possible to do heavier async tasks and perhaps easier.

But I can tell you, even simple functionality like Form Input Validation in Java Script on a frontend quickly becomes tedious and unsupportable in reallife. Everytime backend rules change, more has to change on the frontend.

I cannot understand how you can deploy heavier and heavier functionality under the guise of a thin client not pay the price.

In otherwords, you are almost working like an ActiveX or an Applet but trying to look like HTML. Alternative is Swing or Active/X. All Ajax gives is avoiding downloading the JRE? Or you do not want to use the JRE? But Swing and Active/X are very well defined OO programming paradigms with excellent production management possibilities. can Java Script or any other script ever compete with an OO platform for production management and longterm total cost of ownership and value?

Isn't JRE an insurance against platform/browser vagaries?

Doesn't the user expect to download the JRE when he expects to use a rich client experience?

Ajax is against good programming common sense.

SVen 12/15/05 12:48:58 PM EST

I think there is some seriously flawed reasoning behind the Ajax approach. Writing event based code for the HTML widgets and perform some asynchronous tasks is nothing new. (Dynamically updated cascading menus using hidden applets to HTTP requests has been around for several years.) The Ajax tools just make it possible to do heavier async tasks and perhaps easier.

But I can tell you, even simple functionality like Form Input Validation in Java Script on a frontend quickly becomes tedious and unsupportable in reallife. Everytime backend rules change, more has to change on the frontend.

I cannot understand how you can deploy heavier and heavier functionality under the guise of a thin client not pay the price.

In otherwords, you are almost working like an ActiveX or an Applet but trying to look like HTML. Alternative is Swing or Active/X. All Ajax gives is avoiding downloading the JRE? Or you do not want to use the JRE? But Swing and Active/X are very well defined OO programming paradigms with excellent production management possibilities. can Java Script or any other script ever compete with an OO platform for production management and longterm total cost of ownership and value?

Isn't JRE an insurance against platform/browser vagaries?

Doesn't the user expect to download the JRE when he expects to use a rich client experience?

Ajax is against good programming common sense.

SYS-CON Canada News Desk 12/14/05 05:37:00 PM EST

ClearNova Exec Defends Open Source AJAX Development vs Java. 'A Cup of AJAX? Nay, Just Regular Java Please,' wrote Yakov Fain in his recent article for JDJ blog entry. 'The idea is noble: instead of rendering an entire HTML page on each little change on the page, it's much better to send an asynchronous request that will get the data for you and refresh only the relevant portion of the screen. (But) every author writing on AJAX is giving the same (the only?) examples.' Now ClearNova's Steve Benfield, an AJAX proponent, has responded.

JDJ News Desk 12/14/05 05:20:21 PM EST

'A Cup of AJAX? Nay, Just Regular Java Please,' wrote Yakov Fain in his recent article for JDJ blog entry. 'The idea is noble: instead of rendering an entire HTML page on each little change on the page, it's much better to send an asynchronous request that will get the data for you and refresh only the relevant portion of the screen. (But) every author writing on AJAX is giving the same (the only?) examples.' Now ClearNova's Steve Benfield, an AJAX proponent, has responded.

JDJ News Desk 12/14/05 05:13:17 PM EST

ClearNova Exec Defends Open Source AJAX Development vs Java. 'A Cup of AJAX? Nay, Just Regular Java Please,' wrote Yakov Fain in his recent article for JDJ blog entry. 'The idea is noble: instead of rendering an entire HTML page on each little change on the page, it's much better to send an asynchronous request that will get the data for you and refresh only the relevant portion of the screen. (But) every author writing on AJAX is giving the same (the only?) examples.' Now ClearNova's Steve Benfield, an AJAX proponent, has responded.

JDJ News Desk 12/14/05 04:14:52 PM EST

'A Cup of AJAX? Nay, Just Regular Java Please,' wrote Yakov Fain in a recent article for SYS-CON Media's JDJ. 'The idea is noble: instead of rendering an entire HTML page on each little change on the page, it's much better to send an asynchronous request that will get the data for you and refresh only the relevant portion of the screen. (But) every author writing on AJAX is giving the same (the only?) examples.' Now ClearNova's Steve Benfield, an AJAX proponent, has responded.

@ThingsExpo Stories
Internet of @ThingsExpo, taking place November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 19th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devices - comp...
DevOps at Cloud Expo, taking place Nov 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 19th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long dev...
Cloud computing is being adopted in one form or another by 94% of enterprises today. Tens of billions of new devices are being connected to The Internet of Things. And Big Data is driving this bus. An exponential increase is expected in the amount of information being processed, managed, analyzed, and acted upon by enterprise IT. This amazing is not part of some distant future - it is happening today. One report shows a 650% increase in enterprise data by 2020. Other estimates are even higher....
The Jevons Paradox suggests that when technological advances increase efficiency of a resource, it results in an overall increase in consumption. Writing on the increased use of coal as a result of technological improvements, 19th-century economist William Stanley Jevons found that these improvements led to the development of new ways to utilize coal. In his session at 19th Cloud Expo, Mark Thiele, Chief Strategy Officer for Apcera, will compare the Jevons Paradox to modern-day enterprise IT, e...
What happens when the different parts of a vehicle become smarter than the vehicle itself? As we move toward the era of smart everything, hundreds of entities in a vehicle that communicate with each other, the vehicle and external systems create a need for identity orchestration so that all entities work as a conglomerate. Much like an orchestra without a conductor, without the ability to secure, control, and connect the link between a vehicle’s head unit, devices, and systems and to manage the ...
In this strange new world where more and more power is drawn from business technology, companies are effectively straddling two paths on the road to innovation and transformation into digital enterprises. The first path is the heritage trail – with “legacy” technology forming the background. Here, extant technologies are transformed by core IT teams to provide more API-driven approaches. Legacy systems can restrict companies that are transitioning into digital enterprises. To truly become a lea...
What are the new priorities for the connected business? First: businesses need to think differently about the types of connections they will need to make – these span well beyond the traditional app to app into more modern forms of integration including SaaS integrations, mobile integrations, APIs, device integration and Big Data integration. It’s important these are unified together vs. doing them all piecemeal. Second, these types of connections need to be simple to design, adapt and configure...
19th Cloud Expo, taking place November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Meanwhile, 94% of enterpri...
SYS-CON Events announced today that CDS Global Cloud, an Infrastructure as a Service provider, will exhibit at the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. CDS Global Cloud is an IaaS (Infrastructure as a Service) provider specializing in solutions for e-commerce, internet gaming, online education and other internet applications. With a growing number of data centers and network points around the world, ...
Information technology is an industry that has always experienced change, and the dramatic change sweeping across the industry today could not be truthfully described as the first time we've seen such widespread change impacting customer investments. However, the rate of the change, and the potential outcomes from today's digital transformation has the distinct potential to separate the industry into two camps: Organizations that see the change coming, embrace it, and successful leverage it; and...
In his general session at 18th Cloud Expo, Lee Atchison, Principal Cloud Architect and Advocate at New Relic, discussed cloud as a ‘better data center’ and how it adds new capacity (faster) and improves application availability (redundancy). The cloud is a ‘Dynamic Tool for Dynamic Apps’ and resource allocation is an integral part of your application architecture, so use only the resources you need and allocate /de-allocate resources on the fly.
Major trends and emerging technologies – from virtual reality and IoT, to Big Data and algorithms – are helping organizations innovate in the digital era. However, to create real business value, IT must think beyond the ‘what’ of digital transformation to the ‘how’ to harness emerging trends, innovation and disruption. Architecture is the key that underpins and ties all these efforts together. In the digital age, it’s important to invest in architecture, extend the enterprise footprint to the cl...
There are several IoTs: the Industrial Internet, Consumer Wearables, Wearables and Healthcare, Supply Chains, and the movement toward Smart Grids, Cities, Regions, and Nations. There are competing communications standards every step of the way, a bewildering array of sensors and devices, and an entire world of competing data analytics platforms. To some this appears to be chaos. In this power panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, Bradley Holt, Developer Advocate a...
SYS-CON Events announced today that LeaseWeb USA, a cloud Infrastructure-as-a-Service (IaaS) provider, will exhibit at the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. LeaseWeb is one of the world's largest hosting brands. The company helps customers define, develop and deploy IT infrastructure tailored to their exact business needs, by combining various kinds cloud solutions.
WebRTC is bringing significant change to the communications landscape that will bridge the worlds of web and telephony, making the Internet the new standard for communications. Cloud9 took the road less traveled and used WebRTC to create a downloadable enterprise-grade communications platform that is changing the communication dynamic in the financial sector. In his session at @ThingsExpo, Leo Papadopoulos, CTO of Cloud9, discussed the importance of WebRTC and how it enables companies to focus...
Internet of @ThingsExpo has announced today that Chris Matthieu has been named tech chair of Internet of @ThingsExpo 2016 Silicon Valley. The 6thInternet of @ThingsExpo will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA.
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, wh...
Big Data has been changing the world. IoT fuels the further transformation recently. How are Big Data and IoT related? In his session at @BigDataExpo, Tony Shan, a renowned visionary and thought leader, will explore the interplay of Big Data and IoT. He will anatomize Big Data and IoT separately in terms of what, which, why, where, when, who, how and how much. He will then analyze the relationship between IoT and Big Data, specifically the drilldown of how the 4Vs of Big Data (Volume, Variety,...
Ask someone to architect an Internet of Things (IoT) solution and you are guaranteed to see a reference to the cloud. This would lead you to believe that IoT requires the cloud to exist. However, there are many IoT use cases where the cloud is not feasible or desirable. In his session at @ThingsExpo, Dave McCarthy, Director of Products at Bsquare Corporation, will discuss the strategies that exist to extend intelligence directly to IoT devices and sensors, freeing them from the constraints of ...
Technology vendors and analysts are eager to paint a rosy picture of how wonderful IoT is and why your deployment will be great with the use of their products and services. While it is easy to showcase successful IoT solutions, identifying IoT systems that missed the mark or failed can often provide more in the way of key lessons learned. In his session at @ThingsExpo, Peter Vanderminden, Principal Industry Analyst for IoT & Digital Supply Chain to Flatiron Strategies, will focus on how IoT de...