users@javaee-spec.java.net

[javaee-spec users] [jsr342-experts] Re: CDI in Application Client Container

From: Pete Muir <pmuir_at_bleepbleep.org.uk>
Date: Fri, 9 Nov 2012 12:48:33 +0100

I'm not an expert in the ACC, so would need a ACC expert who knows CDI to help us define the behavior. Interested Antonio?

On 9 Nov 2012, at 12:41, Antonio Goncalves wrote:

> Hi all,
>
> Correct me if I'm wrong but I haven't seen any discussion on this topic. In Java EE 6 CDI doesn't work in ACC. Wouldn't it be useful to add it in EE 7 ?
>
> A use case I'm working on at the moment is that I have a Java SE class (running in ACC) that injects a web service reference with @WebServiceRef. With CDI enabled I could produce this reference and just @Inject it.
>
> What do you think ?
>
> --
> Antonio Goncalves
> Software architect and Java Champion
>
> Web site | Twitter | LinkedIn | Paris JUG | Devoxx France