users@javaee-spec.java.net

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

From: Peter Pilgrim <peter.pilgrim_at_gmail.com>
Date: Tue, 13 Nov 2012 12:21:52 +0100

Hi All

Just a quick question, about this conversation.

Will running CdiContainer outside the container be standardise for Java EE 7?

If you have a Rich Client application running in JavaFX for example,
and you want to rely on @Local injection for speed, or perhaps what to
allow pluggable producers for remote connection @Produces, then do you
not think it would good to have CdiContainer working outside the
container as a standard? I am quite sure that developer will want to
way to know if there is standard way of using CDI and EE injection
outside of a container.

Cheers!

On 13 November 2012 10:43, Pete Muir <pmuir_at_bleepbleep.org.uk> wrote:
> Right, from my perspective as CDI spec lead, this is a mistake in the Java EE spec that was introduced when CDI was added to Java EE 6. The CDI spec unambiguously says that the Application Client Container is not required to be supported by CDI, and the CDI TCK does not test it.
>
> I'll raise this with the CDI EG and see if they want to support it or not. However, I would certainly vote no at this point. As I expressed, I would prefer to defer to CDI 2.0 when we define Java SE support - this then becomes an easy problem to solve.
>



-- 
Peter Pilgrim,
**Java Champion**,
Java EE Software Development / Design / Architect for financial
services, London, UK
====================================
::::   D E V O X X   2 0 1 2    ::::
====================================
JavaFX ++ Scala ++ Groovy ++  Android ++ Java
:: http://www.xenonique.co.uk/blog/  ::
:: http://twitter.com/peter_pilgrim ::
:: http://audio.fm/profile/peter_pilgrim  ::
:: Skype Call peter_pilgrim ::
:: http://java-champions.java.net/ ::