[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Using annotations - @Resource
|
Yes, I figured it would work, although it doesn’t…
Maybe I’me doing something wrong… don’t have a clue what.
However, context.lookup works...
/rp
> On 26 Feb 2015, at 05:48, Jan Bartel <janb@xxxxxxxxxxx> wrote:
>
> http://www.eclipse.org/jetty/documentation/current/using-annotations.html
>
> Jan
>
> On 26 February 2015 at 11:57, Carey Evans <carey@xxxxxxxxxxxxx> wrote:
>> On Thu, 26 Feb 2015, at 09:23, Rui Lopes wrote:
>>> Hi all!
>>>
>>> Are annotations such as @Resource possible to use?
>>
>> Jetty doesn't directly support CDI. You'd need to use something like
>> Weld. I've never used this with Jetty myself, but there's documentation
>> at
>> http://docs.jboss.org/weld/reference/latest/en-US/html/environments.html#_servlet_containers_such_as_tomcat_or_jetty.
>>
>> --
>> Carey Evans
>> carey@xxxxxxxxxxxxx
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
>
> --
> Jan Bartel <janb@xxxxxxxxxxx>
> www.webtide.com
> 'Expert Jetty/CometD developer,production,operations advice'
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
Attachment:
smime.p7s
Description: S/MIME cryptographic signature