0 Replies Latest reply on Nov 10, 2003 1:24 PM by dmacedo

    HomeImpl instance

    dmacedo Newbie


      A new HomeImpl instance is created each time in the container to receive the home.findByPrimaryKey() request.
      As such requests are stateless, one would expect the container to direct several of them (at least when they are serial and not in parallel) to only one instance of HomeImpl.
      But it's a container decision. The container is free to instantiate a pool of HomeImpl, or one HomeImpl for each request.

      The question is: Is there a way to avoid it? (a configuration?)