Hi, A servlet's instance does not get serialized between requests or at any other time; therefore, there is no need for a servlet to implement the Serializable interface at any case. You may be confusing HttpSession objects, which may at certain times undergo serialization due to timeout or when deployed in clustered environment where client sessions need to exist on more than one Web machine for fault tolernce purposes. zm.
-----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Sujith Kumar Sent: Tuesday, January 15, 2002 1:57 PM To: [EMAIL PROTECTED] Subject: Re: why Servlet implements Serializable a servlet implements serializable in order to maintain persistence between requests. Please note that its not just the servlets that persist, so do the threads created by the servlets. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.Kindlesystems.com ********************************************************************** ___________________________________________________________________________ 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 ___________________________________________________________________________ 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
