Re: [Resteasy-users] Get the produced JSON on the server side

2012-07-25 Thread Jean-François HEROUARD
Maybe look at org.jboss.resteasy.plugins.cache.server.ServerCacheInterceptor ? " implement a simple caching " : using already provided Resteasy JBoss Cache, or your own based on ehcache with disk overflow is not so hard and has great performance 2012/7/24 mickael.p...@gmail.com > Hi everyone,

Re: [Resteasy-users] Get the produced JSON on the server side

2012-07-24 Thread Bill Burke
javax.ws.rsProviders has a method to get a MessageBodyWriter from which you can manually create your json. That answer your question? On 7/24/12 11:40 AM, mickael.p...@gmail.com wrote: > Hi everyone, > > I use RESTEasy 2.3.4 to produce a JSON content from my POJOs (correctly > annotated with

[Resteasy-users] Get the produced JSON on the server side

2012-07-24 Thread mickael.p...@gmail.com
Hi everyone, I use RESTEasy 2.3.4 to produce a JSON content from my POJOs (correctly annotated with @XmlRootElement, etc.). The simple case where I use @GET and @Produces("application/json") to return a list of objects is working fine. Now, server-side, I need to implement a simple caching mechan