• Post Reply Bookmark Topic Watch Topic
  • New Topic

injecting a Stateful session bean in to servlet  RSS feed

 
Prannav Santhosh
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one explain me what happens when you inject a Stateful session bean in to a servlet ?

 
Ankit Garg
Sheriff
Posts: 9608
36
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well I suppose then all the requests to that servlet will share the same instance of the Bean and thus any state maintained by that bean will be shared among all the requests which can be problematic...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!