Re: How to make ServiceBeans created by CXF Servlet to be in prototype or HTTP Session Scope

2010-06-21 Thread Balaji Sankar Chopparapu
Thanks Sergey for you quick reply. The "beanNames"attribute doenst work on Service Beans. Is this by design. Even in the example the "customerBean2,customerBean3" are not referred as service beans. Please suggest * * * *

Re: How to make ServiceBeans created by CXF Servlet to be in prototype or HTTP Session Scope

2010-06-17 Thread Sergey Beryozkin
Hi JAXRS module also ships prototypes aware factories : http://cxf.apache.org/docs/jax-rs.html#JAX-RS-Lifecyclemanagement cheers, Sergey On Thu, Jun 17, 2010 at 2:57 PM, Daniel Kulp wrote: > > > I believe the easiest way to do it is to just use the Spring AOP stuff and > set > the bookService

Re: How to make ServiceBeans created by CXF Servlet to be in prototype or HTTP Session Scope

2010-06-17 Thread Daniel Kulp
I believe the easiest way to do it is to just use the Spring AOP stuff and set the bookService bean to be scope=session. Spring will handle the rest. Dan On Thursday 17 June 2010 6:19:21 am Balaji Sankar Chopparapu wrote: > Hi, > > > > We Observed Servicebeans created by > "org.apache.cxf

How to make ServiceBeans created by CXF Servlet to be in prototype or HTTP Session Scope

2010-06-17 Thread Balaji Sankar Chopparapu
Hi, We Observed Servicebeans created by "org.apache.cxf.transport.servlet.CXFServlet” is always singleton. How can I change their scope to prototype or in best case HTTP Session Scope? Please Suggest. *WEB.xml:* CXFServlet CXF Servlet