krasserm / grails-jaxrs

JAX-RS Plugin for Grails
http://code.google.com/p/grails-jaxrs/
Apache License 2.0
50 stars 48 forks source link

JAX-RS resource scope #37

Closed confile closed 8 years ago

confile commented 10 years ago

When do you recommend to use your plugin in scope:

org.grails.jaxrs.resource.scope='singleton'
davidecavestro commented 10 years ago

Sorry, I really missed this issue. BTW I'd use it if I really have to maintain some state within the resource (but in that case the state could be probably put within a service instance) or if creating a new resource instance per request gives you too poor performance (but usually this is not the case).

budjb commented 8 years ago

This issue was moved to budjb/grails-jaxrs#8