wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Caching EJB3 remote references prevents pooling or not? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Caching EJB3 remote references prevents pooling or not?" Watch "Caching EJB3 remote references prevents pooling or not?" New topic
Author

Caching EJB3 remote references prevents pooling or not?

Shayan Shah
Greenhorn

Joined: Aug 28, 2009
Posts: 25
Hi

I have a client application that uses EJB3 beans by remote lookup. For performance reasons I cache the remote references in a map.
Now does this force the client application to always use the same EJB3 instance as same reference is used again and again or does EJB pooling still works and returns other instances from the pool for requests handling?
The application server I am using is JBoss 5.1.

thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Caching EJB3 remote references prevents pooling or not?
 
Similar Threads
Shutdown Hooks
Unable to access Local SLSB from app client
Problem referencing EJB in web application on Websphere
Doubt abt local and remote interfaces
Caching EJB3 remote references prevents pooling or not