This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
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: 15379
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