jsp and java beans

Posted by JRR on Stack Overflow See other posts from Stack Overflow or by JRR
Published on 2012-09-20T03:25:39Z Indexed on 2012/09/20 3:37 UTC
Read the original article Hit count: 149

I am building jsp pages hosted on tomcat and am wondering if the bean instances referenced in each jsp are stateless / stateful? How do those bean instances come about? Are they (re-)created each time when the page is visited? Do I need to worry about two different users visiting the same page at the same time and getting hold of the same bean instance?

In general I find the interaction between jsp and beans quite confusing so I'd appreciate if someone can refer a tutorial / explanation of those concepts. Thanks!

© Stack Overflow or respective owner

Related posts about jsp

Related posts about javabeans