Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

When the connection between Webserver and App server will release?  RSS feed

Sachin Dare
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.

Sachin Dare.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!