Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Using annotations - @Resource

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'


Back to the top