This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: Q: Serialization?
On 21 Mar 2001 11:58:41 -0500, brlewis@alum.mit.edu wrote:
> Ivan Toshkov <toshkov@crosswinds.net> writes:
>
> > So, the question is: what is serializable in kawa?
>
> This might help answer your question:
>
> (define (serializable? obj) (instance? obj <java.io.Serializable>))
>
> As you'll discover, closures don't claim to be serializable, but some
> procedures do.
>
> Lists claim to be serializable; of course that won't work if elements of
> the list are not serializable.
>
> I'll write up a quick really-serializable? predicate that tests an
> object by serializing/deserializing it.
>
> By the way, is this to store state in files or as "session objects"?
In the state of a servlet, for example. But, it shouldn't really matter,
should it?
>
> --
> Bruce R. Lewis http://brl.sourceforge.net/
>
--
Ivan Toshkov