For interactive session viewing look at
http://messadmin.sourceforge.net/. It's not something I'd put on a
production server, but it is useful for testing.

-ed

On 5/25/06, Chaudhary, Harsh <[EMAIL PROTECTED]> wrote:
I just wrote the object to a file as a bit blob and looked at the file
size. But I needed something quick and dirty and not necessarily
extremely accurate.
Harsh.

-----Original Message-----
From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 12:16 AM
To: Struts Users Mailing List
Subject: Re: Object size in App Server


I can help with the session size at least:

http://javawebparts.sourceforge.net

Specifically, the SessionSize class:

http://javawebparts.sourceforge.net/javadocs/javawebparts/session/Sessio
nSize.html

I think you should be able to yank that code and and make it generic to
work with any Object (it must be serializable though), in which case you

  can get the size of a ResultSet too.

Frank

Hanmay Udgiri wrote:
> Hi
> I am getting a ResultSet from database.
> I want to get the size of the object in the App Server.
> Also I want to get the size of session object after the user is
validated
> and the user details are added to session.
>
> Thanks and Regards
> Hanmayya Udgiri
>

--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to