Wow... that webparts project is awesome, this is probably one
of the most interesting projects I have stumbled upon in a long time...
Jesse Vitrone wrote:
Thanks Wendy, the SessionSize class is pretty handy.
It's dying on my usages of DataModel though, because it's not
serializable. I see that there's a _SerializableDataModel class in the
source code. I'm assuming that the underscore in front of that means
that it's not a class that I'm supposed to be using directly. Is there
a way for me to be using a DataModel that's serializable?
Thanks,
Jesse
Wendy Smoak wrote:
From: "Jesse Vitrone" <[EMAIL PROTECTED]> on MyFaces Discussion
I've googled this, but didn't find anything good. Is there a good way
to find out the size of the session? Check the size of the session,
then run through the app to get app my stuff in the session, then check
the size again?
Take a look at Frank Zammetti's "Java Web Parts" project; it has a
SessionSize class:
http://javawebparts.sourceforge.net/index.htm