Re: [Resteasy-users] Pool for javax.ws.rs.client.Client objects?

2014-10-29 Thread Bill Burke
By default, Resteasy only allows one connection per Client. You have to use ResteadyClient(Builder) to expand this. Other than that, it should be threadsafe. Personally, I'd create the Client as an application-scoped CDI bean and inject it, or create one with SPring and inject it, or create o

[Resteasy-users] Use Resteasy server-side Cache

2014-10-29 Thread Frederic Eßer
Hello everyone, I develop a software which provides webservices on a tomcat. These webservices parse and display data from a 3rd website with JSOUP in XML or JSON format. Now I want to use the server-side caching to reduce the requests be made to these websites. The Project is managed with Mave

Re: [Resteasy-users] Use Resteasy server-side Cache

2014-10-29 Thread Bill Burke
Implementation was refactored and reimplemneted in 3.0: http://docs.jboss.org/resteasy/docs/3.0.9.Final/userguide/html/Cache_NoCache_CacheControl.html#server_cache On 10/29/2014 1:35 PM, Frederic Eßer wrote: > Hello everyone, > > I develop a software which provides webservices on a tomcat. These

Re: [Resteasy-users] Pool for javax.ws.rs.client.Client objects?

2014-10-29 Thread Savvas Andreas Moysidis
Great, thanks for the input Bill. On 29 October 2014 13:20, Bill Burke wrote: > By default, Resteasy only allows one connection per Client. You have to > use ResteadyClient(Builder) to expand this. Other than that, it should > be threadsafe. > > Personally, I'd create the Client as an applicat