File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Caching EJB3 remote references prevents pooling or not?

Shayan Shah
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic