0 Replies Latest reply on Jun 2, 2007 2:01 AM by int2

    multithreaded proxy object in servlet

    int2

      Hi everyone,
      Sorry if my question is too noob to some of you.
      I have a servlet, in Init(), I intend to make an jndi request to an ejb in a cluster (suppose cluster X, the ejb is high availability across the cluster)
      I just wonder the proxy object from the jndi request is multithreaded or not ? I mean if there are a lot of http request to the servlet, and in each request I need to reuse the proxy object.
      If it's not multithreaded, what is your solution ? is it locking and release? or there's a better solution ?

      Thank you a lot
      Ben