Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When the connection between Webserver and App server will release?

 
Sachin Dare
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

My question is regarding the connection between Web server(Tomcat) and Application Server(JBoss).

Below is the situation -

On Tomcat server I have one Servlet and one service class. Service class delegates the request to EJB (which is on JBoss App server). On JBoss application server I have stateless session beans. Since its stateless session beans instances are already pooled. So, whenever I give the call from service class, one of the instances from pool will get assign.

Now my question is when the connection between Tomcat and JBoss will get released?
a. When instance gets back to pool?
b. When all the pooled instances are garbage collected by container?

Thanks in advance for your help.

Regards,
Sachin Dare.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic