Welcome!

Java IoT Authors: Liz McMillan, Yeshim Deniz, Elizabeth White, Zakia Bouachraoui, Pat Romanski

Related Topics: Java IoT, Industrial IoT

Java IoT: Article

Joe Winchester's Java Blog: Is the AJAX Bullet Coated in Fool's Silver?

AJAX is an odd beast, because it gives a very rich user experience when compared to a traditional Web page

Ajax is an odd beast, because it gives a very rich user experience when compared to a traditional web page (Yakov writes wonderfully about this at http://java.sys-con.com/read/163232.htm), however apart from that it’s hard to figure out what is so great about it.  Good technology wins in the long run because of tooling (something Microsoft know and excelt at), so what is the lure of Ajax ?  I think it’s simply that it allows logic be put in one file – in your HTML (or servlet, JSP, ASP or whatever kicks out HTML) you write your server logic and your client logic together.  They get versioned together, a single developer codes them in the same thought thread, and logic is organized in encapsulated way.  Fancier architectures with remote objects and clients talking to back ends often have almost parallel development processes requiring some kind of technical and process glue.

However, flashy Java script however has been done for a while – IBM Research used to have a neat project, now retired, called Sash that created very rich client GUIs with JavaScript, including its own cross platform SDK and WYSIWYG tooling.  The reasons Sash failed will surely be thrown in Ajax’s path – browser script incompatabilies with new releases and platforms, problems debugging and tuning applications, and so forth.

What worries me is that Microsoft have had active server pages for a long time now and .NET forms, where the server and client code just get written side by side.  You just brace your code with whether it’s VB script on the server or on the client, and you get a very rich experience.  You’re also proprietary to the Redmond machine though.

I view Ajax now as a dumbing down of things, because the delta between using Microsoft tooling and Ajax and some kind of J2EE one isn’t wide enough.  Microsoft tool their stuff better in the long run (they have lots of money and very clever dedicated people).  What we need to do for Java is to recognize the problem, which is basically that client server should be coded in a simple way (without multiple files and artefacts to manage to get a single functional task done), and that the client runtime experience should have nice async stuff that makes it not batch oriented.  However it should be richer than JavaScript – perhaps JDNC could step up with a set of async comms libraries, maybe Eclipse RPC could do it.  Java has a lot of big server clients, including eBay and others, who need to get to the next level of killer app to keep their client base as their competitors play catch up.  Java needs to be there, and it’s an opportunity we need to step up to and lead rather than follow.  It worries me the amount of cycles we’ve spent in the last few years dealing with old paths such as widget toolkit wars without having a good client server architecture that addresses the middle part of the equation rather than both ends and then gluing them.  We need a single file solution but, unlike say JSF, it must be one that doesn’t just spit out HTML or HTML + some magic spells for the browser, but one that spits out something that the client will interpret and create a fully fledged Java GUI that is super light, has good frameworks for using async protocols for validation and bleeding in data, and has first class tooling for.  My favourite for this would be some kind of cross between ULC (www.canoo.com/ulc), combined with a JNLP delivery or small OSGI runtime client components, and using SWT to get a lite client runtime and high fidelity user experience.

More Stories By Joe Winchester

Joe Winchester, Editor-in-Chief of Java Developer's Journal, was formerly JDJ's longtime Desktop Technologies Editor and is a software developer working on development tools for IBM in Hursley, UK.

Comments (2) 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
SYS-CON Australia News Desk 01/26/06 12:31:21 PM EST

Ajax is an odd beast, because it gives a very rich user experience when compared to a traditional web page (Yakov writes wonderfully about this at http://java.sys-con.com/read/163232.htm), however apart from that it?s hard to figure out what is so great about it. Good technology wins in the long run because of tooling (something Microsoft know and excelt at), so what is the lure of Ajax? I think it's simply that it allows logic be put in one file ? in your HTML (or servlet, JSP, ASP or whatever kicks out HTML) you write your server logic and your client logic together.

JDJ News Desk 01/26/06 12:07:09 PM EST

Ajax is an odd beast, because it gives a very rich user experience when compared to a traditional web page (Yakov writes wonderfully about this at http://java.sys-con.com/read/163232.htm), however apart from that it?s hard to figure out what is so great about it. Good technology wins in the long run because of tooling (something Microsoft know and excelt at), so what is the lure of Ajax? I think it?s simply that it allows logic be put in one file ? in your HTML (or servlet, JSP, ASP or whatever kicks out HTML) you write your server logic and your client logic together.

IoT & Smart Cities Stories
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear these words all day every day... lofty goals but how do we make it real? Add to that, that simply put, people don't like change. But what if we could implement and utilize these enterprise tools in a fast and "Non-Disruptive" way, enabling us to glean insights about our business, identify and reduce exposure, risk and liability, and secure business continuity?
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible. In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true ...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
DXWorldEXPO LLC announced today that "IoT Now" was named media sponsor of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. IoT Now explores the evolving opportunities and challenges facing CSPs, and it passes on some lessons learned from those who have taken the first steps in next-gen IoT services.