• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets

 
Vin Gup
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why a servlet implements serializable
 
Jeff Walker
Ranch Hand
Posts: 116
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ha!
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic