>>>>> On Thu, 09 Oct 2014 16:23:42 +0200, Michael Müller <michael.mueller_at_mueller-bruehl.de> said:
MM> What about @Inject vs. @resource to let CDI vs. JSF do the work?
I'd rather key it off the deployment descriptors as Manfred suggested.
MR> Use case #2 - New application wanting to use Servlet 4.0 / JSF 2.3
MR>
MR> 1. Required to either have a web.xml with version 4.0 or a
MR> WEB-INF/faces-config.xml stating version 2.3, as this will activate
MR> the new behavior.
>>>>> On Thu, 9 Oct 2014 17:01:33 +0200, arjan tijms <arjan.tijms_at_gmail.com> said:
AT> I always felt @resource is a bit of a confusing and too much overloaded
AT> annotation.
I have the same feeling, doing it that way would be confusing.
>>>>> On Thu, 9 Oct 2014 11:14:58 -0400, John Yeary <johnyeary_at_gmail.com> said:
JY> I would agree with Arjan on this. I think @resource is not explicitly
JY> clear. @Inject tells you exactly what is going to happen.
Ed
--
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 12 work days til Devoxx 2014