File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes  caching the jndi call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark " caching the jndi call" Watch " caching the jndi call" New topic

caching the jndi call

red katz

Joined: Nov 19, 2009
Posts: 1
hi ,

i'm using in my web project ; ejb3 under jboss :

in my web project i call them like that

in my web project i implement this call in each of managed beans, which no an optimal solution

so i try to do a generic method ==>

i test with 2 class, so that the first one , fill the map and the second should find a a map with the key of the jndi name , but it never found it,

is never executed

and thanks
I agree. Here's the link:
subject: caching the jndi call
It's not a secret anymore!