Re: [Resteasy-users] Scan vs Spring

2014-02-11 Thread Bill Burke
I wish we could get a Resteasy contributor who was a heavy user of Spring to sort these types of issues out. On 2/11/2014 3:14 AM, Jean-François HEROUARD wrote: > Mixing auto-scan may lead to misunderstanding for maintenance of code. I > agree scan should be possible, as long as you do not mix Sp

Re: [Resteasy-users] Scan vs Spring

2014-02-11 Thread Jean-François HEROUARD
Mixing auto-scan may lead to misunderstanding for maintenance of code. I agree scan should be possible, as long as you do not mix Spring features with Resteasy, especially bean lifecycle. Usually I inject business beans in resteasy WS using Spring IoC, @Autowired or @Inject annotations are ignored

Re: [Resteasy-users] Scan vs Spring

2014-02-07 Thread Bill Burke
Doesn't Spring have a scan facility? Use that. On 2/6/2014 2:41 PM, Anthony Whitford wrote: > I have a project that is using RestEasy -- there were 23 resources. > The project was using "resteasy.scan.resources=true" in the web.xml. > > Now, I added another resource. This time, we need Spring. >

Re: [Resteasy-users] Scan vs Spring

2014-02-06 Thread Weinan Li
Hi Anthony, Are you using Spring with WildFly? If so, I have two examples on it: https://github.com/liweinan/resteasy-spring-eap-integration If you are using RESTEasy Spring as standalone, then RESTEasy has provided an example: https://github.com/resteasy/Resteasy/tree/master/jaxrs/examples/r