This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets" Watch "Servlets" New topic


Vin Gup

Joined: Aug 20, 2004
Posts: 1
Why a servlet implements serializable

Vineet Gupta<br />Tele Atlas, India<br />Noida
Jeff Walker
Ranch Hand

Joined: Apr 25, 2004
Posts: 116
Good question.

The GenericServlet abstract class does indeed implement Serializable.
I would hazard a guess and say to allow for servlets to be serialized by the web server. Perhaps one day we will see web servers clustered and spread across multiple JVMs and the servlets can then migrate between JVMs?
Jeff Walker
I agree. Here's the link:
subject: Servlets
Similar Threads
Downloading HTML page
Export in Excel
Un-downloadable Applets
WA #1.....word association
Capturing Form Data