It's not a secret anymore!
The moose likes HTML, CSS and JavaScript and the fly likes Beginner needs help with ajax 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 "Beginner needs help with ajax" Watch "Beginner needs help with ajax" New topic

Beginner needs help with ajax

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384

I have a basic jsf + ajax page as follows:

Because I test it in local and because the page is not that big, i get an instante response and it seems a partial reload was achieved instead of a full "web 1" reload. However I want to make sure this is the case. What would be a good way to do so?

Thanks in advance,

Julien Martin.

[edit]Eric - disabled smiles[/edit]
[ February 03, 2007: Message edited by: Eric Pascarello ]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
I run Ajax on a production server and I see responses in a happen in <500 milliseconds and I have responses that take a few seconds.

Yes it is not going to be as fast as localhost, but the same rules apply. Speed of connection, amount of traffic on the server, how far they are from the source, how much processing has to be done on the server, and how much time it takes to render.

I agree. Here's the link:
subject: Beginner needs help with ajax
It's not a secret anymore!