Re: JAX-RS resource classes and thread-safety

2012-01-30 Thread Sergey Beryozkin
Hi On 30/01/12 10:24, Guy Pardon wrote: Hi, The JAXRS spec says that a new Resource object should be created for each request - is this the case in CXF? From what I understood, this is not what happens? If you use singleton resource classes then indeed a single instance is shared. The inj

JAX-RS resource classes and thread-safety

2012-01-30 Thread Guy Pardon
Hi, The JAXRS spec says that a new Resource object should be created for each request - is this the case in CXF? From what I understood, this is not what happens? Guy