aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes When the connection between Webserver and App server will release? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "When the connection between Webserver and App server will release?" Watch "When the connection between Webserver and App server will release?" New topic
Author

When the connection between Webserver and App server will release?

Sachin Dare
Greenhorn

Joined: May 04, 2004
Posts: 12
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: When the connection between Webserver and App server will release?