Subj : can a scope (ScriptableObject) be serialized to disk in Rhino? To : netscape.public.mozilla.jseng From : Mark Turansky Date : Tue Jan 25 2005 12:16 pm when attempting to save (via ObjectOutputStream) a scope, I am getting this exception: java.io.NotSerializableException: org.mozilla.javascript.LazilyLoadedCtor I am growing a library of js code, which I know I can easily include in all my scripts via a shared scope. Instead, though, of executing all the scripts in the library against the shared scope during every invocation of my script runner, I'd like to be able to execute the library once, save that shared scope to disk, and retrieve it as the shared scope in my javascript runtime at startup. Is this possible given the exception above? thanks, Mark .