Java - understanding servlets
- by Trup
I am working on a homework project that should implement a board game between 2 clients over an HttpServlet. I have couple of questions:
1) I read that HttpServlets must be stateless, however, for the sake of the game, I have to keep a lot of state(whose turn it is, the state of the board, etc). Do I have to keep this in the clients? Does the…