File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes is Ajax really a new technology? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "is Ajax really a new technology?" Watch "is Ajax really a new technology?" New topic

is Ajax really a new technology?

Raghuram Srinivas

Joined: Jun 27, 2005
Posts: 4
How different is Ajax from the technology that is/was being used from a long time in websites like (e.g. http online chatting application
Barend Garvelink
Ranch Hand

Joined: Dec 07, 2004
Posts: 64
Depends on how works. If it uses a Shockwave Flash control or a Java applet, then Ajax is really quite different, being a pure-javascript solution requiring no plug-in to be installed. If it synchronises using a hidden iFrame, then Ajax is essentially a more convenient implementation of the same trick.
[ November 15, 2005: Message edited by: Barend Garvelink ]

SCJP 1.4, SCJD 1.4, SCWCD 1.3, ICSD:Websphere 5.1
Ramesh Shanmugam
Ranch Hand

Joined: Sep 13, 2004
Posts: 132
Hi Raghuram,

Ajax is a new technology that is being used in many sites now a day to improve the richness on the client side. Some examples like
when you compose a mail in Gmail or in Yahoo mail, in the TO address bar, if you type some letter (say a or b) then email address that starts with a or b that is stored in your address book gets displayed below the address bar.

This is nothing but a Asynchronous call to the Database and updating the DOM(Document Object Model) of the HTML page. So no need to refresh the page and to load all the Data.

Ramesh Shanmugam - SCJP 1.5
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
and to answer what you asked in the subject of this thread,
No, AJAX is not a new technology or say a "discovery of year 2005".
But yeah credit goes to Google, Yahoo for making it's presence felt recently in the technology world due to Gmail, yahoo mail, google earth etc.

- Varun
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
To also add that this is not a new technology and it really is not a technology but a new way to approach a web application. IE has had this in its browser for many versions and you can approach this same style of programming with iframes and pop up windows. The only thing that the XMLHttpRequest object gives us is a more reliable means to tranfer the information from the server layer to the client layer.

Rayudu addagarla
Ranch Hand

Joined: Aug 17, 2000
Posts: 39
I guess AJAX is not really a new technology.
Its just a different way of implementation.

Not that I am MS technology fan.
Microsoft-ASP had this XMLHTTPObject and using MSXmlParser We used to have similar stuff being done few years back also. post request using this and show in differnt IFrames.might be done with JSP also.
I feel AJAX has changed the way we can handle validation on forms.

Good luck for Certfication.
ryan headley
Ranch Hand

Joined: Jun 28, 2000
Posts: 156
I've already had the opportunity to work a bit with Ajax on some production applications. Lemme tell ya, its slicker than bull snot. (Sorry...javaranch, bulls, etc...)

Anyway, we used the tag-library called Ajaxtags and it made it really simple and totally worth checking out:

I only wish they had a similar tag library like this for PHP.

Ryan Headley<br /><a href="" target="_blank" rel="nofollow"></a>
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Ryan, there are a lot of other frameworks out there. You may want to look at this page which has tons of them listed:

Sapna Grover
Ranch Hand

Joined: Sep 27, 2002
Posts: 54
As several other folks mentioned that AJAX is not new technology. It is just a new name given to an old technology.
AJAX is basically XML, DHTML , JavaScript and XMLHttpRequest object.

It is amazing how XMLHttp was out for so many years and MicroSoft introduced it, but they didn't realize its power. It became popular only when Google stated building applications using it.

Now several other browsers are supporting the XMLHttpRequest object, every other web site is using it and there are lots of frameworks built on top of it.

Sapna Grover
I agree. Here's the link:
subject: is Ajax really a new technology?
It's not a secret anymore!