Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Bean for JSP Servlet Session?

Peter Daly
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was reading through a Java book from Sun over the weekend, and am getting the impression that it is a suggested practice (although they did not come directly out and say it), that I should create a controller session bean, which is connected to a session object in the JSP/Servlet container for each web user.
Am I getting the right idea out of this? Seems to me like this would create a lot of server, and network overhead, decreasing scalability, not increasing it.
So, Session bean attached to and alive for the life of an http session? Yes? No? Why? Why not?
Thanks for any help,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic