users@javaserverfaces-spec-public.java.net

[jsr372-experts mirror] Re: [jsr372-experts] Should _at_SessionScoped Beans Allow Injection of Resources

From: Mark Struberg <struberg_at_yahoo.de>
Date: Sun, 5 Apr 2015 22:31:30 +0200

> Am 05.04.2015 um 21:07 schrieb arjan tijms <arjan.tijms_at_gmail.com>:
>
> If this does not implement javax.enterprise.inject.spi.PassivationCapable (http://docs.oracle.com/javaee/7/api/javax/enterprise/inject/spi/PassivationCapable.html) then the injection in session scoped beans fails.
>

Yes, and that is simply a bug. There is nothing wrong with CDI in general, just a simple bug in Mojarra. Ed, feel free to ping me and I’ll explain. Or we sit together over a coffee next week and I help you fixing this.

LieGrue,
strub