1 Reply Latest reply on Dec 13, 2002 12:53 PM by Juha Lindfors

    Are home interfaces thread safe

    Steve Buikhuizen Newbie

      Hello,

      I'm trying to determine the best way to save on jndi lookups for my servlets (ejb clients)

      I can cache the home interfaces in the client but I'm concerned that multithreaded use of these homes might be a problem. Can this be done?

      If they aren't thread safe, what the best solution. Pooling instead of caching the home interfaces maybe?

      I'm also curious to know how people do this inside an ejb container, or more specificcally is it necessary since jndi in the container is local and should be fast.