----- Original Message -----
From: "Zvika Markfeld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 15, 2002 3:10 PM
Subject: Re: why Servlet implements Serializable


> but the servlet's instance does not get destroyed between requests so
there
> isn't a real need for that, is there ?
> and in any case I've written servlet that was using threads once before I
> knew that isn't such a great practice and I never got a
> NotSerializableException.
> Do you mean to say that when a web server crashes and goes back up again,
it
> reloads the servlets state at the time of the failure? which Web server
you
> know of does something like that? pls. explain.
> zm.
>[...]



I don't know, I only find in jakarta-servletapi-4.zip, there is a
"Serialized Form", the following in from this form:

                                          Serialized Form
----------------------------------------------------------------------------
----
                                         Package javax.servlet
Class javax.servlet.GenericServlet implements Serializable
Class javax.servlet.ServletContextAttributeEvent implements Serializable

Serialized Fields
name
java.lang.String name
----------------------------------------------------------------------------
----
value
java.lang.Object value
[...]



Bo
Jan.15, 2002

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to