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
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
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.
>
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