aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes does AJAX eliminate the need of refresh ? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "does AJAX eliminate the need of refresh ?" Watch "does AJAX eliminate the need of refresh ?" New topic
Author

does AJAX eliminate the need of refresh ?

Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 235
Hi guys,

I need to do a page that has to constantly reload some data.
This page must inform the variations of stock exchanges.
The only solution that i have is constantly refresh the page using a simple javascript.
Can AJAX resolve this kind of requirements ?
If it can, is it simple to do if AJAX?

Regards


SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56233
    
  13

Yes, this is exactly the type of usage that AJAX is best for.

I'd hardly call AJAX a simple technology to use -- it requires a pretty good grasp of Javascript -- but it's not rocket science either.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 235
Thx Bear,

And talking about performance. Do you think that AJAX could decrease the overhead caused by contant refreshes when using a regular javascript ?

Regards,
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15357
    
    6
Ajax is only request the information you need and is not returning the entire page. The benifit you are going to get is that the page is not going to flash/freeze as you are refreshing the page. It will look more magical when the information is pulled from the server.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: does AJAX eliminate the need of refresh ?
 
Similar Threads
Refreshing Data Automatically
Populating dropdown menu based on another
populating one dropdown box depending on the value of other dropdown box
jsp and ajax
basic question about Ajax