1 Reply Latest reply on Jun 24, 2009 4:43 AM by Richard Opalka

    Simple webservice : only one instance for all users

    Xavier Marquis Newbie

      Hi all,

      I'm a little new with JbossWS, so maybe the answer is trivial ...

      My web service seems to be stateless : does it mean that an object of my endpoint class is instanciated at each request ?

      But I'd like my webservice to keep the same endpoint class instance along all webservice lifetime ...

      Does anyone know
      how can I correctly prevent instanciation of my endpoint class at each request and keep the same since start deplyment to undeployment ?