The moose likes HTML, CSS and JavaScript and the fly likes TO the authors : 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 "TO the authors : "request" object" Watch "TO the authors : "request" object" New topic

TO the authors : "request" object

Ram Gokul
Ranch Hand

Joined: Oct 07, 2005
Posts: 85
In AJAX , every call to Server consists of creating a "request" object (and some more ).
Who handles these objects with respect to initialzation , Garbage collection etc?

In Java we know that GC thread runs and collects the unused objects . In the browsers , is there any mechanism ?

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
JavaScript has garbage collection...(Not a good one, but it is there)

Rajan Chinna
Ranch Hand

Joined: Jul 01, 2004
Posts: 320

You mean to say GC happens at browser level too?
I agree. Here's the link:
subject: TO the authors : "request" object
jQuery in Action, 3rd edition