wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "TO the authors : "request" object" Watch "TO the authors : "request" object" New topic
Author

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 ?

Thanks
Eric Pascarello
author
Rancher

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

Eric
Rajan Chinna
Ranch Hand

Joined: Jul 01, 2004
Posts: 320
Eric,

You mean to say GC happens at browser level too?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TO the authors : "request" object