Shashi Garje <SGarje_at_cccis.com> wrote:
> Hi
> We are considering putting JAXB un-marshalled objects in the HttpSession. I
> would like to know whether there is an overhead associated with these
> objects in terms of the memory they use as compared to a barebones Java
> bean style object with the same getters and setters ?
> If there is an overhead, what are the characteristics of this overhead:
>
> - is it a fixed amount per object (and each contained object recursively)
> - is it a percentage
The generated impl classes are just ordinary Java bean classes in terms
of memory usage. So I wouldn't expect that much memory use compared with
hand-written Java bean objects.
regards,
--
Kohsuke KAWAGUCHI 408-276-7063 (x17063)
Sun Microsystems kohsuke.kawaguchi_at_sun.com