This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: When the connection between Webserver and App server will release?
 
Similar Threads
Pooling vs Instance Caches
getEJBObject in ejbCreate (stateless session bean)
Understanding the Pooled State in Entity Bean Life
Stateless session beans and Transactions
what is bean pool?