Welcome!

Java IoT Authors: Elizabeth White, Liz McMillan, Peter Silva, Pat Romanski, Patrick Hubbard

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
Web Real-Time Communication APIs have quickly revolutionized what browsers are capable of. In addition to video and audio streams, we can now bi-directionally send arbitrary data over WebRTC's PeerConnection Data Channels. With the advent of Progressive Web Apps and new hardware APIs such as WebBluetooh and WebUSB, we can finally enable users to stitch together the Internet of Things directly from their browsers while communicating privately and securely in a decentralized way.
WebRTC is about the data channel as much as about video and audio conferencing. However, basically all commercial WebRTC applications have been built with a focus on audio and video. The handling of “data” has been limited to text chat and file download – all other data sharing seems to end with screensharing. What is holding back a more intensive use of peer-to-peer data? In her session at @ThingsExpo, Dr Silvia Pfeiffer, WebRTC Applications Team Lead at National ICT Australia, looked at differ...
The security needs of IoT environments require a strong, proven approach to maintain security, trust and privacy in their ecosystem. Assurance and protection of device identity, secure data encryption and authentication are the key security challenges organizations are trying to address when integrating IoT devices. This holds true for IoT applications in a wide range of industries, for example, healthcare, consumer devices, and manufacturing. In his session at @ThingsExpo, Lancen LaChance, vic...
With all the incredible momentum behind the Internet of Things (IoT) industry, it is easy to forget that not a single CEO wakes up and wonders if “my IoT is broken.” What they wonder is if they are making the right decisions to do all they can to increase revenue, decrease costs, and improve customer experience – effectively the same challenges they have always had in growing their business. The exciting thing about the IoT industry is now these decisions can be better, faster, and smarter. Now ...
Fact is, enterprises have significant legacy voice infrastructure that’s costly to replace with pure IP solutions. How can we bring this analog infrastructure into our shiny new cloud applications? There are proven methods to bind both legacy voice applications and traditional PSTN audio into cloud-based applications and services at a carrier scale. Some of the most successful implementations leverage WebRTC, WebSockets, SIP and other open source technologies. In his session at @ThingsExpo, Da...
Who are you? How do you introduce yourself? Do you use a name, or do you greet a friend by the last four digits of his social security number? Assuming you don’t, why are we content to associate our identity with 10 random digits assigned by our phone company? Identity is an issue that affects everyone, but as individuals we don’t spend a lot of time thinking about it. In his session at @ThingsExpo, Ben Klang, Founder & President of Mojo Lingo, discussed the impact of technology on identity. Sho...
A critical component of any IoT project is what to do with all the data being generated. This data needs to be captured, processed, structured, and stored in a way to facilitate different kinds of queries. Traditional data warehouse and analytical systems are mature technologies that can be used to handle certain kinds of queries, but they are not always well suited to many problems, particularly when there is a need for real-time insights.
You think you know what’s in your data. But do you? Most organizations are now aware of the business intelligence represented by their data. Data science stands to take this to a level you never thought of – literally. The techniques of data science, when used with the capabilities of Big Data technologies, can make connections you had not yet imagined, helping you discover new insights and ask new questions of your data. In his session at @ThingsExpo, Sarbjit Sarkaria, data science team lead ...
WebRTC has had a real tough three or four years, and so have those working with it. Only a few short years ago, the development world were excited about WebRTC and proclaiming how awesome it was. You might have played with the technology a couple of years ago, only to find the extra infrastructure requirements were painful to implement and poorly documented. This probably left a bitter taste in your mouth, especially when things went wrong.
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 o...
Providing secure, mobile access to sensitive data sets is a critical element in realizing the full potential of cloud computing. However, large data caches remain inaccessible to edge devices for reasons of security, size, format or limited viewing capabilities. Medical imaging, computer aided design and seismic interpretation are just a few examples of industries facing this challenge. Rather than fighting for incremental gains by pulling these datasets to edge devices, we need to embrace the i...
Web Real-Time Communication APIs have quickly revolutionized what browsers are capable of. In addition to video and audio streams, we can now bi-directionally send arbitrary data over WebRTC's PeerConnection Data Channels. With the advent of Progressive Web Apps and new hardware APIs such as WebBluetooh and WebUSB, we can finally enable users to stitch together the Internet of Things directly from their browsers while communicating privately and securely in a decentralized way.
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place June 6-8, 2017, at the Javits Center in New York City, New York, is co-located with 20th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry p...
In his General Session at 17th Cloud Expo, Bruce Swann, Senior Product Marketing Manager for Adobe Campaign, explored the key ingredients of cross-channel marketing in a digital world. Learn how the Adobe Marketing Cloud can help marketers embrace opportunities for personalized, relevant and real-time customer engagement across offline (direct mail, point of sale, call center) and digital (email, website, SMS, mobile apps, social networks, connected objects).
SYS-CON Events announced today that Catchpoint, a leading digital experience intelligence company, has been named “Silver Sponsor” of SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Catchpoint Systems is a leading Digital Performance Analytics company that provides unparalleled insight into your customer-critical services to help you consistently deliver an amazing customer experience. Designed for digital business, C...
@ThingsExpo has been named the ‘Top WebRTC Influencer' by iTrend. iTrend processes millions of conversations, tweets, interactions, news articles, press releases, blog posts - and extract meaning form them and analyzes mobile and desktop software platforms used to communicate, various metadata (such as geo location), and automation tools. In overall placement, @ThingsExpo ranked as the number one ‘WebRTC Influencer' followed by @DevOpsSummit at 55th.
The 20th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held June 6-8, 2017, at the Javits Center in New York City, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Containers, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportunity. Submit your speaking proposal ...
"There's a growing demand from users for things to be faster. When you think about all the transactions or interactions users will have with your product and everything that is between those transactions and interactions - what drives us at Catchpoint Systems is the idea to measure that and to analyze it," explained Leo Vasiliou, Director of Web Performance Engineering at Catchpoint Systems, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York Ci...
20th Cloud Expo, taking place June 6-8, 2017, at the Javits Center in New York City, NY, 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.
SYS-CON Events announced today that Linux Academy, the foremost online Linux and cloud training platform and community, will exhibit at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. Linux Academy was founded on the belief that providing high-quality, in-depth training should be available at an affordable price. Industry leaders in quality training, provided services, and student certification passes, its goal is to c...