• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Ajax and related queries

 
Ranch Hand
Posts: 237
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have the following queries pertaining to Ajax:

Can Ajax be considered as a technology platform or is it an architecture?

With so much dependence on JavaScript, isn't it walking on eggs? All the client has to do is disable JavaScript and the entire logic would go for a toss!

Thanks,
Saket
 
Author
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Saket

I would describe Ajax as an approach rather than a technology platform. It uses a range of existing technologies with a specific architecture and as you rightly point out, is highly dependent on JavaScript. I would share your concerns about users disabling JavaScript and preventing an entire application from working.

Cheers

Sas Jacobs
 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can I say Ajax is complete javascript and XML/text coding using XHR object? If I were to use Struts & Ajax I don't require any extra jar components specific to Ajax rite?
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your serverside page does not know the difference between a normal form submission post back and a request sent with the XMLHttpRequest Object. Plus you are not required to use XML. I personally use strings in my prodcution code.

So nothing new is required on the server (unless you use a 3rd party framework)

Eric
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!