I have a simple Servlet.
public class MyServlet extends HttpServlet
{
...
}
Do I need to implement Serializable
as well?
public class MyServlet extends HttpServlet implements Serializable
{
...
}
HttpServlet
already implements Serializable
. So, is it redundancy here?
What are the impacts if its implemented and if its not implemented?