Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX

 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From Wikipedia,
Despite the name, the use of JavaScript and XML is not actually required, nor do the requests need to be asynchronous


I am looking at DWR Ajax framework right now and it does use javascript. And If I disable the JS in browser, the application stops working.

I am bit confused.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That statement is misleading. You do need JavaScript enabled if you are using a JavaScript framework to make Ajax calls. If you need it to run without JavaScript, you need to go back to your classic postback model.

Eric
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Eric. So we can use the wikipedia information with little grain of salt.

If you need it to run without JavaScript, you need to go back to your classic postback model.

I think, nowadays, probably it's almost impossible to develop an Java EE application without javascript. In my case, postback model would create performance related issues.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well no JavaScript means they can suffer.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic