Welcome!

Java IoT Authors: Liz McMillan, AppDynamics Blog, Pat Romanski, Elizabeth White, Akhil Sahai

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
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.
The best-practices for building IoT applications with Go Code that attendees can use to build their own IoT applications. In his session at @ThingsExpo, Indraneel Mitra, Senior Solutions Architect & Technology Evangelist at Cognizant, provided valuable information and resources for both novice and experienced developers on how to get started with IoT and Golang in a day. He also provided information on how to use Intel Arduino Kit, Go Robotics API and AWS IoT stack to build an application tha...
Whether your IoT service is connecting cars, homes, appliances, wearable, cameras or other devices, one question hangs in the balance – how do you actually make money from this service? The ability to turn your IoT service into profit requires the ability to create a monetization strategy that is flexible, scalable and working for you in real-time. It must be a transparent, smoothly implemented strategy that all stakeholders – from customers to the board – will be able to understand and comprehe...
It’s 2016: buildings are smart, connected and the IoT is fundamentally altering how control and operating systems work and speak to each other. Platforms across the enterprise are networked via inexpensive sensors to collect massive amounts of data for analytics, information management, and insights that can be used to continuously improve operations. In his session at @ThingsExpo, Brian Chemel, Co-Founder and CTO of Digital Lumens, will explore: The benefits sensor-networked systems bring to ...
SYS-CON Events announced today that Venafi, the Immune System for the Internet™ and the leading provider of Next Generation Trust Protection, will exhibit at @DevOpsSummit at 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Venafi is the Immune System for the Internet™ that protects the foundation of all cybersecurity – cryptographic keys and digital certificates – so they can’t be misused by bad guys in attacks...
"Tintri was started in 2008 with the express purpose of building a storage appliance that is ideal for virtualized environments. We support a lot of different hypervisor platforms from VMware to OpenStack to Hyper-V," explained Dan Florea, Director of Product Management at Tintri, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
Identity is in everything and customers are looking to their providers to ensure the security of their identities, transactions and data. With the increased reliance on cloud-based services, service providers must build security and trust into their offerings, adding value to customers and improving the user experience. Making identity, security and privacy easy for customers provides a unique advantage over the competition.
Is your aging software platform suffering from technical debt while the market changes and demands new solutions at a faster clip? It’s a bold move, but you might consider walking away from your core platform and starting fresh. ReadyTalk did exactly that. In his General Session at 19th Cloud Expo, Michael Chambliss, Head of Engineering at ReadyTalk, will discuss why and how ReadyTalk diverted from healthy revenue and over a decade of audio conferencing product development to start an innovati...
For basic one-to-one voice or video calling solutions, WebRTC has proven to be a very powerful technology. Although WebRTC’s core functionality is to provide secure, real-time p2p media streaming, leveraging native platform features and server-side components brings up new communication capabilities for web and native mobile applications, allowing for advanced multi-user use cases such as video broadcasting, conferencing, and media recording.
Large scale deployments present unique planning challenges, system commissioning hurdles between IT and OT and demand careful system hand-off orchestration. In his session at @ThingsExpo, Jeff Smith, Senior Director and a founding member of Incenergy, will discuss some of the key tactics to ensure delivery success based on his experience of the last two years deploying Industrial IoT systems across four continents.
There will be new vendors providing applications, middleware, and connected devices to support the thriving IoT ecosystem. This essentially means that electronic device manufacturers will also be in the software business. Many will be new to building embedded software or robust software. This creates an increased importance on software quality, particularly within the Industrial Internet of Things where business-critical applications are becoming dependent on products controlled by software. Qua...
"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...
SYS-CON Events has announced today that Roger Strukhoff has been named conference chair of Cloud Expo and @ThingsExpo 2016 Silicon Valley. The 19th Cloud Expo and 6th @ThingsExpo will take place on November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. "The Internet of Things brings trillions of dollars of opportunity to developers and enterprise IT, no matter how you measure it," stated Roger Strukhoff. "More importantly, it leverages the power of devices and the Interne...
The Internet of Things will challenge the status quo of how IT and development organizations operate. Or will it? Certainly the fog layer of IoT requires special insights about data ontology, security and transactional integrity. But the developmental challenges are the same: People, Process and Platform. In his session at @ThingsExpo, Craig Sproule, CEO of Metavine, demonstrated how to move beyond today's coding paradigm and shared the must-have mindsets for removing complexity from the develo...
SYS-CON Events announced today that MangoApps 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. MangoApps provides modern company intranets and team collaboration software, allowing workers to stay connected and productive from anywhere in the world and from any device.
The IETF draft standard for M2M certificates is a security solution specifically designed for the demanding needs of IoT/M2M applications. In his session at @ThingsExpo, Brian Romansky, VP of Strategic Technology at TrustPoint Innovation, explained how M2M certificates can efficiently enable confidentiality, integrity, and authenticity on highly constrained devices.
"We've discovered that after shows 80% if leads that people get, 80% of the conversations end up on the show floor, meaning people forget about it, people forget who they talk to, people forget that there are actual business opportunities to be had here so we try to help out and keep the conversations going," explained Jeff Mesnik, Founder and President of ContentMX, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
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.
When people aren’t talking about VMs and containers, they’re talking about serverless architecture. Serverless is about no maintenance. It means you are not worried about low-level infrastructural and operational details. An event-driven serverless platform is a great use case for IoT. In his session at @ThingsExpo, Animesh Singh, an STSM and Lead for IBM Cloud Platform and Infrastructure, will detail how to build a distributed serverless, polyglot, microservices framework using open source tec...
The 19th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Digital Transformation, 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 opportuni...