This content has been marked as final.
Show 3 replies
-
1. Re: EJB Web Service Stateful?
gcoleman Jun 20, 2008 12:33 PM (in response to shaikbash)Stateless EJBs are only stateless in the sense that they're not associated with any particular client session.
The actual EJB instances can and will be pooled by the application server. -
2. Re: EJB Web Service Stateful?
shaikbash Jun 24, 2008 7:32 PM (in response to shaikbash)Thanks for the reply.
-
3. Re: EJB Web Service Stateful?
newman79 Jun 23, 2009 5:36 AM (in response to shaikbash)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 to create a webservice that keep some objects for all its life (like count in shaikbash's example).
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 ?